From 8f350dc3287ae78643fe2711065254e7042b9c8a Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Tue, 10 Jul 2018 23:02:09 +0200 Subject: Added preview window function from the help improved man pager integration improved fonts for gvim --- vimrc-full | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'vimrc-full') diff --git a/vimrc-full b/vimrc-full index f0bcea8..2c86fa2 100644 --- a/vimrc-full +++ b/vimrc-full @@ -164,10 +164,12 @@ if has("gui_running") " its possible to define alternative fonts (order matters) - set guifont=Hasklug\ Nerd\ Font\ Mono\ Semi-Bold\ 10 + set guifont=Monospace\ 10 + set guifont+=Noto\ Sans\ Mono\ Bold + set guifont+=Noto\ Sans\ Mono\ Bold + set guifont+=Hasklug\ Nerd\ Font\ Mono\ Semi-Bold\ 10 set guifont+=Hasklig\ Semi-Bold\ 10 set guifont+=Bitstream\ Vera\ Sans\ Mono\ 10 - set guifont+=Monospace\ 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 @@ -915,6 +917,11 @@ command BuffersToArg :exec ':args '.join(map(range(0, bufnr('$')), 'fnameescape( command BufToArg :argadd %:. command Gbranch call setqflist([], 'r', {'title':'Git branch selector','items':map(systemlist("git branch"), {_, p->{'filename':'branch','module': fnamemodify(p, ':.')}})}) +" the following command opens a preview-window and shows the declaration of +" the function under the cursor. It also highlights the word to make it easier +" to spot within a great file +command Helpme au! CursorHold * nested let @/=expand('')|exe "silent! psearch ".expand("") + "======================================================================================================================= call plug#end() | " all plugins are getting loaded on this line, don't remove! -- cgit v1.2.3