From 2d391edd4d38e024519718104962a0825478c26d Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sat, 10 Sep 2016 22:51:35 +0100 Subject: [vim] Add mappings to open vifm --- vim/.vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 25a5cbe..4c937ff 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -270,6 +270,8 @@ nnoremap cqc :cclose nnoremap got :call system('urxvt -cd '.getcwd().' &') nnoremap goT :call system('urxvt -cd '.expand("%:p:h").' &') +nnoremap gof :call system('urxvt -e vifm '.expand("%:p:h").' '.expand("%:p:h").' &') +nnoremap goF :call system('urxvt -e vifm '.expand("%:p:h").' '.expand("%:p:h").' &') nnoremap h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp, nnoremap Y y$ -- cgit v1.2.3