From f3e0ffe177b03dc0d0dc2a02fe4c0d37d2b6bfda Mon Sep 17 00:00:00 2001 From: Alexander Kiryukhin Date: Wed, 23 Mar 2022 12:47:03 +0300 Subject: vim --- nvim/init.vim | 36 ++++++++++++++++++++++++++++++++---- nvim/nvim | 1 - 2 files changed, 32 insertions(+), 5 deletions(-) delete mode 120000 nvim/nvim (limited to 'nvim') diff --git a/nvim/init.vim b/nvim/init.vim index 5b93952..c5665d7 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -72,9 +72,33 @@ Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } Plug 'junegunn/fzf.vim' Plug 'crusoexia/vim-monokai' Plug 'projekt0n/github-nvim-theme' -call plug#end() +Plug 'neovim/nvim-lspconfig' +Plug 'nvim-treesitter/nvim-treesitter' + +Plug 'mfussenegger/nvim-dap' +Plug 'rcarriga/nvim-dap-ui' +Plug 'theHamsta/nvim-dap-virtual-text' +Plug 'ray-x/guihua.lua' " float term, codeaction and codelens gui support -set number relativenumber +Plug 'ray-x/go.nvim' +call plug#end() +lua < -nmap ] :bnext -nmap [ :bprevious +nmap :bnext +nmap :bprevious nmap bq :bp bd # nmap bl :ls nmap 0 :set invnumber @@ -175,3 +199,7 @@ nmap 0 :set invnumber " http://stackoverflow.com/questions/7513380/vim-change-x-function-to-delete-buffer-instead-of-save-quit cnoreabbrev x getcmdtype() == ":" && getcmdline() == 'x' ? 'bd' : 'x' +nmap :wincmd k +nmap :wincmd j +nmap :wincmd h +nmap :wincmd l diff --git a/nvim/nvim b/nvim/nvim deleted file mode 120000 index f767680..0000000 --- a/nvim/nvim +++ /dev/null @@ -1 +0,0 @@ -/Users/neonxp/dev/dotfiles/nvim \ No newline at end of file -- cgit v1.2.3