diff options
author | Max Christian Pohle | 2023-01-20 00:42:58 +0100 |
---|---|---|
committer | Max Christian Pohle | 2023-01-20 00:42:58 +0100 |
commit | 5ec73d44d6eddb9491311f633f4be6ef609768b6 (patch) | |
tree | 65202f3f49df82992bfc72443ebbe8455fb0a509 /vimrc-common | |
parent | 5107a24190ebf257b8abe3bf959a0c1b1e032e53 (diff) | |
download | vim-5ec73d44d6eddb9491311f633f4be6ef609768b6.tar.bz2 vim-5ec73d44d6eddb9491311f633f4be6ef609768b6.zip |
qol improvements
Diffstat (limited to 'vimrc-common')
-rw-r--r-- | vimrc-common | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/vimrc-common b/vimrc-common index 03daedd..f650dad 100644 --- a/vimrc-common +++ b/vimrc-common | |||
@@ -16,7 +16,7 @@ set noexrc | " exrc was nice, but has too many se | |||
16 | set modeline | " set variables specific to a file, like indentation by adding a comment (TODO: should probably be replaced by editorconfig) | 16 | set modeline | " set variables specific to a file, like indentation by adding a comment (TODO: should probably be replaced by editorconfig) |
17 | set ts=4 sts=4 sw=4 expandtab textwidth=0 | " better done with a modeline or local exrc | 17 | set ts=4 sts=4 sw=4 expandtab textwidth=0 | " better done with a modeline or local exrc |
18 | set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against | 18 | set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against |
19 | set number norelativenumber | " do not show numbers by default, because that causes a performance loss, instead activate them on a file type basis | 19 | set nonumber norelativenumber | " do not show numbers by default, because that causes a performance loss, instead activate them on a file type basis |
20 | set ignorecase smartcase | " search with ignore case by default, but use case sensitive search when one capital char is contained and highlight while typing (even though its slower) | 20 | set ignorecase smartcase | " search with ignore case by default, but use case sensitive search when one capital char is contained and highlight while typing (even though its slower) |
21 | set hlsearch incsearch | " highlight pattern while entering it (performance wise this isn't that good) | 21 | set hlsearch incsearch | " highlight pattern while entering it (performance wise this isn't that good) |
22 | " set cindent cinoptions+=(0 | " indent at parentheses | 22 | " set cindent cinoptions+=(0 | " indent at parentheses |
@@ -105,7 +105,7 @@ end | |||
105 | " SETTINGS: | 105 | " SETTINGS: |
106 | " ====================================================================================================================== | 106 | " ====================================================================================================================== |
107 | set breakindent | " Every wrapped line will continue visually indented | 107 | set breakindent | " Every wrapped line will continue visually indented |
108 | " set clipboard=unnamedplus | " makes copy and paste work (autoselectplus might work as well) | 108 | set clipboard=unnamedplus | " makes copy and paste work (autoselectplus might work as well) |
109 | set concealcursor=nc | " limits the display of concealed text to normal and command mode | 109 | set concealcursor=nc | " limits the display of concealed text to normal and command mode |
110 | set conceallevel=2 | " replace escaped chars by their UTF-8 representation (useful for LaTeX) | 110 | set conceallevel=2 | " replace escaped chars by their UTF-8 representation (useful for LaTeX) |
111 | set confirm | " asks 'do you want to save?' | 111 | set confirm | " asks 'do you want to save?' |
@@ -124,11 +124,16 @@ if has('nvim') " Neovim? | |||
124 | endif | 124 | endif |
125 | 125 | ||
126 | if exists("g:neovide") | 126 | if exists("g:neovide") |
127 | set guifont=monospace:h11:b | 127 | set guifont=monospace:h11:b |
128 | let g:neovide_cursor_animation_length=0.03 | 128 | let g:neovide_cursor_animation_length=0 |
129 | let g:neovide_cursor_trail_size=0.8 | 129 | let g:neovide_scroll_animation_length = 0.5 |
130 | let g:neovide_scroll_animation_length = 0.05 | 130 | let g:neovide_cursor_trail_size=0.8 |
131 | let g:neovide_transparency = 0.9 | 131 | let g:neovide_cursor_vfx_mode = "" |
132 | let g:neovide_transparency = 0.9 | ||
133 | let g:neovide_floating_blur_amount_x = 4.0 | ||
134 | let g:neovide_floating_blur_amount_y = 4.0 | ||
135 | let g:neovide_background_color = '#383a62' | ||
136 | let g:neovide_scale_factor = 1.0 | ||
132 | endif | 137 | endif |
133 | 138 | ||
134 | set pumheight=8 | " Determines the maximum number of items to show in the pop-up menu for | 139 | set pumheight=8 | " Determines the maximum number of items to show in the pop-up menu for |