update
This commit is contained in:
parent
30d98db64d
commit
4003bd1f55
12
vimrc
12
vimrc
|
@ -112,7 +112,7 @@ Plug 'tpope/vim-surround'
|
||||||
"}}}
|
"}}}
|
||||||
" #undotree {{{
|
" #undotree {{{
|
||||||
Plug 'mbbill/undotree'
|
Plug 'mbbill/undotree'
|
||||||
|
nnoremap <space>ut :UndotreeToggle<cr>
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #Ctrlp {{{
|
" #Ctrlp {{{
|
||||||
|
@ -961,9 +961,8 @@ set foldtext=MyFoldText()
|
||||||
" #mappings {{{
|
" #mappings {{{
|
||||||
let g:mapleader = ' '
|
let g:mapleader = ' '
|
||||||
|
|
||||||
nnoremap <space>ut :UndotreeToggle<cr>
|
|
||||||
|
|
||||||
" miscallaneous {{{
|
" miscallaneous {{{
|
||||||
|
nnoremap 0 ^
|
||||||
nnoremap : :setlocal norelativenumber<CR>:
|
nnoremap : :setlocal norelativenumber<CR>:
|
||||||
nnoremap <silent> <space>rc :so $MYVIMRC<CR>
|
nnoremap <silent> <space>rc :so $MYVIMRC<CR>
|
||||||
nnoremap <silent> <space>nn :set invrelativenumber<CR>
|
nnoremap <silent> <space>nn :set invrelativenumber<CR>
|
||||||
|
@ -1071,6 +1070,13 @@ inoremap '; '';<Left><Left>
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
|
"}}}
|
||||||
|
" working_with_underscores{{{
|
||||||
|
nnoremap <space>w f_l
|
||||||
|
nnoremap <space>b hT_
|
||||||
|
nnoremap <space>e lt_
|
||||||
|
onoremap u t_
|
||||||
|
onoremap U f_
|
||||||
"}}}
|
"}}}
|
||||||
"----------------------------------------------------------------------------}}}
|
"----------------------------------------------------------------------------}}}
|
||||||
" #abbreviations {{{
|
" #abbreviations {{{
|
||||||
|
|
Loading…
Reference in New Issue