From 69d878b09a2c1aa8d3373a311cd5945e0a430045 Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Sun, 23 Jul 2017 16:39:58 -0600 Subject: Change commenter regex to place slashes closer to code --- base/.vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'base') diff --git a/base/.vimrc b/base/.vimrc index 9265ad0..4e3858a 100644 --- a/base/.vimrc +++ b/base/.vimrc @@ -138,8 +138,8 @@ nnoremap q gqip nnoremap vp V`] nnoremap h :syntax sync fromstart -noremap + :s/^/\/\//:noh -noremap - :s/^\/\///:noh +noremap + :s/^\s*/&\/\//:noh +noremap - :s/^\(\s*\)\/\//\1/:noh vnoremap Q gq nnoremap Q gqap -- cgit v1.2.3-70-g09d2