From 3b7d90a91cf0fe741db29a128b697c1bb8d27bf0 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Sun, 4 Jul 2021 18:41:42 +0200 Subject: [PATCH 1/4] [nvim] Exchanged vim-airline for barbar.nvim --- nvim/dotfiles/plugins-list.vim | 2 ++ nvim/init.vim | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/nvim/dotfiles/plugins-list.vim b/nvim/dotfiles/plugins-list.vim index 3d1f3a7..9cca3c0 100644 --- a/nvim/dotfiles/plugins-list.vim +++ b/nvim/dotfiles/plugins-list.vim @@ -2,6 +2,8 @@ let s:ctx = g:dotfiles_plugins_list_context " Files {{{ call s:ctx.use('preservim/nerdtree') + call s:ctx.use('kyazdani42/nvim-web-devicons') + call s:ctx.use('romgrk/barbar.nvim') " }}} " Language specific {{{ diff --git a/nvim/init.vim b/nvim/init.vim index c97a056..2f16722 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,8 +1,13 @@ let g:k_nvim_dotfiles_dir = expand(':p:h') let g:k_dotfiles_dir = expand(':p:h:h') - let &runtimepath = g:k_nvim_dotfiles_dir.','.&runtimepath.','.g:k_nvim_dotfiles_dir.'/after' +" Disable the following plugins from Dima's list +" https://github.com/dmitmel/dotfiles/commit/ae79a2b708c79cf91a889737e69b7256681d0478 +let g:dotfiles_plugin_manager_inhibited_plugins = { +\ 'vim-airline': 1, +\ } + " Enable the clearly superior mode. let g:vim_ide = 1 From 19abbf2c5b76dd72e5af8a07e0ac010ca4204ec1 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Sun, 4 Jul 2021 19:00:09 +0200 Subject: [PATCH 2/4] [nvim] Added config for barbar --- nvim/plugin/barbar.vim | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 nvim/plugin/barbar.vim diff --git a/nvim/plugin/barbar.vim b/nvim/plugin/barbar.vim new file mode 100644 index 0000000..e3e632b --- /dev/null +++ b/nvim/plugin/barbar.vim @@ -0,0 +1,9 @@ +let bufferline = get(g:, 'bufferline', {}) +let bufferline.icons = 'both' + +" Navigating buffers +nnoremap :BufferPrevious +nnoremap :BufferNext +nnoremap :BufferPick + +nnoremap :BufferClose From 240eeb84019ffab041ab78d23abf4102caf40e29 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Sun, 4 Jul 2021 19:30:48 +0200 Subject: [PATCH 3/4] [nvim] Added dashboard plugin --- nvim/dotfiles/plugins-list.vim | 1 + nvim/init.vim | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nvim/dotfiles/plugins-list.vim b/nvim/dotfiles/plugins-list.vim index 9cca3c0..f13acd7 100644 --- a/nvim/dotfiles/plugins-list.vim +++ b/nvim/dotfiles/plugins-list.vim @@ -11,6 +11,7 @@ let s:ctx = g:dotfiles_plugins_list_context " }}} " Misc {{{ + call s:ctx.use('glepnir/dashboard-nvim') if has('nvim-0.5.0') call s:ctx.use('andweeb/presence.nvim') endif diff --git a/nvim/init.vim b/nvim/init.vim index 2f16722..191e687 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -11,9 +11,12 @@ let g:dotfiles_plugin_manager_inhibited_plugins = { " Enable the clearly superior mode. let g:vim_ide = 1 +" Small plugin configs +let g:dashboard_default_executive ='fzf' + " Source Dima's config source :p:h/../dmitmel-dotfiles/nvim/init.vim -" Give me that beautiful colorscheme +" Styling set termguicolors let airline_powerline_fonts = 1 From e89aea9d828f0e3a3d4148da5a9ff1a2f9ef8d2c Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Sun, 4 Jul 2021 20:16:40 +0200 Subject: [PATCH 4/4] [nvim] Added Firenvim --- nvim/dotfiles/plugins-list.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/nvim/dotfiles/plugins-list.vim b/nvim/dotfiles/plugins-list.vim index f13acd7..8e4d461 100644 --- a/nvim/dotfiles/plugins-list.vim +++ b/nvim/dotfiles/plugins-list.vim @@ -11,6 +11,7 @@ let s:ctx = g:dotfiles_plugins_list_context " }}} " Misc {{{ +call s:ctx.use('glacambre/firenvim', { 'do': ':call firenvim#install(0)' }) call s:ctx.use('glepnir/dashboard-nvim') if has('nvim-0.5.0') call s:ctx.use('andweeb/presence.nvim')