From f37240ed3093bb33733ba9d1f241be490d7129c2 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sat, 6 Nov 2021 09:00:28 +0100 Subject: add plugins --- nvim/init.vim | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'nvim') diff --git a/nvim/init.vim b/nvim/init.vim index 977d457..1eba57a 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -26,6 +26,8 @@ if has('nvim') Plug 'neovim/nvim-lspconfig' Plug 'ms-jpq/coq_nvim', {'branch': 'coq'} Plug 'ms-jpq/coq.artifacts', {'branch': 'artifacts'} + Plug 'kyazdani42/nvim-tree.lua' + Plug 'ray-x/lsp_signature.nvim' endif @@ -124,6 +126,9 @@ if has('nvim') let g:coq_settings = { 'auto_start': v:true } lua require('lsp_conf') + lua require'nvim-tree'.setup() + lua require "lsp_signature".setup() + colorscheme gruvbox else colorscheme miramare @@ -140,6 +145,12 @@ set nocompatible set showcmd " show commands at bottom + +" nvim-tree +let g:nvim_tree_quit_on_open = 1 +let g:nvim_tree_highlight_opened_files = 1 +nnoremap :NvimTreeToggle + " ------------ " MAPS " ----------- @@ -155,6 +166,7 @@ nnoremap rt :RainbowToggle " buffers nnoremap ]b :bnext nnoremap [b :bprev +nnoremap b Telescope buffers " tabs nnoremap ]t :tabn @@ -167,7 +179,6 @@ nnoremap o :only nnoremap ff Telescope find_files nnoremap fg Telescope live_grep -nnoremap fb Telescope buffers nnoremap fh Telescope help_tags nnoremap pa :set paste -- cgit v1.2.3-18-g5258