X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=.vimrc;h=18181257d655b47d5d148e57b6679298f01ad058;hp=6f6a46296ce8f56bbaa0dfaf72c4db902bb611f2;hb=2166b1c513716fe707589c2c0845a2498b9480fa;hpb=164fe482fb8720ccca04c0cf2a696e867cbece67 diff --git a/.vimrc b/.vimrc index 6f6a462..1818125 100644 --- a/.vimrc +++ b/.vimrc @@ -38,6 +38,7 @@ behave xterm " 2 moving around, searching and patterns set ignorecase " Ignore case in search patterns +set noincsearch " No incremental searching set smartcase " Match 'word' case-insensitive and 'Word' case-sensitive set nostartofline " Keep cursor's column @@ -569,6 +570,9 @@ function! SlowTerm() set nowildmenu set wildmode=list:longest set viminfo=!,h,'10,<100,s5 + if has("iconv") + set viminfo^=c + endif syntax off highlight NonText cterm=NONE ctermfg=NONE endfunction @@ -588,7 +592,7 @@ endif " From Tip 212: -" http://vim.wikia.com/wiki/Setting_file_attributes_without_reloading_a_buffer +" http://vim.fandom.com/wiki/Setting_file_attributes_without_reloading_a_buffer if executable('chmod') function! SetExecutableBit(x) @@ -655,7 +659,7 @@ endif " Called automagically after every buffer read, enables fileencoding " setting from modeline (see Tip #911: -" http://vim.wikia.com/wiki/How_to_make_fileencoding_work_in_the_modeline) +" http://vim.fandom.com/wiki/How_to_make_fileencoding_work_in_the_modeline) function! AutoEncoding() if &modified && &fileencoding != "" call SetupEncoding(&fileencoding)