diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-15 13:24:31 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-15 13:24:31 +1200 |
commit | efda0db46ab80d1a78a838885274cc606c3fa5e4 (patch) | |
tree | 9ec1f0596b569966df659520730a64482600a2c5 | |
parent | Use consistent version support specification (diff) | |
download | dotfiles-efda0db46ab80d1a78a838885274cc606c3fa5e4.tar.gz dotfiles-efda0db46ab80d1a78a838885274cc606c3fa5e4.zip |
Revert "Remove redundant :pwd from mapping"
This reverts commit e5073155edd4fc8fa006ce35a060ddb41c32d17c.
The :cd command doesn't seem to print the current directory, at least
not consistently. It might be version-dependent. Using :pwd after the
change ensures it will be displayed.
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -279,7 +279,7 @@ nnoremap <Leader>f :<C-U>setlocal formatoptions?<CR> nnoremap <Leader>F :<C-U>doautocmd filetypedetect BufRead<CR> " \g changes directory to the current file's location -nnoremap <Leader>g :<C-U>cd %:h<CR> +nnoremap <Leader>g :<C-U>cd %:h<CR>:pwd<CR> " \h toggles highlighting search results nnoremap <Leader>h :<C-U>set hlsearch! hlsearch?<CR> |