diff options
| author | Max Christian Pohle | 2018-07-10 23:02:09 +0200 |
|---|---|---|
| committer | Max Christian Pohle | 2018-07-10 23:02:09 +0200 |
| commit | 8f350dc3287ae78643fe2711065254e7042b9c8a (patch) | |
| tree | 9a2fdc50fa9ec3d693737141c0c50cc3c6f629a8 /vimrc-full | |
| parent | 15fad7fd1701a16dfd1bf90854606a59473be09b (diff) | |
| download | vim-karlmarks-8f350dc3287ae78643fe2711065254e7042b9c8a.tar.bz2 vim-karlmarks-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-full | 11 |
1 files changed, 9 insertions, 2 deletions
| @@ -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( | |||
| 915 | command BufToArg :argadd %:. | 917 | command BufToArg :argadd %:. |
| 916 | command Gbranch call setqflist([], 'r', {'title':'Git branch selector','items':map(systemlist("git branch"), {_, p->{'filename':'branch','module': fnamemodify(p, ':.')}})}) | 918 | command 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 | ||
| 923 | command Helpme au! CursorHold * nested let @/=expand('<cword>')|exe "silent! psearch ".expand("<cword>") | ||
| 924 | |||
| 918 | "======================================================================================================================= | 925 | "======================================================================================================================= |
| 919 | call plug#end() | " all plugins are getting loaded on this line, don't remove! | 926 | call plug#end() | " all plugins are getting loaded on this line, don't remove! |
| 920 | 927 | ||
