From c41563c2ad80670d9fd1db52e08b18de2087b2d5 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Thu, 26 May 2022 12:29:35 +0100 Subject: vim compatibility --- vimrc | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 42149a9..c51e444 100644 --- a/vimrc +++ b/vimrc @@ -54,7 +54,6 @@ Plug 'jsfaint/gen_tags.vim' Plug 'rbong/vim-crystalline' Plug 'godlygeek/tabular' Plug 'vimwiki/vimwiki' -Plug 'ojroques/nvim-bufdel' " language support Plug 'plasticboy/vim-markdown' @@ -63,9 +62,6 @@ Plug 'tomtom/tcomment_vim' Plug 'https://tildegit.org/sloum/gemini-vim-syntax.git' Plug 'neovimhaskell/haskell-vim' -" learning -Plug 'folke/which-key.nvim' - if has('nvim-0.5') " general lua Plug 'nvim-lua/popup.nvim' @@ -80,6 +76,12 @@ if has('nvim-0.5') Plug 'hrsh7th/cmp-nvim-lsp' Plug 'hrsh7th/cmp-vsnip' Plug 'hrsh7th/vim-vsnip' + + " learning + Plug 'folke/which-key.nvim' + + " life improvements + Plug 'ojroques/nvim-bufdel' end if has('nvim-0.6.1') @@ -90,20 +92,23 @@ end call plug#end() +if has('nvim-0.5') + " which-key -" :lua << EOF - require("which-key").setup { } + require("which-key").setup { } EOF " BufKil :lua << EOF - require('bufdel').setup { - next = 'cycle', - quit = false, -} + require('bufdel').setup { + next = 'cycle', + quit = false, + } EOF +end + " crystaline conf " -- cgit v1.2.3