aboutsummaryrefslogtreecommitdiff
path: root/vimrc-common
diff options
context:
space:
mode:
authorMax Christian Pohle2023-01-20 00:42:58 +0100
committerMax Christian Pohle2023-01-20 00:42:58 +0100
commit5ec73d44d6eddb9491311f633f4be6ef609768b6 (patch)
tree65202f3f49df82992bfc72443ebbe8455fb0a509 /vimrc-common
parent5107a24190ebf257b8abe3bf959a0c1b1e032e53 (diff)
downloadvim-5ec73d44d6eddb9491311f633f4be6ef609768b6.tar.bz2
vim-5ec73d44d6eddb9491311f633f4be6ef609768b6.zip
qol improvements
Diffstat (limited to 'vimrc-common')
-rw-r--r--vimrc-common19
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
16set modeline | " set variables specific to a file, like indentation by adding a comment (TODO: should probably be replaced by editorconfig) 16set modeline | " set variables specific to a file, like indentation by adding a comment (TODO: should probably be replaced by editorconfig)
17set ts=4 sts=4 sw=4 expandtab textwidth=0 | " better done with a modeline or local exrc 17set ts=4 sts=4 sw=4 expandtab textwidth=0 | " better done with a modeline or local exrc
18set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against 18set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against
19set number norelativenumber | " do not show numbers by default, because that causes a performance loss, instead activate them on a file type basis 19set nonumber norelativenumber | " do not show numbers by default, because that causes a performance loss, instead activate them on a file type basis
20set 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) 20set 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)
21set hlsearch incsearch | " highlight pattern while entering it (performance wise this isn't that good) 21set 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" ======================================================================================================================
107set breakindent | " Every wrapped line will continue visually indented 107set breakindent | " Every wrapped line will continue visually indented
108" set clipboard=unnamedplus | " makes copy and paste work (autoselectplus might work as well) 108set clipboard=unnamedplus | " makes copy and paste work (autoselectplus might work as well)
109set concealcursor=nc | " limits the display of concealed text to normal and command mode 109set concealcursor=nc | " limits the display of concealed text to normal and command mode
110set conceallevel=2 | " replace escaped chars by their UTF-8 representation (useful for LaTeX) 110set conceallevel=2 | " replace escaped chars by their UTF-8 representation (useful for LaTeX)
111set confirm | " asks 'do you want to save?' 111set confirm | " asks 'do you want to save?'
@@ -124,11 +124,16 @@ if has('nvim') " Neovim?
124endif 124endif
125 125
126if exists("g:neovide") 126if 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
132endif 137endif
133 138
134set pumheight=8 | " Determines the maximum number of items to show in the pop-up menu for 139set pumheight=8 | " Determines the maximum number of items to show in the pop-up menu for
..