aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-17 00:32:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-17 00:32:02 +1200
commit9c64c576beb4a02fc997de5b9cf6efd5f2bc60e9 (patch)
tree6b682f4e0d21de5925bb3bed43fd198ccb7172ad
parentdee655bcc173409726f5a15b4df7497738a39865 (diff)
downloaddotfiles-9c64c576beb4a02fc997de5b9cf6efd5f2bc60e9.tar.gz
Use <Bar> in multi-command mapping
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index eeb468ff..af19fa51 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -288,7 +288,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<Bar>pwd<CR>
" \h toggles highlighting search results
nnoremap <Leader>h :<C-U>set hlsearch! hlsearch?<CR>