From de3f1bd764b182133cfe9ba9a065ed8dfebf8508 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Wed, 22 Aug 2007 10:05:42 +0000 Subject: [PATCH] Added cinoptions. Added Q/ mapping to clear search. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@66 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 6bb850d..3396ecd 100644 --- a/.vimrc +++ b/.vimrc @@ -39,6 +39,7 @@ se laststatus=2 " Use C indent style. se cindent se cinkeys=0{,0},0),:,!^F,o,O,e +se cinoptions=b1,c2 " GUI options. se go=aglmr @@ -367,6 +368,8 @@ map Ql :call Cycle_List(): map Qn :call Cycle_Number(): " Toggle tags with Qt. map Qt :Tlist +" Clear search pattern with Q/. +map Q/ :let @/="": " Leaving Perl mode. fun! PerlMode_unmap() -- 2.7.4