Vim-Plug
A minimalist Vim plugin manager.iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
ni $HOME/vimfiles/autoload/plug.vim -Forcecurl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
nvim-treesitter
The goal of nvim-treesitter
is both to provide a simple and easy way to use the interface for tree-sitter in Neovim and to provide some basic functionality such as highlighting based on it:
coc-vim
Make your Vim/Neovim as smart as VSCode.
Plug 'neoclide/coc.nvim', { 'branch': 'master', 'do': 'yarn install --frozen-lockfile' }
vim-table-mode
An awesome automatic table creator & formatter allowing one to create neat tables as you type.Plug 'dhruvasagar/vim-table-mode'
auto-pairs
Insert or delete brackets, parens, quotes in pair.Plug "jiangmiao/auto-pairs"
commentary
Comment stuff out. Use gcc to comment out a line (takes a count), gc to comment out the target of a motion (for example, gcap to comment out a paragraph), gc in visual mode to comment out the selection, and gc in operator pending mode to target a comment. You can also use it as a command, either with a range like :7,17Commentary, or as part of a :global invocation like with :g/TODO/Commentary. That’s it.
Oh, and it uncomments, too. The above maps actually toggle, and gcgc uncomments a set of adjacent commented lines.Plug 'tpope/vim-commentary'
fugitive
Fugitive is the premier Vim plugin for Git. Or maybe it’s the premier Git plugin for Vim? Either way, it’s “so awesome, it should be illegal”. That’s why it’s called Fugitive.Plug 'tpope/vim-fugitive'
telescope
telescope.nvim is a highly extendable fuzzy finder over lists. Built on the latest awesome features from neovim core. Telescope is centered around modularity, allowing for easy customization.
Plug 'nvim-lua/plenary.nvim' | Plug 'nvim-telescope/telescope.nvim'
blamer.nvim
A git blame plugin for (neo)vim inspired by VS Code’s GitLens plugin.Plug 'APZelos/blamer.nvim'
vim-startify
This plugin provides a start screen for Vim and Neovim.
nerdtree
The NERDTree is a file system explorer for the Vim editor. Using this plugin, users can visually browse complex directory hierarchies, quickly open files for reading or editing, and perform basic file system operations.
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
vim-airline
Lean & mean status/tabline for vim that’s light as air.
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
fzf
fzf is a general-purpose command-line fuzzy finder.Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
ale
ALE (Asynchronous Lint Engine) is a plugin providing linting (syntax checking and semantic errors) in NeoVim 0.2.0+ and Vim 8 while you edit your text files, and acts as a Vim Language Server Protocol client.Plug 'dense-analysis/ale'
gitbash_solarized
Solarized (dark) Git Bash and VIMgit clone https://github.com/speedpacer/gitbash_solarized
cd gitbash_solarized
chmod +x setup.sh
./setup.sh
vim-colors-solarized
这个插件主要是提供了 vim 的配色方案。Solarized 配色方案应该是一个系列,iTerm2 什么的都有它的配色方案,我觉得总体来说还是比较舒服的。
vim-markdown
Syntax highlighting, matching rules and mappings for the original Markdown and extensions.Plug 'godlygeek/tabular' | Plug 'plasticboy/vim-markdown'
vim-vue
Vim syntax highlighting for Vue components.Plug 'posva/vim-vue'
vim-surround
surround.vim
是关于“周围环境”:括号,括号,报价,XML 标签等。插件提供映射以便轻松删除,更改和添加这些周围的环境。
Command(Normal) | Usage(* 表示光标所在的位置) | Description |
---|---|---|
ds | “a* b” -> ds" -> a b | 删除周围包裹的字符 |
cs | “a* b” -> cs"’ -> ‘a b’ | 改变周围包裹的字符 |
ys[wW] | *hello -> ysw" -> “hello” | 添加包裹的字符 |
yS[wW] | *hello -> ySw" -> “ hello ” | 添加包裹字符并且将包裹内容换行、缩进 |
yss | *hello world -> yss" -> “hello world” | 给整行添加包裹字符 |
yS[sS] | *hello world -> ySs" -> “ hello world ” | 给整行添加包裹字符并且将包裹内容换行、缩进 |
Command(Visual) | Description |
---|---|
s | 添加周围包裹的字符 |
S | 添加包裹字符并且将包裹内容换行、缩进 |
vim-easy-align
A simple, easy-to-use Vim alignment plugin.
vim-easy-align使用指南vim-local-history
A Neovim plugin for maintaining local history of files.
vim-printer
Quickly print/log the variable in your favourite language
hop.nvim
快速跳转到想要跳转到的位置