aboutsummaryrefslogtreecommitdiff
path: root/vimrc-full
diff options
context:
space:
mode:
authorMax Christian Pohle2018-07-10 23:02:09 +0200
committerMax Christian Pohle2018-07-10 23:02:09 +0200
commit8f350dc3287ae78643fe2711065254e7042b9c8a (patch)
tree9a2fdc50fa9ec3d693737141c0c50cc3c6f629a8 /vimrc-full
parent15fad7fd1701a16dfd1bf90854606a59473be09b (diff)
downloadvim-8f350dc3287ae78643fe2711065254e7042b9c8a.tar.bz2
vim-8f350dc3287ae78643fe2711065254e7042b9c8a.zip
Added preview window function from the help
improved man pager integration improved fonts for gvim
Diffstat (limited to 'vimrc-full')
-rw-r--r--vimrc-full11
1 files changed, 9 insertions, 2 deletions
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")
164 164
165 165
166 " its possible to define alternative fonts (order matters) 166 " its possible to define alternative fonts (order matters)
167 set guifont=Hasklug\ Nerd\ Font\ Mono\ Semi-Bold\ 10 167 set guifont=Monospace\ 10
168 set guifont+=Noto\ Sans\ Mono\ Bold
169 set guifont+=Noto\ Sans\ Mono\ Bold
170 set guifont+=Hasklug\ Nerd\ Font\ Mono\ Semi-Bold\ 10
168 set guifont+=Hasklig\ Semi-Bold\ 10 171 set guifont+=Hasklig\ Semi-Bold\ 10
169 set guifont+=Bitstream\ Vera\ Sans\ Mono\ 10 172 set guifont+=Bitstream\ Vera\ Sans\ Mono\ 10
170 set guifont+=Monospace\ 10
171 set guifont+=FuraMono\ Nerd\ Font\ Mono\ Medium\ 11 173 set guifont+=FuraMono\ Nerd\ Font\ Mono\ Medium\ 11
172 set guifont+=Source\ Code\ Pro\ for\ Powerline\ SemiBold\ 10 174 set guifont+=Source\ Code\ Pro\ for\ Powerline\ SemiBold\ 10
173 set guifont+=LiterationMono\ Nerd\ Font\ Mono\ 10 175 set guifont+=LiterationMono\ Nerd\ Font\ Mono\ 10
@@ -915,6 +917,11 @@ command BuffersToArg :exec ':args '.join(map(range(0, bufnr('$')), 'fnameescape(
915command BufToArg :argadd %:. 917command BufToArg :argadd %:.
916command Gbranch call setqflist([], 'r', {'title':'Git branch selector','items':map(systemlist("git branch"), {_, p->{'filename':'branch','module': fnamemodify(p, ':.')}})}) 918command Gbranch call setqflist([], 'r', {'title':'Git branch selector','items':map(systemlist("git branch"), {_, p->{'filename':'branch','module': fnamemodify(p, ':.')}})})
917 919
920" the following command opens a preview-window and shows the declaration of
921" the function under the cursor. It also highlights the word to make it easier
922" to spot within a great file
923command Helpme au! CursorHold * nested let @/=expand('<cword>')|exe "silent! psearch ".expand("<cword>")
924
918"======================================================================================================================= 925"=======================================================================================================================
919call plug#end() | " all plugins are getting loaded on this line, don't remove! 926call plug#end() | " all plugins are getting loaded on this line, don't remove!
920 927
..