- (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
~/.vim
or~/vimfiles
if using with Windows. This path will be referred to as$VIMHOME
. - Enter
$VIMHOME
and rungit submodule update --init --recursive
to pull in Vundle plugin. - Run
vim -c PluginInstall
to download and install plugins. Errors until plugin list are expected. - Enter
$VIMHOME/bundle/YouCompleteMe
and runpython3 install.py --clang-completer
. Remove--clang-completer
to 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:
:Gstatus
to viewgit status
,-
to stage/unstage files;:Gblame
to viewgit blame
on current file;:Gcommit
to commit. - UltiSnips:
<c-j>
to expand a snippet.