more mapping cleanup - avoid setting named mark

This commit is contained in:
Josh Holtrop 2012-12-08 11:30:50 -05:00
parent cf382407eb
commit a8b1ea7fde

9
vimrc
View File

@ -68,13 +68,12 @@ map <Leader>C# :set paste<CR>O<Esc>75A#<Esc>yypO# <Esc>:set nopaste<CR>A
map <Leader>c# :set paste<CR>o<Esc>75A#<Esc>yypO# <Esc>:set nopaste<CR>A
map <Leader>C* :set paste<CR>O/<Esc>74A*<Esc>o <Esc>73A*<Esc>A/<Esc>O * <Esc>:set nopaste<CR>A
map <Leader>c* :set paste<CR>o/<Esc>74A*<Esc>o <Esc>73A*<Esc>A/<Esc>O * <Esc>:set nopaste<CR>A
map <Leader>; :set paste<CR>O;<Esc>74A*<Esc>o;*<Esc>72A <Esc>A*<Esc>o;<Esc>74A*<Esc>0klll:set nopaste<CR>R
map <Leader>8 :set paste<CR>o<Esc>20A-<Esc>A8<<Esc>20A-<Esc>:set nopaste<CR>0
map <Leader>m mz:%s/<C-Q><CR>//g<CR>:noh<CR>`z
map <Leader>c; :set paste<CR>O;<Esc>74A*<Esc>o;*<Esc>72A <Esc>A*<Esc>o;<Esc>74A*<Esc>0klll:set nopaste<CR>R
map <Leader>c8 :set paste<CR>o<Esc>20A-<Esc>A8<<Esc>20A-<Esc>:set nopaste<CR>0
map <Leader>m m`:%s/<C-Q><CR>//g<CR>:noh<CR>``
map <Leader>t :tabn<CR>
map <Leader>T :tabp<CR>
map <Leader>s mz:%s/\v\s+$//<CR>`z
map <Leader>f :set ts=8<CR>:retab<CR>:set ts=4<CR>
map <Leader>s m`:%s/\v\s+$//<CR>``
" jump to tag in a new tab
map <Leader>w :tab :tag <C-R><C-W><CR>
" re-indent the following line how vim would automatically do it