From 236c2f9cb84103a245966f02082b499d9f7867fc Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 30 Oct 2017 17:28:23 +0100 Subject: Minor changes, mostly related to a clearer display --- vimrc-full | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'vimrc-full') diff --git a/vimrc-full b/vimrc-full index 982d8f9..9283f36 100644 --- a/vimrc-full +++ b/vimrc-full @@ -48,7 +48,7 @@ if has("multi_byte") set termencoding=&encoding | " once we use special chars we assume everybody uses a terminal supporting those set fillchars+=fold:\— | " - set fillchars+=vert:\│ | " cool vertical split char + set fillchars+=vert:\║ | " cool vertical split char set fillchars+=diff:\ | " a whitespace gets used here set listchars= | " initialize empty listchars @@ -157,6 +157,7 @@ if has("gui_running") " its possible to define alternative fonts (order matters) set guifont= + set guifont=Hasklug\ Nerd\ Font\ Mono\ Semi-Bold\ 10 set guifont+=FuraMono\ Nerd\ Font\ Mono\ Medium\ 11 set guifont+=Source\ Code\ Pro\ for\ Powerline\ SemiBold\ 10 set guifont+=LiterationMono\ Nerd\ Font\ Mono\ 10 @@ -188,6 +189,7 @@ set nostartofline | " when scrolling: do not move the cursor to colu set nowrap | " but do not (by default) wrap long lines around set nrformats+=alpha | " allows CTRL-A & CTRL-X to increment and decrement letters, not just numbers set path+=** | " allow recursive searches for files +set incsearch | " highlight pattern while entering it (performancewise this isn't that good) set pumheight=8 | " Determines the maximum number of items to show in the popup menu for set scrolljump=5 | " how many lines get scrolled into view when cursor reaches the screens edge set scrolloff=0 | " keeps cursor centered @@ -202,7 +204,7 @@ set nocursorcolumn | " turn visual cursor column off (improves perfor set updatetime=80 | " updates the screen more often set redrawtime=1000 | " Timeout in milliseconds for redrawing the screen (switches syntax off when ssh too slow) / CTRL+L to retry set notimeout | " improves performance but is known to cause problems on slow terminals -set ttimeout ttimeoutlen=50 | " set esc key timeout in ms- +set ttimeout ttimeoutlen=250 | " set esc key timeout in ms- set showcmd | " essential: show keys of combined commands in the lower right corner (BUT SLOW, makes cursor flickering) set showtabline=2 | " 0: never, 1: only if there are at least two tabs, 2:always set shortmess+=I | " don't give the intro message when starting Vim |:intro|. @@ -335,7 +337,7 @@ if has("autocmd") let l:currentword = escape(expand(''), '.') if(strlen(l:currentword) > 0) let w:m1=100 - silent! call matchadd('BoldItalic', '\<'.l:currentword.'\>', -1, w:m1) + silent! call matchadd('BoldUnderline', '\<'.l:currentword.'\>', -1, w:m1) endif endfunction autocmd! CursorHold,CursorHoldI * call HighlightWordUnderCursor() @@ -681,6 +683,7 @@ let NERDTreeHiddenFirst = 1 let NERDTreeMinimalUI = 1 let NERDTreeShowBookmarks = 1 | " show bookmarks by default (when opening for the first time) let NERDTreeWinSize = 40 +let NERDTreeQuitOnOpen = 1 " depending on if NERDTree has the focus: nnoremap @@ -973,12 +976,14 @@ function! ExtendColorTheme() highlight! link TabLine LineNr highlight! TabLineSel ctermbg=blue ctermfg=black highlight! link TabLineFill LineNr - highlight! Search ctermbg=LightYellow ctermfg=black + highlight! Search ctermbg=LightYellow ctermfg=black guibg=#fefd86 guifg=#222222 + highlight! link WildMenu Search " generic, which should exist but don't highlight! Bold cterm=bold gui=bold highlight! Italic cterm=italic gui=italic highlight! Underline cterm=underline gui=underline + highlight! BoldUnderline cterm=bold,underline gui=bold,underline highlight! BoldItalic cterm=Bold,Italic gui=Bold,Italic " make tab stop (see listchars) less disturbing... -- cgit v1.2.3