You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoke autoload functions instead of custom commands
Pull request #31: #31
Ingo's explanation (which I completely agree with):
Some people using the :Session... alternatives may :delcommand the
original commands; in that case, the invocations by the script would
fail. Prevent this error by invoking the autoload functions directly;
this also obsoletes the need for fnameescape().
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,6 +148,8 @@ When this option is enabled the session plug-in will define the following comman
148
148
149
149
The aliases support tab completion just like the real commands; they're exactly the same except for the names.
150
150
151
+
When you enable the aliases, the default command names will still be available. If you really don't like them, feel free to delete them using [:delcommand][delcommand].
152
+
151
153
### The `g:loaded_session` option
152
154
153
155
This variable isn't really an option but if you want to avoid loading the `session.vim` plug-in you can set this variable to any value in your [vimrc script][vimrc]:
@@ -274,7 +276,9 @@ Here's an example session script generated by the `session.vim` plug-in while I
0 commit comments