Forked from here
The awesome version includes a lot of great plugins, configurations and color schemes that make Vim a lot better. To install it simply do following from your terminal:
git clone --depth=1 [email protected]:brucelyu/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
I add a few more plugins:
-
Add the vimtex plugin for writing latex in vim. The vimtex settings can be specified in the file
ftplugin/tex.vim
andvimrcs/plugins_config.vim
. -
Add a snippet engine ultisnips. Notice this plugin requires python3-supported vim, which is included by default if vim is installed using Homebrew. User-defined snippets can be added in directory
UltiSnips/
. Tons of snnipets have been included in the directorysources_non_forked/vim-snippets/
of the original vimrc repository. -
Add the simpylfold plugin for the python code folding.
-
(On 16 July 2023) Add the markdown-preview.nvim plugin to preview markdown files.
Note that I add plugins as submodule; to pull from submodule, I follow the post here. Basically,
If it's the first time you check-out a repo you need to use
--init
first:git submodule update --init --recursive
For git 1.8.2 or above, the option
--remote
was added to support updating to latest tips of remote branches:git submodule update --recursive --remote