X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/6bdcde0655ded222e6ed9c50759754e4cc5ddc28..d33ea49d1448ad11cd946c4e316b4ffeba4506cb:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index a32bbe6..71c794b 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -57,7 +57,7 @@ map set incsearch " show match for partly typed search command set ignorecase " ignore case when using a search pattern set smartcase " override 'ignorecase' when pattern has upper case characters -set hlsearch " highlight all matches for the last used search pattern +set hlsearch " highlight all matches for the last used search pattern " use leader-n to unhighlight search nmap n :silent nohl @@ -97,6 +97,8 @@ set lazyredraw " don't redraw while executing macros set list " show chars defined in 'listchars' set listchars=tab:»·,trail:· " list of strings used for list mode +set listchars+=extends:⋯,precedes:⋯ +set sidescrolloff=1 " don't scroll over the listchars set number " show the line number for each line set relativenumber " show the relative line number for each line @@ -270,7 +272,7 @@ set directory=$XDG_CACHE_HOME/vim,.,/var/tmp " command line editing {{{1 set history=500 " how many command lines are remembered -set wildmode=longest:full " specifies how command line completion works +set wildmode=longest:full,full " specifies how command line completion works set wildmenu " command-line completion shows a list of matches " various {{{1