remove touble, vscode from neovim config
This commit is contained in:
parent
5299ae1e84
commit
4ac41e7765
1 changed files with 4 additions and 21 deletions
|
@ -55,9 +55,7 @@ call plug#end()
|
|||
syntax enable
|
||||
filetype plugin indent on
|
||||
|
||||
if !exists('g:vscode')
|
||||
colorscheme dracula
|
||||
endif
|
||||
|
||||
set number
|
||||
set relativenumber
|
||||
|
@ -82,13 +80,8 @@ nnoremap q; q:
|
|||
vnoremap ; :
|
||||
vnoremap q; q:
|
||||
|
||||
if exists('g:vscode')
|
||||
nnoremap <Leader>w :Write<CR>
|
||||
nnoremap <Leader>wq :Write<CR>:q<CR>
|
||||
else
|
||||
nnoremap <Leader>w :w<CR>
|
||||
nnoremap <Leader>wq :wq<CR>
|
||||
endif
|
||||
|
||||
nnoremap <Leader>q :q<CR>
|
||||
|
||||
|
@ -120,20 +113,10 @@ nnoremap <Leader>gf :Git fetch<CR>
|
|||
nnoremap <Leader>gr :Git rebase origin/main<CR>
|
||||
nnoremap <Leader>gb :Git checkout -b
|
||||
|
||||
if !exists('g:vscode')
|
||||
luafile ~/.config/nvim/lua/lsp-setup.lua
|
||||
endif
|
||||
|
||||
" 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 <Leader>o :only<CR>
|
||||
|
||||
" Terminal mode
|
||||
|
|
Loading…
Reference in a new issue