some random settings
This commit is contained in:
parent
4a8028dce7
commit
7b86b027e2
1 changed files with 6 additions and 1 deletions
7
.vimrc
7
.vimrc
|
@ -81,6 +81,7 @@ set wildmenu
|
|||
set term=screen-256color
|
||||
set autoread
|
||||
set lazyredraw
|
||||
set history=250
|
||||
|
||||
" tabs and line wrap
|
||||
set tabstop=4
|
||||
|
@ -121,6 +122,10 @@ nnoremap <leader>g za
|
|||
" auto reload .vimrc on write
|
||||
autocmd BufWritePost .vimrc source %
|
||||
|
||||
" ex command
|
||||
cnoremap <C-p> <Up>
|
||||
cnoremap <C-n> <Down>
|
||||
|
||||
" toggle hybrid number mode
|
||||
nnoremap <leader>h :set rnu!<CR>
|
||||
:augroup numbertoggle
|
||||
|
@ -270,7 +275,7 @@ nnoremap <space>p :lprevious<CR>
|
|||
" Trigger configuration
|
||||
let g:UltiSnipsExpandTrigger="<tab>"
|
||||
let g:UltiSnipsJumpForwardTrigger="<tab>"
|
||||
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
|
||||
let g:UltiSnipsJumpBackwardTrigger="<C-tab>"
|
||||
|
||||
" If you want :UltiSnipsEdit to split your window.
|
||||
let g:UltiSnipsEditSplit="vertical"
|
||||
|
|
Loading…
Add table
Reference in a new issue