diff options
author | tdro <tdro@users.noreply.github.com> | 2020-12-15 18:10:49 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-12-15 18:10:49 -0500 |
commit | 1c3e652601053701a01cbf81a738c4370ea8917a (patch) | |
tree | e2ca5f31cb90fe58438691e90134e037e75b705d /.vimrc | |
parent | 3adcbf13599d5d200c012ec5a4bb84f1f975be4e (diff) | |
download | dotfiles-1c3e652601053701a01cbf81a738c4370ea8917a.tar.gz dotfiles-1c3e652601053701a01cbf81a738c4370ea8917a.tar.bz2 dotfiles-1c3e652601053701a01cbf81a738c4370ea8917a.zip |
.vimrc: Echo last part of path only
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -352,7 +352,7 @@ augroup AutoCommands " Automatically save file on insert and idle. autocmd InsertLeave,CursorHold * silent! write \| silent! exe "!~/.vim/hooks/post-save > /dev/null 2>&1 &" - \| :echo @% '[filetype=' . &filetype . ']' + \| :echo expand('%:t') '[filetype=' . &filetype . ']' augroup END |