aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-05-26 12:29:35 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:31 +0100
commitc41563c2ad80670d9fd1db52e08b18de2087b2d5 (patch)
tree3c1ad8680d707eca6e6ecca3061a940c67b918db
parent4b91bdd65be5c0d7c388a6ca0429aff133bd36b5 (diff)
downloaddotnvim-c41563c2ad80670d9fd1db52e08b18de2087b2d5.tar.gz
dotnvim-c41563c2ad80670d9fd1db52e08b18de2087b2d5.zip
vim compatibility
-rw-r--r--vimrc25
1 files changed, 15 insertions, 10 deletions
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
"