From cdab24d9e98bbb78da9002a57b348d749e46c76b Mon Sep 17 00:00:00 2001 From: Matan Nassau Date: Thu, 16 May 2019 16:40:58 -0400 Subject: [PATCH] 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. --- Global/Vim.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/Global/Vim.gitignore b/Global/Vim.gitignore index 741518ff..3dc461ab 100644 --- a/Global/Vim.gitignore +++ b/Global/Vim.gitignore @@ -7,6 +7,7 @@ # Session Session.vim +Sessionx.vim # Temporary .netrwhist -- 2.39.5