From 4dd682468bc3b5d2375637e082fb4f195f158c04 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Tue, 2 Sep 2008 16:17:33 +0200 Subject: Vim prêt pour le bépo ! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vimrc | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index b4ef3ab..ab31424 100644 --- a/vimrc +++ b/vimrc @@ -7,7 +7,6 @@ set bkc=no "Set improve Backspace set bs=2 - "Show the current edition mode on last line, number of column and line set showmode set ruler @@ -23,6 +22,8 @@ set ch=1 " Highlight search strings set hlsearch +" Incremental search +set incsearch " Hide mouse when typing set mousehide @@ -41,12 +42,17 @@ imap :cni " set default error format "set efm=\"%f\"\\,\ line\ %l:\ error\ %m,\"%f\"\\,\ line\ %l:\ warning\ %m +" remaps C-j & C-k to C-y and C-e +noremap +noremap + "Macros -map :Printcheader -map :Printfheader -map :Printhheader +map :source ~/.vim/bépo +"map :Printcheader +"map :Printfheader +"map :Printhheader map ^i/* $a */ -map ^3x$2h3x +map ^./\/\* 3x^./ \*\/3x " folding map :SwitchFoldState @@ -94,7 +100,6 @@ set noexpandtab map U yyp:s/[^ ]/-/g:noh map Q v/$\n\nJ:.!fmt -tcw78:noh -map A :!aspell -c %:e % " Function " Erase_Sig_but_Your() -- cgit v1.2.3