/maximum-awesome-linux

Config files for vim and tmux.

Primary LanguageVim scriptOtherNOASSERTION

Maximum Awesome Linux Port

What do you need to do it

Ubuntu, with git and rake installed. To get them you could do

sudo apt-get install git rake

What's in it?

vim

  • ,d brings up NERDTree, a sidebar buffer for navigating and manipulating files
  • ,t brings up ctrlp.vim, a project file filter for easily opening specific files
  • ,b restricts ctrlp.vim to open buffers
  • ,a starts project search with ack.vim using ag (like ack)
  • ds/cs delete/change surrounding characters (e.g. "Hey!" + ds" = Hey!, "Hey!" + cs"' = 'Hey!') with vim-surround
  • \\\ toggles current line comment
  • \\ 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

tmux

  • ^a is the prefix
  • mouse scroll initiates tmux scroll
  • prefix v makes a vertical split
  • prefix s makes a horizontal split

Install

rake

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