From b90177ea5f437323b1ce88fe380ebd2bb10f2205 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Wed, 19 Nov 2025 21:18:11 +0100 Subject: [PATCH] nvim: fix background color to transparent, remove github copilot --- .config/nvim/init.vim | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a6892c9..24a73ef 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -25,12 +25,11 @@ Plug 'lervag/vimtex', { 'for': ['tex'] } Plug 'arcticicestudio/nord-vim' Plug 'rhysd/vim-grammarous' Plug 'jalvesaq/Nvim-R', {'branch': 'stable', 'for': ['r', 'R', 'Rmd', 'rmd']} -Plug 'luk400/vim-jukit' +"Plug 'luk400/vim-jukit' Plug 'David-Kunz/gen.nvim' Plug 'othree/html5.vim' Plug 'pangloss/vim-javascript' Plug 'evanleck/vim-svelte', {'branch': 'main'} -Plug 'github/copilot.vim', Plug 'nathangrigg/vim-beancount' call plug#end() @@ -38,7 +37,7 @@ let g:vimwiki_list = [{'path': '~/dox/notes/', 'index': 'Main'}] set title set bg=light -set go=a +"set go=a set mouse=a set nohlsearch set clipboard+=unnamedplus @@ -49,6 +48,13 @@ set noshowcmd set undofile colorscheme nord +" Use terminal background (transparent) +highlight Normal ctermbg=NONE guibg=NONE +highlight NonText ctermbg=NONE guibg=NONE +highlight LineNr ctermbg=NONE guibg=NONE +highlight SignColumn ctermbg=NONE guibg=NONE +highlight EndOfBuffer ctermbg=NONE guibg=NONE + " Some basics: nnoremap c "_c set nocompatible @@ -69,7 +75,8 @@ colorscheme nord " Goyo plugin makes text more readable when writing prose: map f :Goyo \| set bg=light \| set linebreak " Spell-check set to o, 'o' for 'orthography': - map o :setlocal spell! spelllang=en_us + map o :setlocal spell! spelllang=en_us:syntax on + map O :setlocal spell! spelllang=de_ch:syntax on " Splits open at the bottom and right, which is non-retarded, unlike vim defaults. set splitbelow splitright @@ -87,11 +94,6 @@ endfunction " Automatically compile RMarkdown on buffer write autocmd BufWritePost *.Rmd call CompileRMarkdown() -""" GitHub Copilot -" remap accept to instead of -imap