From eac0f1c0d14a9c3ac33cefb8eed82fe6f6ea9849 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 2 Oct 2019 11:49:11 +0200 Subject: Include vim configuration --- .vim/leaderkeys.vim | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .vim/leaderkeys.vim (limited to '.vim/leaderkeys.vim') diff --git a/.vim/leaderkeys.vim b/.vim/leaderkeys.vim new file mode 100644 index 0000000..1848eb4 --- /dev/null +++ b/.vim/leaderkeys.vim @@ -0,0 +1,24 @@ +" set leader to space +let mapleader="\" + +" file exploring +nmap ff :Explore +nmap fn :Sexplore +nmap ft :Texplore + +" buffer switching +nmap ww w +nmap wh h +nmap wj j +nmap wk k +nmap wl l + +" building software +nmap cc :w:make + +" CtrlP +nmap bb :CtrlPBuffer +nmap fp :CtrlP + +" PDV +nnoremap dg :call pdv#DocumentWithSnip() -- cgit v1.1