From 5ec73d44d6eddb9491311f633f4be6ef609768b6 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Fri, 20 Jan 2023 00:42:58 +0100 Subject: qol improvements --- vimrc-common | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'vimrc-common') 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 set modeline | " set variables specific to a file, like indentation by adding a comment (TODO: should probably be replaced by editorconfig) set ts=4 sts=4 sw=4 expandtab textwidth=0 | " better done with a modeline or local exrc set virtualedit=all | " virtual edit should be default behaviour, because I don't see any reason against -set number norelativenumber | " do not show numbers by default, because that causes a performance loss, instead activate them on a file type basis +set nonumber norelativenumber | " do not show numbers by default, because that causes a performance loss, instead activate them on a file type basis 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) set hlsearch incsearch | " highlight pattern while entering it (performance wise this isn't that good) " set cindent cinoptions+=(0 | " indent at parentheses @@ -105,7 +105,7 @@ end " SETTINGS: " ====================================================================================================================== set breakindent | " Every wrapped line will continue visually indented -" set clipboard=unnamedplus | " makes copy and paste work (autoselectplus might work as well) +set clipboard=unnamedplus | " makes copy and paste work (autoselectplus might work as well) set concealcursor=nc | " limits the display of concealed text to normal and command mode set conceallevel=2 | " replace escaped chars by their UTF-8 representation (useful for LaTeX) set confirm | " asks 'do you want to save?' @@ -124,11 +124,16 @@ if has('nvim') " Neovim? endif if exists("g:neovide") - set guifont=monospace:h11:b - let g:neovide_cursor_animation_length=0.03 - let g:neovide_cursor_trail_size=0.8 - let g:neovide_scroll_animation_length = 0.05 - let g:neovide_transparency = 0.9 + set guifont=monospace:h11:b + let g:neovide_cursor_animation_length=0 + let g:neovide_scroll_animation_length = 0.5 + let g:neovide_cursor_trail_size=0.8 + let g:neovide_cursor_vfx_mode = "" + let g:neovide_transparency = 0.9 + let g:neovide_floating_blur_amount_x = 4.0 + let g:neovide_floating_blur_amount_y = 4.0 + let g:neovide_background_color = '#383a62' + let g:neovide_scale_factor = 1.0 endif set pumheight=8 | " Determines the maximum number of items to show in the pop-up menu for -- cgit v1.2.3