mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-16 12:24:40 +02:00
115 lines
3.2 KiB
VimL
115 lines
3.2 KiB
VimL
" auto-install vim-plug
|
|
if empty(glob('~/.config/nvim/autoload/plug.vim'))
|
|
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
|
|
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
|
"autocmd VimEnter * PlugInstall
|
|
autocmd VimEnter * PlugInstall | source $MYVIMRC
|
|
endif
|
|
|
|
call plug#begin('~/.config/nvim/autoload/plugged')
|
|
|
|
" Better Comments
|
|
Plug 'tpope/vim-commentary'
|
|
" Change dates fast
|
|
Plug 'tpope/vim-speeddating'
|
|
" Text Navigation
|
|
Plug 'unblevable/quick-scope'
|
|
" Useful for React Commenting
|
|
Plug 'suy/vim-context-commentstring'
|
|
|
|
if exists('g:vscode')
|
|
" Easy motion for VSCode
|
|
" Plug 'asvetliakov/vim-easymotion'
|
|
Plug 'ChristianChiarulli/vscode-easymotion'
|
|
Plug 'machakann/vim-highlightedyank'
|
|
else
|
|
|
|
" Easymotion
|
|
Plug 'easymotion/vim-easymotion'
|
|
" Have the file system follow you around
|
|
Plug 'airblade/vim-rooter'
|
|
" Treesitter
|
|
Plug 'nvim-treesitter/nvim-treesitter'
|
|
Plug 'nvim-treesitter/playground'
|
|
Plug 'p00f/nvim-ts-rainbow'
|
|
" Cool Icons
|
|
Plug 'kyazdani42/nvim-web-devicons'
|
|
Plug 'ryanoasis/vim-devicons'
|
|
" Auto pairs for '(' '[' '{'
|
|
Plug 'jiangmiao/auto-pairs'
|
|
" Status Line
|
|
Plug 'glepnir/galaxyline.nvim'
|
|
" Ranger
|
|
Plug 'kevinhwang91/rnvimr'
|
|
" Terminal
|
|
Plug 'voldikss/vim-floaterm'
|
|
" Start Screen
|
|
Plug 'mhinz/vim-startify'
|
|
" Vista
|
|
Plug 'liuchengxu/vista.vim'
|
|
" See what keys do like in emacs
|
|
Plug 'liuchengxu/vim-which-key'
|
|
" Zen mode
|
|
Plug 'junegunn/goyo.vim'
|
|
" Snippets
|
|
Plug 'honza/vim-snippets'
|
|
Plug 'mattn/emmet-vim'
|
|
" Interactive code
|
|
Plug 'metakirby5/codi.vim'
|
|
" Better tabline
|
|
Plug 'romgrk/barbar.nvim'
|
|
" Find and replace
|
|
Plug 'brooth/far.vim'
|
|
" Smooth scroll
|
|
Plug 'psliwka/vim-smoothie'
|
|
" Markdown Preview
|
|
Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app & npm install' }
|
|
" Intuitive buffer closing
|
|
Plug 'moll/vim-bbye'
|
|
" Telescope
|
|
Plug 'nvim-lua/popup.nvim'
|
|
Plug 'nvim-lua/plenary.nvim'
|
|
Plug 'nvim-telescope/telescope.nvim'
|
|
" Intellisense
|
|
Plug 'neovim/nvim-lspconfig'
|
|
Plug 'hrsh7th/nvim-compe'
|
|
Plug 'glepnir/lspsaga.nvim'
|
|
Plug 'onsails/lspkind-nvim'
|
|
Plug 'kosayoda/nvim-lightbulb'
|
|
Plug 'mfussenegger/nvim-jdtls'
|
|
Plug 'mfussenegger/nvim-dap'
|
|
" File Explorer
|
|
Plug 'kyazdani42/nvim-tree.lua'
|
|
" Themes
|
|
Plug 'christianchiarulli/nvcode-color-schemes.vim'
|
|
" Better Syntax Support
|
|
Plug 'sheerun/vim-polyglot'
|
|
" Git
|
|
Plug 'airblade/vim-gitgutter'
|
|
Plug 'tpope/vim-fugitive'
|
|
Plug 'tpope/vim-rhubarb'
|
|
Plug 'junegunn/gv.vim'
|
|
Plug 'rhysd/git-messenger.vim'
|
|
" Easily Create Gists
|
|
Plug 'mattn/vim-gist'
|
|
Plug 'mattn/webapi-vim'
|
|
" Neovim in Browser
|
|
Plug 'glacambre/firenvim', { 'do': { _ -> firenvim#install(1) } }
|
|
" Webdev
|
|
" Auto change html tags
|
|
Plug 'AndrewRadev/tagalong.vim'
|
|
" Closetags
|
|
Plug 'alvan/vim-closetag'
|
|
" Colorizer
|
|
Plug 'norcalli/nvim-colorizer.lua'
|
|
" live server
|
|
Plug 'turbio/bracey.vim'
|
|
endif
|
|
|
|
call plug#end()
|
|
|
|
" Automatically install missing plugins on startup
|
|
autocmd VimEnter *
|
|
\ if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
|
|
\| PlugInstall --sync | q
|
|
\| endif
|