Skip to content

ahenobarbus/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

my .vimrc with some plugins that I like

  1. put .vimrc to your home directory

  2. create backup directory: mkdir -p ~/.vim/backup

  3. install Vundle plugin manager: git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

  4. 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)

  5. install tig, fzf, the_silver_searcher; language servers: gopls, ansible-language-server, bash-language-server, dockerfile-language-server, yaml-language-server

  6. 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

About

my .vimrc with some plugins that I like

Topics

Resources

Stars

Watchers

Forks