diff options
| author | Zofia Szweda <sophies@disroot.org> | 2026-09-09 12:16:54 +0200 |
|---|---|---|
| committer | Zofia Szweda <sophies@disroot.org> | 2026-09-09 12:16:54 +0200 |
| commit | e8adcc30469533430602fddbc59c8c0a59146568 (patch) | |
| tree | b63e183ae8c04a6f9bf0ea04ac920a4d27de6084 /vim/.vimrc | |
| parent | 26c77f7cb5e4caf78d4cf9a900f4815d9f1f3a68 (diff) | |
vim: add QOL options such as scrolloff and fix bugs
Diffstat (limited to 'vim/.vimrc')
| -rw-r--r-- | vim/.vimrc | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -26,6 +26,14 @@ filetype on filetype indent on filetype plugin on "set +set updatetime=300 +set completeopt=menuone,popup,noinsert,noselect +set scrolloff=5 " same as helix's scrolloff +set clipboard=unnamedplus +set splitright +set splitbelow +set confirm +set title set fileformat=unix set encoding=UTF-8 set number @@ -57,8 +65,7 @@ colorscheme flatwhite nnoremap <Space> <Nop> nnoremap <silent> <leader> :WhichKey '<Space>'<CR> inoremap <silent> <Esc> <Esc>l -nnoremap <leader>c "+y -vnoremap <leader>c "+y +inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" "let let g:ale_linters = { \'vim': ['vint'], @@ -98,7 +105,7 @@ augroup lsp autocmd User LspSetup call LspOptionsSet(#{ \ autoComplete: v:true, \ autoHighlightDiags: v:true, - \ noNewlineCompletion: v:true, + \ noNewlineInCompletion: v:true, \ formatFallback: v:false, \ }) |
