vimfiles icon indicating copy to clipboard operation
vimfiles copied to clipboard

Vim configuration

vimfiles

Personalized vim configuration.

Plugins

  • https://github.com/tpope/vim-pathogen
  • https://github.com/tpope/vim-rails
  • https://github.com/tpope/vim-rake
  • https://github.com/tpope/vim-bundler
  • https://github.com/tpope/vim-fugitive
  • https://github.com/tpope/vim-haml
  • https://github.com/tpope/vim-surround
  • https://github.com/tpope/vim-endwise
  • https://github.com/tpope/vim-commentary
  • https://github.com/tpope/vim-cucumber
  • https://github.com/tpope/vim-markdown
  • https://github.com/scrooloose/nerdtree
  • https://github.com/corntrace/bufexplorer
  • https://github.com/ervandew/supertab
  • https://github.com/dalibor/snipmate.vim
  • https://github.com/dalibor/snipmate-snippets
  • https://github.com/vim-ruby/vim-ruby
  • https://github.com/mileszs/ack.vim
  • https://github.com/altercation/vim-colors-solarized.git
  • https://github.com/kien/ctrlp.vim
  • https://github.com/benmills/vimux
  • https://github.com/skalnik/vim-vroom
  • https://github.com/Lokaltog/vim-easymotion
  • https://github.com/tpope/vim-ragtag
  • https://github.com/pangloss/vim-javascript
  • https://github.com/othree/javascript-libraries-syntax.vim
  • https://github.com/godlygeek/tabular
  • https://github.com/bogado/file-line
  • https://github.com/rodjek/vim-puppet
  • https://github.com/ekalinin/Dockerfile.vim
  • https://github.com/fatih/vim-go
  • https://github.com/editorconfig/editorconfig-vim

Installation

# Install vim with ruby and clipboard support for your OS
sudo apt-get install vim-gtk3 # Ubuntu 22.04
# To verify: vim --version | grep "ruby\|clipboard"

# Install other dependencies
sudo apt-get install exuberant-ctags ncurses-term xsel

# Install vimfiles
git clone [email protected]:dalibor/vimfiles.git ~/.vim
cd ~/.vim
git submodule update --init
echo "source ~/.vim/vimrc" > ~/.vimrc

Adding a new plugin

git submodule add [email protected]:<username>/<plugin>.git bundle/<plugin>

Updating plugins

# Update to newest vimiles
cd ~/.vim
git pull origin master

# Update all submodules
git submodule update --remote

# Generate documentations for bundled plugins
:Helptags