feature/evil: abbreviate :P filename modifier
This commit is contained in:
parent
e32a804f1d
commit
a71ca4d340
2 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ flags. See http://vimdoc.sourceforge.net/htmldoc/cmdline.html#filename-modifiers
|
|||
(unless global 1)))))
|
||||
("P"
|
||||
(let ((default-directory (file-name-directory (expand-file-name path))))
|
||||
(doom-project-root)))
|
||||
(abbreviate-file-name (doom-project-root))))
|
||||
(_ path))
|
||||
"")))
|
||||
;; strip trailing slash, if applicable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue