From 34b34b35d90d346f29ae1503869e46b1c3d04b49 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Thu, 10 Aug 2017 17:23:41 +0200 Subject: Some quick fixes, especially concerning margin handling --- vimrc-full | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vimrc-full') diff --git a/vimrc-full b/vimrc-full index 37d5ea8..1b9b1f5 100644 --- a/vimrc-full +++ b/vimrc-full @@ -45,7 +45,7 @@ set redrawtime=100 | " The time in milliseconds for redrawing the dis " set restorescreen | " restores the console after exiting vim " set shada+=n~/.vim/shada | " shada file to use set scrolljump=5 | " how many lines get scrolled into view when cursor reaches the screens edge -set scrolloff=999 | " keeps cursor centered +set scrolloff=3 | " keeps cursor centered set splitbelow | " open new windows below the current one (i find that more intuitive) set shiftround | " indent/unindent snaps to multiple of shiftwidths set shortmess+=I | " don't give the intro message when starting Vim |:intro|. @@ -53,7 +53,7 @@ set showcmd | " essential: show keys of combined commands in t set signcolumn=yes | " auto=auto hide, yes=always, no=never show the column with error indicators set showtabline=2 | " 0: never, 1: only if there are at least two tabs, 2:always set winwidth=30 | " keep NERDTreeWindow at least this size -set winminwidth=30 | " (and all other windows, so TODO: watch out) +set winminwidth=0 | " (and all other windows, so TODO: watch out) set tags+=../tags " set textwidth=100 | " line length (80 used to be default, but...) " set colorcolumn= | " not used, because we have a :match directive for textwidth @@ -509,6 +509,7 @@ if has("gui_running") set guioptions-=r | " do not show right scrollbar set winaltkeys=menu | " behave like other windows: ALT-key can be used to open the menu (and cannot be :remaped) set guifont=Dejavu\ Sans\ Mono\ for\ Powerline\ 10 + set guifont=Source\ Code\ Pro\ Semi-Bold\ 10 " set guifont=Droid\ Sans\ Mono\ for\ Powerline\ 12 " set selectmode=mouse,key,cmd | " enters vim's select mode when pressing shift-left or shift-END " set keymodel=startsel,stopsel | " makes shift-left, shift-right available for selecting text @@ -748,7 +749,7 @@ let g:netrw_preview = 0 | " let g:netrw_winsize = 20 | " window size in percent -highlight WordBold cterm=bold gui=bold +highlight WordBold ctermbg=LightYellow ctermfg=black cterm=bold gui=bold let w:m1 = 0 function! HighlightWordUnderCursor() if(exists('w:m1') && w:m1 > 0) -- cgit v1.2.3