diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/.vimrc | 9 |
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 |