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
|
syntax enable
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
if !exists('g:vscode')
|
colorscheme dracula
|
||||||
colorscheme dracula
|
|
||||||
endif
|
|
||||||
|
|
||||||
set number
|
set number
|
||||||
set relativenumber
|
set relativenumber
|
||||||
|
@ -82,13 +80,8 @@ nnoremap q; q:
|
||||||
vnoremap ; :
|
vnoremap ; :
|
||||||
vnoremap q; q:
|
vnoremap q; q:
|
||||||
|
|
||||||
if exists('g:vscode')
|
nnoremap <Leader>w :w<CR>
|
||||||
nnoremap <Leader>w :Write<CR>
|
nnoremap <Leader>wq :wq<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>
|
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>gr :Git rebase origin/main<CR>
|
||||||
nnoremap <Leader>gb :Git checkout -b
|
nnoremap <Leader>gb :Git checkout -b
|
||||||
|
|
||||||
if !exists('g:vscode')
|
luafile ~/.config/nvim/lua/lsp-setup.lua
|
||||||
luafile ~/.config/nvim/lua/lsp-setup.lua
|
|
||||||
endif
|
|
||||||
|
|
||||||
" lua require('gitsigns').setup()
|
" 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>
|
nnoremap <Leader>o :only<CR>
|
||||||
|
|
||||||
" Terminal mode
|
" Terminal mode
|
||||||
|
|
Loading…
Reference in a new issue