-
put
.vimrcto your home directory -
create backup directory:
mkdir -p ~/.vim/backup -
install Vundle plugin manager:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim -
install plugins: run
vim --clean '+source ~/.vimrc' +PluginInstall +qall(you'll have to hit space bar a few times to skip warnings about unknown settings in .vimrc when running this for the first time) -
install
tig,fzf,the_silver_searcher; language servers:gopls,ansible-language-server,bash-language-server,dockerfile-language-server,yaml-language-server -
configured key mappings:
<F1> : toggle NERDTree
<F2> : toggle yaml indentation visualisation
<F3> : Ag searcher
<F4> : show buffers
<F5> : GitFiles searcher
<F6> : toggle invisible characters (in normal mode)
<space> : toggle yaml folding
\s : git blame in status line
\T : open tig with current file
\t : open tig with Project root path
\g : open tig grep
\r : resume from last grep via tig
\g : open tig grep with the selected word
\cg : open tig grep with the word under the cursor
\b : open tig blame with current file
-
Notifications
You must be signed in to change notification settings - Fork 0
ahenobarbus/vim
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
my .vimrc with some plugins that I like