summaryrefslogtreecommitdiff
path: root/neovim/.config/nvim
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2022-03-08 09:54:59 +0000
committerrafa_99 <raroma09@gmail.com>2022-03-08 09:54:59 +0000
commit92db883a0fb0337e1a206fa945d71004ac2119e8 (patch)
tree9187194fa5ed15c55eba2cfb5ca16b2e496de54b /neovim/.config/nvim
parent572733f18a09ab8145305389805f42255ea454c4 (diff)
Updated vim configs and added connman_dmenu script
Diffstat (limited to 'neovim/.config/nvim')
-rw-r--r--neovim/.config/nvim/confs/bufferline.vim5
-rw-r--r--neovim/.config/nvim/confs/generic.vim2
-rw-r--r--neovim/.config/nvim/confs/taglist.vim3
-rw-r--r--neovim/.config/nvim/init.vim4
4 files changed, 11 insertions, 3 deletions
diff --git a/neovim/.config/nvim/confs/bufferline.vim b/neovim/.config/nvim/confs/bufferline.vim
index c8f243f..f36098c 100644
--- a/neovim/.config/nvim/confs/bufferline.vim
+++ b/neovim/.config/nvim/confs/bufferline.vim
@@ -27,5 +27,6 @@ lua << EOF
}
EOF
-nnoremap <silent>[b :BufferLineCycleNext<CR>
-nnoremap <silent>b] :BufferLineCyclePrev<CR>
+nnoremap <leader>. :BufferLineCycleNext<CR>
+nnoremap <leader>, :BufferLineCyclePrev<CR>
+nnoremap <leader>w :bd<CR>
diff --git a/neovim/.config/nvim/confs/generic.vim b/neovim/.config/nvim/confs/generic.vim
index 7cd4027..2642814 100644
--- a/neovim/.config/nvim/confs/generic.vim
+++ b/neovim/.config/nvim/confs/generic.vim
@@ -16,7 +16,7 @@ set termguicolors
set completeopt=menuone,noselect
" Leader Key
-let mapleader=","
+let mapleader="/"
" Remove trailing whitespace on save
autocmd BufWritePre * %s/\s\+$//e
diff --git a/neovim/.config/nvim/confs/taglist.vim b/neovim/.config/nvim/confs/taglist.vim
new file mode 100644
index 0000000..139e663
--- /dev/null
+++ b/neovim/.config/nvim/confs/taglist.vim
@@ -0,0 +1,3 @@
+map <leader>t :TlistToggle<CR>
+
+let Tlist_Use_Right_Window = 1
diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim
index 35619ca..e72f9c5 100644
--- a/neovim/.config/nvim/init.vim
+++ b/neovim/.config/nvim/init.vim
@@ -35,6 +35,8 @@ Plug 'RRethy/vim-illuminate'
Plug 'RRethy/vim-hexokinase'
" AutoPairs
Plug 'jiangmiao/auto-pairs'
+" TagList
+Plug 'vim-scripts/taglist.vim'
call plug#end()
@@ -61,3 +63,5 @@ source ~/.config/nvim/confs/whichkey.vim
source ~/.config/nvim/confs/bufferline.vim
" Hexokinase
source ~/.config/nvim/confs/hexokinase.vim
+" Taglist
+source ~/.config/nvim/confs/taglist.vim