aboutsummaryrefslogtreecommitdiff
path: root/plugins.vim
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-06-04 13:33:39 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-06-04 13:33:39 +0100
commit736b7d36fc49c1c16dadc54210a286efb5d644f3 (patch)
tree405eddf6ec8a6b2bcfb96d09584ec587c74ce8db /plugins.vim
parent46b3fcde0407d8919f272e21403acf88c9f6edca (diff)
downloaddotnvim-736b7d36fc49c1c16dadc54210a286efb5d644f3.tar.gz
dotnvim-736b7d36fc49c1c16dadc54210a286efb5d644f3.zip
First step to move to only nvim
Diffstat (limited to 'plugins.vim')
-rw-r--r--plugins.vim90
1 files changed, 90 insertions, 0 deletions
diff --git a/plugins.vim b/plugins.vim
new file mode 100644
index 0000000..e75c293
--- /dev/null
+++ b/plugins.vim
@@ -0,0 +1,90 @@
+" plugin dependent conf starts
+
+call plug#begin('~/.config/nvim/plugged')
+
+" git
+Plug 'tpope/vim-fugitive', { 'tag': 'v3.6' }
+Plug 'airblade/vim-gitgutter'
+
+" tmux
+Plug 'tmux-plugins/vim-tmux-focus-events'
+Plug 'roxma/vim-tmux-clipboard'
+Plug 'wincent/terminus'
+
+" life improvements
+Plug 'folke/tokyonight.nvim', { 'branch': 'main' }
+Plug 'scrooloose/nerdtree'
+Plug 'Chiel92/vim-autoformat'
+Plug 'jsfaint/gen_tags.vim'
+Plug 'godlygeek/tabular'
+Plug 'vimwiki/vimwiki'
+
+" language support
+Plug 'plasticboy/vim-markdown'
+Plug 'samsaga2/vim-z80'
+Plug 'tomtom/tcomment_vim'
+
+if has('nvim-0.5')
+ " status line
+ Plug 'nvim-lualine/lualine.nvim'
+ " general lua
+ Plug 'nvim-lua/popup.nvim'
+ Plug 'nvim-lua/plenary.nvim'
+ " scala
+ Plug 'scalameta/nvim-metals'
+ if has('nvim-0.5.1')
+ Plug 'nvim-telescope/telescope.nvim'
+ end
+ " auto complete
+ Plug 'hrsh7th/nvim-cmp'
+ Plug 'hrsh7th/cmp-nvim-lsp'
+ Plug 'hrsh7th/cmp-vsnip'
+ Plug 'hrsh7th/vim-vsnip'
+
+ " for LSP
+ Plug 'kyazdani42/nvim-web-devicons'
+ Plug 'folke/trouble.nvim'
+
+ " life improvements
+ Plug 'ojroques/nvim-bufdel'
+
+ " learning
+ Plug 'folke/which-key.nvim'
+end
+
+if has('nvim-0.6.1')
+ " lsp
+ Plug 'neovim/nvim-lspconfig'
+ Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
+end
+
+call plug#end()
+
+if has('nvim-0.5')
+:lua << EOF
+ -- BufKil
+ require('bufdel').setup {
+ next = 'cycle',
+ quit = false,
+ }
+ -- which-key
+ require("which-key").setup { }
+EOF
+
+ source ~/.config/nvim/lualine.lua
+end
+
+" for LSC support
+"
+if has('nvim-0.6.1')
+ source ~/.config/nvim/lsp.lua
+ source ~/.config/nvim/treesitter.lua
+
+ " scala and metals
+ source ~/.config/nvim/metals.vim
+end
+
+
+" auto-complete
+source ~/.config/nvim/cmp.vim
+