more mapping cleanup - avoid setting named mark
This commit is contained in:
parent
cf382407eb
commit
a8b1ea7fde
9
vimrc
9
vimrc
@ -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>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>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>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>8 :set paste<CR>o<Esc>20A-<Esc>A8<<Esc>20A-<Esc>:set nopaste<CR>0
|
map <Leader>c8 :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>m m`:%s/<C-Q><CR>//g<CR>:noh<CR>``
|
||||||
map <Leader>t :tabn<CR>
|
map <Leader>t :tabn<CR>
|
||||||
map <Leader>T :tabp<CR>
|
map <Leader>T :tabp<CR>
|
||||||
map <Leader>s mz:%s/\v\s+$//<CR>`z
|
map <Leader>s m`:%s/\v\s+$//<CR>``
|
||||||
map <Leader>f :set ts=8<CR>:retab<CR>:set ts=4<CR>
|
|
||||||
" jump to tag in a new tab
|
" jump to tag in a new tab
|
||||||
map <Leader>w :tab :tag <C-R><C-W><CR>
|
map <Leader>w :tab :tag <C-R><C-W><CR>
|
||||||
" re-indent the following line how vim would automatically do it
|
" re-indent the following line how vim would automatically do it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user