- (C languages) cmake and boost for completion
- (Python) python-jedi for competion.
- (Javascript) node and npm for installing TSServer via
npm install -g typescript. - Default font is Inconsolata, install it or change in
config/common/appearance.vimrc.
- Clone this repository in
~/.vimor~/vimfilesif using with Windows. This path will be referred to as$VIMHOME. - Enter
$VIMHOMEand rungit submodule update --init --recursiveto pull in Vundle plugin. - Run
vim -c PluginInstallto download and install plugins. Errors until plugin list are expected. - Enter
$VIMHOME/bundle/YouCompleteMeand runpython3 install.py --clang-completer. Remove--clang-completerto disable C language semantic and JavaScript support.
$VIMHOME/vimwebrc contains JavaScript specific configuration. To use it start vim via vim -u $VIMHOME/vimwebrc or use the script located in $VIMHOME/bin.
Additional plugins must be installed with :PluginInstall while using $VIMHOME/vimwebrc config.
The next section is taken from the YouCompleteMe README.
A common practice when working on a Python project is to install its
dependencies in a virtual environment and develop the project inside that
environment. To support this, YCM needs to know the interpreter path of the
virtual environment. You can specify it by creating a .ycm_extra_conf.py file
at the root of your project with the following contents:
def Settings( **kwargs ):
return {
'interpreter_path': '/path/to/virtual/environment/python'
}where /path/to/virtual/environment/python is the path to the Python used
by the virtual environment you are working in.
<C-e>or<C-y>,to complete HTML with emmet.- Fugitive:
:Gstatusto viewgit status,-to stage/unstage files;:Gblameto viewgit blameon current file;:Gcommitto commit. - UltiSnips:
<c-j>to expand a snippet.