Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the last session extra scripts still printed on __SessionList__ #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liming01
Copy link

@liming01 liming01 commented Apr 7, 2017

This PR fixed session with extra scripts, the last file can not be filtered. Below is the sample:

The files:

➜  [/Users/gpadmin/.vim/sessions] ls
hawq2            hawq2x.vim       postgres         postgres-xl      postgres-xlx.vim postgresx.vim

The session list window shows as below:

  1 "-----------------------------------------------------
  2 " q                        - close session list
  3 " o, <CR>, <2-LeftMouse>   - open session
  4 " d                        - delete session
  5 " e                        - edit session
  6 " x                        - edit extra session script
  7 "-----------------------------------------------------
  8
  9 hawq2
 10 postgres
 11 postgres-xl
 12 postgresx.vim

We need to filter the last item which is a session extra script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant