aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-14 11:21:46 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-14 11:21:46 +1200
commite5073155edd4fc8fa006ce35a060ddb41c32d17c (patch)
treec9c78478d145ab85c9bdd0cc81532b03f80a4149
parentMerge branch 'release/v4.26.0' into develop (diff)
downloaddotfiles-e5073155edd4fc8fa006ce35a060ddb41c32d17c.tar.gz
dotfiles-e5073155edd4fc8fa006ce35a060ddb41c32d17c.zip
Remove redundant :pwd from mapping
:cd prints the resulting directory as a side effect anyway.
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 48ebca1d..f0f0e476 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -299,7 +299,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>:pwd<CR>
+nnoremap <Leader>g :<C-U>cd %:h<CR>
" \h toggles highlighting search results
nnoremap <Leader>h :<C-U>set hlsearch! hlsearch?<CR>