Skip to content

alexhuang91/vim

 
 

Repository files navigation

Maximum Awesome

Config files for vim and tmux, lovingly tended by a small subculture of peace-loving hippies. Built for Mac OS X.

What's in it?

vim

  • ,d brings up NERDTree, a sidebar buffer for navigating and manipulating files
  • ,t brings up Command-T, a project file filter for easily opening specific files
  • ,b restricts Command-T 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

Troubleshoot

If you have trouble compiling the Command-T C extension, check mkmf.log in the current directory; you may need to use xcode-select(1).

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

Any contributors to the master maximum-awesome repository must sign the Individual Contributor License Agreement (CLA). It's a short form that covers our bases and makes sure you're eligible to contribute.

When you have a change you'd like to see in the master repository, send a pull request. Before we merge your request, we'll make sure you're in the list of people who have signed a CLA.

Acknowledgements

Thanks to the vimsters at Square who put this together. Thanks to Tim Pope for his awesome vim plugins.

About

Config files for vim and tmux.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 93.4%
  • Ruby 6.6%