X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=database%2Fconfiguration%2Fvim%2Fdotvimrc;fp=database%2Fconfiguration%2Fvim%2Fdotvimrc;h=b271fa5b6b71dd12cf3882fd5dc6ecdd8762a952;hb=44278f4c4d73b7839dbc294817dcafd90d7450d0;hp=52786909d85c534a588efd5ed5e85f9adffbdfb3;hpb=542b1ed191f9f8ff002f9a3cffbdaf4bb17479b5;p=feisty_meow.git diff --git a/database/configuration/vim/dotvimrc b/database/configuration/vim/dotvimrc index 52786909..b271fa5b 100644 --- a/database/configuration/vim/dotvimrc +++ b/database/configuration/vim/dotvimrc @@ -1,17 +1,30 @@ -set viminfo='100,<1000,s10,h " cranks up the register saved buffer size to 1000 lines, since otherwise the cut buffer will only " preserve the default 50 lines for a paste to another file. this makes all registers go up to " this size though, so if you save to a lot of different ones, you will use more space in your " viminfo file. +set viminfo='100,<1000,s10,h -set nobk " tells vim not to make a backup of the file before editing it; this is living dangerously. +set nobk -set nocompatible " nocompatible|nocp turns off compatibility mode, allowing filename completion. +set nocompatible -colorscheme elflord " elflord just happens to be the color scheme i prefer. there are a bunch. +colorscheme elflord +" map the normal copy, cut and paste keys (ctrl-c, ctrl-x & ctrl-v) for vim. +nmap "+gP +imap i +vmap "+y +vmap "+c +" map ctrl-a to select all of the file. ctrl-i increments, whatever that is. +noremap +noremap gggHG +inoremap gggHG +cnoremap gggHG +onoremap gggHG +snoremap gggHG +xnoremap ggVG