vim: tweak parameters to be more responsive

This commit is contained in:
Robert Kmiec
2019-07-22 10:28:57 +02:00
committed by Robert Kmiec
parent d37e0999dd
commit 7c146d1068

32
.vimrc
View File

@@ -146,7 +146,7 @@ set smartcase
set gdefault
set incsearch
set showmatch
set matchtime=3
"set matchtime=3
set hlsearch
nnoremap <leader><space> :noh<cr>
@@ -204,7 +204,7 @@ set wildignore+=migrations "Django migrations"
set wildignore+=*.pyc "Python Object codes"
set wildignore+=*.orig "Merge resolution files"
match Error /\s\+$\|DUPA\c/
match Error /\s\+$\|DU\cPA/
" Removing scrollbars
if has("gui_running")
@@ -214,7 +214,7 @@ if has("gui_running")
set guioptions-=L
set guioptions+=a
set guioptions-=m
colorscheme molokai
colorscheme alduin
set listchars=tab:▸\ ,eol" Invisibles using the Textmate style
else
colorscheme badwolf
@@ -224,6 +224,7 @@ else
set list
hi clear SpellBad
hi SpellBad cterm=underline
hi Normal ctermbg=None
endif
if &term =~ '256color'
@@ -361,7 +362,7 @@ endfunction
" Folding - space one line, home,end globally increase/decrease
set foldenable
set foldlevelstart=3
set foldlevelstart=999
set foldnestmax=5
set foldtext=FoldFormat()
set fillchars=fold:\
@@ -379,7 +380,7 @@ let b:jiracomplete_password = 'password'
" We can also use v:val.menu
let b:jiracomplete_format = '"[". v:val.abbr. "]"'
set updatetime=4000
set updatetime=100
" From C.vim:
" ADDITIONAL MAPPING : complete a classical C comment: '/*' => '/* | */'
@@ -402,7 +403,7 @@ let g:ctrlp_working_path_mode = 'rw'
tnoremap <Esc> <C-W><C-W>
set spell
set nospell
set runtimepath+=/usr/share/vim/vimfiles
set spelllang=en,pl
" Dictionary path, from which the words are being looked up.
@@ -412,11 +413,11 @@ set dictionary+=/usr/share/dict/words
"set showbreak=++
"let g:rtagsRcCmd='rtags-rc'
set timeoutlen=1000
set ttimeout
set ttimeoutlen=0
let g:matchparen_timeout = 2
let g:matchparen_insert_timeout = 2
"set timeoutlen=1000
"set ttimeout
"set ttimeoutlen=0
"let g:matchparen_timeout = 2
"let g:matchparen_insert_timeout = 2
" Mapping to NERDTree
"nnoremap <C-n> :NERDTreeToggle<cr>
@@ -471,6 +472,15 @@ nnoremap <F6> :call FindAlternate()<CR>
"let g:alternateSearchPath="sfr:../source,sfr:../src,sfr:../include,sfr:../inc,sfr:./Source,sfr:.."
"map <F6> :call CurtineIncSw()<CR>
" taken from tpope
setglobal complete-=i
setglobal virtualedit=block
setglobal shiftround
if has('folding')
setglobal foldopen+=jump
endif
packadd termdebug
let g:startify_custom_header = ''