Browse Source

vim: add extra session file Sessionx.vim (#3058)

from vim's documentation on `:mksession` (:help :mksession):

 ...

 10. If a file exists with the same name as the Session file, but ending
     in "x.vim" (for eXtra), executes that as well.  You can use *x.vim
     files to specify additional settings and actions associated with a
     given Session, such as creating menu items in the GUI version.

we already have Session.vim ignored.  the Sessionx.vim file, like
Session.vim, is a user file.  a user would generally want that file kept
private or for themselves, and the public or a team fetching from or
sharing the repository generally have no interest in a file relevant
only to a particular user.  so it's a good idea to get git to help us
avoid mistakenly sharing the file.
pull/3060/head
Matan Nassau 5 years ago
parent
commit
cdab24d9e9
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Global/Vim.gitignore

+ 1
- 0
Global/Vim.gitignore View File

@@ -7,6 +7,7 @@

# Session
Session.vim
Sessionx.vim

# Temporary
.netrwhist

Loading…
Cancel
Save