Remove filename expansion from buffer object

This has long haunted me as a particularly egregious design, as
expansion of "%" is always respective to the current buffer.
This commit is contained in:
Tim Pope
2018-07-31 19:44:03 -04:00
parent c85980cd93
commit c1d2fc1a19
2 changed files with 59 additions and 43 deletions

View File

@@ -333,8 +333,8 @@ Makefile The file named Makefile in the work tree
:Makefile The file named Makefile in the index (writable)
@:% The current file in HEAD
- The current file in HEAD
^ The current file in the previous commit
~3 The current file 3 commits ago
-^ The current file in the previous commit
-~3 The current file 3 commits ago
: .git/index (Same as |:Gstatus|)
:% The current file in the index
:1:% The current file's common ancestor during a conflict