mirror of
https://github.com/amix/vimrc
synced 2025-02-28 14:12:51 +08:00
mapping $t to <>
This commit is contained in:
parent
54afb04f5b
commit
e823d9b40a
@ -12,8 +12,8 @@ let g:solarized_italic=0 " 1 | 0
|
|||||||
" let g:solarized_bold=0
|
" let g:solarized_bold=0
|
||||||
" let g:solarized_underline=0
|
" let g:solarized_underline=0
|
||||||
|
|
||||||
set background=light " dark
|
set background=dark " dark
|
||||||
:colorscheme solarized " ir_black mayansmoke
|
:colorscheme solarized " solarized ir_black mayansmoke
|
||||||
|
|
||||||
" syntastic
|
" syntastic
|
||||||
set statusline+=%#warningmsg#
|
set statusline+=%#warningmsg#
|
||||||
@ -92,6 +92,7 @@ set guioptions-=T
|
|||||||
" 删除文件时自动删除文件对应 buffer
|
" 删除文件时自动删除文件对应 buffer
|
||||||
let NERDTreeAutoDeleteBuffer=1
|
let NERDTreeAutoDeleteBuffer=1
|
||||||
" map ALT-n ALT-p to :lnext :lprevious
|
" map ALT-n ALT-p to :lnext :lprevious
|
||||||
|
" Mac 下不可用
|
||||||
map <M-n> :lnext<cr>
|
map <M-n> :lnext<cr>
|
||||||
map <M-p> :lprevious<cr>
|
map <M-p> :lprevious<cr>
|
||||||
|
|
||||||
@ -126,3 +127,7 @@ augroup END
|
|||||||
if has('gui_running')
|
if has('gui_running')
|
||||||
set guifont=Lucida_Console:h12
|
set guifont=Lucida_Console:h12
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" map $t to <>
|
||||||
|
vnoremap $t <esc>`>a><esc>`<i<<esc>
|
||||||
|
inoremap $t <><esc>i
|
||||||
|
Loading…
Reference in New Issue
Block a user