1
0
Fork 0
mirror of synced 2024-09-28 13:37:00 -04:00

mapping $t to <>

This commit is contained in:
Tiande 2016-05-12 00:27:27 +08:00
parent 54afb04f5b
commit e823d9b40a
2 changed files with 8 additions and 2 deletions

View file

@ -12,8 +12,8 @@ let g:solarized_italic=0 " 1 | 0
" let g:solarized_bold=0
" let g:solarized_underline=0
set background=light " dark
:colorscheme solarized " ir_black mayansmoke
set background=dark " dark
:colorscheme solarized " solarized ir_black mayansmoke
" syntastic
set statusline+=%#warningmsg#
@ -92,6 +92,7 @@ set guioptions-=T
" 删除文件时自动删除文件对应 buffer
let NERDTreeAutoDeleteBuffer=1
" map ALT-n ALT-p to :lnext :lprevious
" Mac 下不可用
map <M-n> :lnext<cr>
map <M-p> :lprevious<cr>
@ -126,3 +127,7 @@ augroup END
if has('gui_running')
set guifont=Lucida_Console:h12
endif
" map $t to <>
vnoremap $t <esc>`>a><esc>`<i<<esc>
inoremap $t <><esc>i

View file

@ -310,6 +310,7 @@ $3 ==> {}
$$ ==> ""
$q ==> ''
$e ==> ""
$t ==> <>
和 S" 模式很像,可以自己再配置(,e),格式是:
vnoremap $1 <esc>`>a)<esc>`<i(<esc>