Skip to content

pranavsingh321/vim-maximum-awesome-docker

Repository files navigation

Vim Maximum Awesome Docker

A docker based vim with almost all the features provided in a modern IDE like

  • autocompletion
  • file and content search
  • directory navigation
  • git integration etc.

Uses python:3.7 as base image.

Usecase

  • Most python based projects use pipenv which breaks vim autocompletion and other features as pipenv installation dir is not used by vim. With container all the modules can be installed globally.
  • Vim plugins fails due to system dependencies or due to incompatibilities with existing OS platform.
  • Complete setup of vim is still tedious/time consuming.

Install

docker-compose up

Few Shortcuts

  • ,d brings up NERDTree, a sidebar buffer for navigating and manipulating files
  • ,z search files and contents at same time, best for large projects and most commonly used. No need to ctrlp or ag .
  • ds/cs delete/change surrounding characters (e.g. "Hey!" + ds" = Hey!, "Hey!" + cs"' = 'Hey!') with vim-surround
  • spacebar search current file.
  • \\ toggles visual selection comment lines
  • vii/vai visually select in or around the cursor's indent
  • ,[space] strips trailing whitespace
  • ^] jump to definition using ctags
  • ,l begins aligning lines on a string, usually used as ,l= to align assignments
  • ^hjkl move between windows, shorthand for ^w hjkl

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Acknowledgements

Thanks to the owners of the original maximum-awesome repo (https://github.com/square/maximum-awesome).

About

vim maximum awesome with docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages