From 68c941406e06fe5fc89386d9c4ab20345c5e185b Mon Sep 17 00:00:00 2001 From: arobase-che Date: Sun, 10 Jan 2016 19:07:49 +0100 Subject: Init commit --- plugin/misc-bindings.vim | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 plugin/misc-bindings.vim (limited to 'plugin/misc-bindings.vim') diff --git a/plugin/misc-bindings.vim b/plugin/misc-bindings.vim new file mode 100755 index 0000000..4591fd9 --- /dev/null +++ b/plugin/misc-bindings.vim @@ -0,0 +1,38 @@ +" misc-bindings.vim +" Every miscellaneous key binding will go here. + +" << That stupid goddamned help key that you will invaribly hit constantly +" while aiming for escape >> -- Steve Losh +inoremap +vnoremap +nnoremap + +"inoremap l + +" << it's one less key to hit every time I want to save a file >> +" -- Steve Losh (again) +"nnoremap ; : +"vnoremap ; : + +" From Kalenz's Vim config. Life changing. +nnoremap + +" halfr personnal shortcurts +nnoremap \| v +nnoremap - s +nnoremap w + +" save +nnoremap :w +" save and quit +nnoremap :x + +nnoremap ! :tab sball + +nnoremap :make + +" I DONT WANT TO USE AN ENCRYPTION KEY +" http://stackoverflow.com/questions/3878692/aliasing-a-command-in-vim +" cnoreabbrev X ((getcmdtype() is# ':' && getcmdline() is# 'X')?('x'):('X')) + + -- cgit v1.2.3-54-g00ecf