Git Product home page Git Product logo

vim-up's Introduction

vim-up

A bunch of stuff to vim you up. Built for Mac and Linux. Heavily based on Square's maximum-awesome repo that's no longer maintained, plus a few other goodies.

What's in it?

Keyboard Shortcuts

  • ,d and ,f bring 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 ag.vim using the silver searcher (like ack, but faster)
  • ,z toggles paste modes
  • ds/cs delete/change surrounding characters (e.g. "Hey!" + ds" = Hey!, "Hey!" + cs"' = 'Hey!') with vim-surround
  • gcc toggles current line comment
  • gc toggles visual selection comment lines
  • vii/vai visually select in or around the cursor's indent
  • Vp/vp replaces visual selection with default register without yanking selected text (works with any visual selection)
  • ,[space] strips trailing whitespace
  • <C-]> jump to definition using ctags
  • ,l begins aligning lines on a string, usually used as ,l= to align assignments
  • <C-hjkl> move between windows, shorthand for <C-w> hjkl
  • :GitGutterToggle to toggle your git diff, and :GitGutterLineHighlightsToggle to highlight diffed lines

Note: When you see C here, that means Ctrl (not Cmd)!

Install

on macOS

rake

on Linux

make install

Update

on macOS

rake

on Linux

make install

This will update all installed plugins using Vundle's :PluginInstall! command. If there are errors, just clear out the problem directories in ~/.vim/bundle. :help PluginInstall provides more detailed information about Vundle.

Customize

This creates some .local files for your .vimrc and your bundles if you'd like to customize everything on your local machine. If you'd like to make a PR, don't put it in the .local files, just put it in the main ones!

Colors

This repo includes a bunch of different colorschemes to test out, and by default uses base16-default-dark. You'll see instructions on properly installing the base16-shell and related colors after everything runs from the rake command.

You can test out different colors using the colorscheme vim command, and just tabbing through the different options. There are a lot. Don't be overwhelmed. ๐Ÿ˜‰

Uninstall

on macOS

rake uninstall

on Linux

make uninstall

This won't remove everything, but your vim configuration should be reset to whatever it was before installing. Some uninstallation steps will be manual.

Acknowledgements

  • Thanks to Square for their (now unmaintained) maximum-awesome repo
  • Thanks to Tim Pope for his vim plugins
  • Thanks to GitHub user chriskempson for his base16 work

vim-up's People

Contributors

cassidoo avatar corbob avatar the-jonsey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vim-up's Issues

Error when install

Hello I get this error when I try rake .

~/bin/vim -c "PluginInstall!" -c "q" -c "q"
sh: /Users/emanuelquimper/bin/vim: No such file or directory
rake aborted!
Command failed with status (127): [~/bin/vim -c "PluginInstall!" -c "q" -c "q...]
/Users/emanuelquimper/VimSetup/vim-up/Rakefile:149:in `block (2 levels) in <top (required)>'
/Users/emanuelquimper/VimSetup/vim-up/Rakefile:190:in `block in <top (required)>'
Tasks: TOP => install:vundle
(See full trace by running task with --trace)

Vundle install doesn't work due to missing repo

The dependency Plugin 'eventualbuddha/vim-protobuf' in .vimrc.bundles no downloads works due to the repository being deleted, probably needs replacing with the upstream repo Plugin 'uarun/vim-protobuf'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.