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 | |
parent | 0904591145327fa2c6ca4d9bbe2b50ca6b60085a (diff) | |
download | vim-5107a24190ebf257b8abe3bf959a0c1b1e032e53.tar.bz2 vim-5107a24190ebf257b8abe3bf959a0c1b1e032e53.zip |
minor improvements
-rw-r--r-- | init.lua | 2 | ||||
m--------- | pack/nvim/start/nvim-cmp | 0 | ||||
m--------- | pack/nvim/start/nvim-lspconfig | 0 | ||||
m--------- | pack/nvim/start/nvim-vsnip | 0 | ||||
-rw-r--r-- | vimrc-common | 8 |
5 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | -- vim.cmd('source ~/.vim/vimrc') | 1 | vim.cmd('source ~/.vim/vimrc') |
2 | 2 | ||
3 | vim.o.termguicolors = true | 3 | vim.o.termguicolors = true |
4 | vim.o.exrc = true | 4 | vim.o.exrc = true |
diff --git a/pack/nvim/start/nvim-cmp b/pack/nvim/start/nvim-cmp | |||
Subproject 8bbaeda725d5db6e4e1be2867a64b43bf547cf0 | Subproject c49ad26e894e137e401b1d294948c46327877ea | ||
diff --git a/pack/nvim/start/nvim-lspconfig b/pack/nvim/start/nvim-lspconfig | |||
Subproject 973aa14d0992df82ff82f714d978a3eb8d67660 | Subproject 6b43ce561d97412cc512b569db6938e44529293 | ||
diff --git a/pack/nvim/start/nvim-vsnip b/pack/nvim/start/nvim-vsnip | |||
Subproject e44026b5394fd79aa0f2118aaf41627ef9c354e | Subproject 8dde8c0ef10bb1afdbb301e2bd7eb1c153dd558 | ||
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 |