diff options
| author | Max Christian Pohle | 2023-01-02 15:27:37 +0100 |
|---|---|---|
| committer | Max Christian Pohle | 2023-01-02 15:27:37 +0100 |
| commit | 5107a24190ebf257b8abe3bf959a0c1b1e032e53 (patch) | |
| tree | 17d9274f355f2db67042147b364d095054388ff2 /vimrc-common | |
| parent | 0904591145327fa2c6ca4d9bbe2b50ca6b60085a (diff) | |
| download | vim-5107a24190ebf257b8abe3bf959a0c1b1e032e53.tar.bz2 vim-5107a24190ebf257b8abe3bf959a0c1b1e032e53.zip | |
minor improvements
Diffstat (limited to 'vimrc-common')
| -rw-r--r-- | vimrc-common | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vimrc-common b/vimrc-common index 6201d4b..03daedd 100644 --- a/vimrc-common +++ b/vimrc-common | |||
| @@ -123,6 +123,14 @@ if has('nvim') " Neovim? | |||
| 123 | set inccommand=nosplit | " preview substitute and such things in real time | 123 | set inccommand=nosplit | " preview substitute and such things in real time |
| 124 | endif | 124 | endif |
| 125 | 125 | ||
| 126 | if exists("g:neovide") | ||
| 127 | set guifont=monospace:h11:b | ||
| 128 | let g:neovide_cursor_animation_length=0.03 | ||
| 129 | let g:neovide_cursor_trail_size=0.8 | ||
| 130 | let g:neovide_scroll_animation_length = 0.05 | ||
| 131 | let g:neovide_transparency = 0.9 | ||
| 132 | endif | ||
| 133 | |||
| 126 | set pumheight=8 | " Determines the maximum number of items to show in the pop-up menu for | 134 | set pumheight=8 | " Determines the maximum number of items to show in the pop-up menu for |
| 127 | set scrolljump=4 | " how many lines get scrolled into view when cursor reaches the screens edge | 135 | set scrolljump=4 | " how many lines get scrolled into view when cursor reaches the screens edge |
| 128 | set scrolloff=4 | " keeps cursor centered | 136 | set scrolloff=4 | " keeps cursor centered |
