X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.vimrc;h=de0715620972bad8a97cb6bcb5a4bdb696c4e5e1;hp=0ec05bd3d300c344be2cc2991cdf1b7ce45c4beb;hb=4964561935671e6bc834b90024070b4756795ff3;hpb=dd4ff46411042e4e3e9f3f18239837156e4acc1d diff --git a/.vimrc b/.vimrc index 0ec05bd..de07156 100644 --- a/.vimrc +++ b/.vimrc @@ -2,12 +2,6 @@ if !exists("g:_kratochvil_vimrc") let g:_kratochvil_vimrc=1 autocmd! filetypedetect -autocmd! gzip BufRead -autocmd! gzip BufWritePost -autocmd! gzip FileAppendPost -autocmd! gzip FileAppendPre -autocmd! gzip FileReadPost -autocmd! gzip FileWritePost "remove 'set tw=78': autocmd! BufRead *.txt @@ -41,7 +35,7 @@ function BufEnter() endfunction set encoding=utf-8 -set termencoding=iso-8859-2 +set termencoding=utf-8 " fileencoding is detected from fileencodings, first one for empty files set fileencodings=utf-8,iso-8859-2 @@ -55,7 +49,7 @@ set nowritebackup set exrc set nostartofline set nohlsearch -set fo=tcq +set fo=tcq1 set viminfo='100,\"1000,:100,/40 set tags=./tags,./TAGS,./../tags,./../TAGS,./../../tags,./../../TAGS,./../../../tags,./../../../TAGS,./../../../../tags,./../../../../TAGS,./../../../../../tags,./../../../../../TAGS,./../../../../../../tags,./../../../../../../TAGS,./../../../../../../../tags,./../../../../../../../TAGS,./../../../../../../../../tags,./../../../../../../../../TAGS,./../../../../../../../../../tags,./../../../../../../../../../TAGS,./../../../../../../../../../../tags,./../../../../../../../../../../TAGS,./../../../../../../../../../../../tags,./../../../../../../../../../../../TAGS,./reactos/tags,./../reactos/tags,./../../reactos/tags,,./../../../reactos/tags,./../../../../reactos/tags,./../../../../../reactos/tags,./../../../../../../reactos/tags,./w32/inc/tags,./../w32/inc/tags,./../../w32/inc/tags,,./../../../w32/inc/tags,./../../../../w32/inc/tags,./../../../../../w32/inc/tags,./../../../../../../w32/inc/tags,./../../../../../../../w32/inc/tags,/usr/src/redhat/BUILD/tags,/usr/src/redhat/BUILD/TAGS,/usr/include/tags,/usr/include/TAGS @@ -64,9 +58,9 @@ noremap l :set invlist paste? noremap q @q noremap : @: noremap N :nextzz -noremap B :cnzz noremap P :prevzz -noremap O :cpzz +noremap M :cnzz +noremap L :cpzz noremap g "myiw:grep-rw'm'. noremap zz noremap zz