aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorAdam Hovorka <[email protected]>2017-07-18 11:15:36 -0600
committerAdam Hovorka <[email protected]>2017-07-18 11:15:36 -0600
commitafca4b1906d99f9bd3949c9509c3ec06c09abbda (patch)
treefe04848d3c722e6de83d71d58a3004a72791766b /base
parent4d8da43b859e80fdaf005eb71394cac615f75146 (diff)
Rename conflicting commands, add block comment commands
Diffstat (limited to 'base')
-rw-r--r--base/.vimrc9
1 files changed, 6 insertions, 3 deletions
diff --git a/base/.vimrc b/base/.vimrc
index b8e83cc..9c83387 100644
--- a/base/.vimrc
+++ b/base/.vimrc
@@ -65,6 +65,7 @@ set ruler
set number
set relativenumber
set laststatus=2
+set shortmess=aoOstTWAI
set cursorline
"set showmode
set showcmd
@@ -129,14 +130,16 @@ nnoremap <silent> <leader>vs :so $MYVIMRC<CR>
nnoremap <F2> :set invpaste paste?<CR>
set pastetoggle=<F2>
-set showmode
nnoremap <leader>W :%s/\s\+$//<cr>:let @/=''<CR>
nnoremap <leader>ft Vatzf
nnoremap <leader>S ?{<CR>jV/^\s*\}?$<CR>k:sort<CR>:noh<CR>
nnoremap <leader>q gqip
-nnoremap <leader>v V`]
-nnoremap <leader>s :syntax sync fromstart<CR>
+nnoremap <leader>vp V`]
+nnoremap <leader>h :syntax sync fromstart<CR>
+
+noremap + :s/^/\/\//<CR>
+noremap - :s/^\/\///<CR>
vnoremap Q gq
nnoremap Q gqap