From f3df0006f5cfa5a311cf48eb56a66d8619f1bc35 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Mon, 15 Feb 2010 13:57:56 -0800 Subject: [PATCH] colin's auto-commenter: implement vim comments colin's auto-commenter: implement vim comments. Also spruce up the comment removal stuff a bit. --- .vimrc | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 5b879b0..a08a22f 100644 --- a/.vimrc +++ b/.vimrc @@ -47,6 +47,8 @@ set laststatus=2 "*************** colin's auto-commenter *************** map ,/ :s/^/\/\//:nohlsearch -map ,,/ :s/\/\///:nohlsearch +map ,,/ :s/^\/\///:nohlsearch map ,# :s/^/#/:nohlsearch -map ,,# :s/#//:nohlsearch +map ,,# :s/^#//:nohlsearch +map ," :s/^/\"/:nohlsearch +map ,," :s/^\"//:nohlsearch -- 1.6.6.rc1.39.g9a42