summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-09-11 13:24:20 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-09-11 13:24:20 +0100
commiteecf7b8c552f03a15a37b0bd26e0550f3463baf7 (patch)
tree307929c5c7588df7e2cefa2787ad4d0cbd46ff6a /vim
parentc9e6b19648e8344d430d3322a8a3717595a390c3 (diff)
parent2d391edd4d38e024519718104962a0825478c26d (diff)
Merge branch 'master' of urbainvaes.com:public/dotfiles
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 79d3abd..0baab27 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -271,6 +271,8 @@ nnoremap cqc :cclose<cr>
nnoremap got :call system('urxvt -cd '.getcwd().' &')<cr>
nnoremap goT :call system('urxvt -cd '.expand("%:p:h").' &')<cr>
+nnoremap gof :call system('urxvt -e vifm '.expand("%:p:h").' '.expand("%:p:h").' &')<cr>
+nnoremap goF :call system('urxvt -e vifm '.expand("%:p:h").' '.expand("%:p:h").' &')<cr>
nnoremap <LocalLeader>h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp,<CR>
nnoremap Y y$