This commit is contained in:
ManjaroOne666 2018-11-15 21:25:44 +00:00
parent 30d98db64d
commit 4003bd1f55
1 changed files with 9 additions and 3 deletions

12
vimrc
View File

@ -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 {{{