diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 9937448..f0f62c1 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -55,9 +55,7 @@ call plug#end() syntax enable filetype plugin indent on -if !exists('g:vscode') - colorscheme dracula -endif +colorscheme dracula set number set relativenumber @@ -82,13 +80,8 @@ nnoremap q; q: vnoremap ; : vnoremap q; q: -if exists('g:vscode') - nnoremap w :Write - nnoremap wq :Write:q -else - nnoremap w :w - nnoremap wq :wq -endif +nnoremap w :w +nnoremap wq :wq nnoremap q :q @@ -120,20 +113,10 @@ nnoremap gf :Git fetch nnoremap gr :Git rebase origin/main nnoremap gb :Git checkout -b -if !exists('g:vscode') - luafile ~/.config/nvim/lua/lsp-setup.lua -endif +luafile ~/.config/nvim/lua/lsp-setup.lua " lua require('gitsigns').setup() -lua << EOF - require("trouble").setup { - -- your configuration comes here - -- or leave it empty to use the default settings - -- refer to the configuration section below - } -EOF - nnoremap o :only " Terminal mode