Code Monkey home page Code Monkey logo

vim-bootstrap's Introduction

vim-bootstrap

Vim Bootstrap is generator provides a simple method of generating a .vimrc configuration for vim, NeoVim, MacVim and GVim.

Pre-requisites

The distribution is designed to work with Vim >= 7.3.

Mac OSX

$ brew install git ctags

Linux

  • Ubuntu
$ sudo apt-get install git exuberant-ctags ncurses-term
  • Gentoo
$ sudo emerge dev-util/ctags sys-libs/ncurses dev-vcs/git dev-python/pyflakes
  • Arch Linux via pacman (recomend used pacaur)
$ sudo pacman -S git-core ctags ncurses

Python bundle (optionally)

  • pyflakes
$ pip install flake8

Commands

Commands Descriptions
:cd <path> Open path /path
<Control+w>+<hjkl> Navigate via split panels
<Control>+w+w Alternative navigate vim split panels
,. Set path working directory
,w or ,x Next buffer navigate
,q or ,z previous buffer navigate
SHIFT+t Create a tab
TAB next tab navigate
SHIFT+TAB previous tab navigate
,e Find and open files
,b Find file on buffer (open file)
,c Close active buffer (clone file)
F2 Open tree navigate in actual opened file
F3 Open/Close tree navigate files
F4 List all class and method, support for python, go, lua, ruby and php
,v Split vertical
,h Split horizontal
,f Search in the project
,o Open github file/line (website), if used git in github
,sh Open shell.vim terminal inside Vim or NeoVim built-in terminal
,ga Execute git add on current file
,gc git commit (splits window to write commit message)
,gsh git push
,gll git pull
,gs git status
,gb git blame
,gd git diff
,gr git remove
,so Open Session
,ss Save Session
,sd Delete Session
,sc Close Session
> indent to right
< indent to left
gc Comment or uncomment lines that {motion} moves over
YY Copy to clipboard
P Paste
<Control+y>, Activate Emmet plugin

Python hotkeys

Commands Descriptions
SHIFT+k Open documentation
Control+Space Autocomplete
,d Go to the Class/Method definition
,r Rename object definition
,n Show where command is usage

Ruby hotkeys

Commands | Descriptions ------- | ------- ,a | Run all specs ,l | Run last spec ,t | Run current spec ,rap | Add Parameter ,rcpc | Inline Temp ,rel | Convert Post Conditional ,rec | Extract Constant (visual selection) ,rec | Extract to Let (Rspec) ,relv | Extract Local Variable (visual selection) ,rrlv | Rename Local Variable (visual selection/variable under the cursor) ,rriv | Rename Instance Variable (visual selection) ,rem | Extract Method (visual selection)

Installation

mv ~/Downloads/vimrc ~/.vimrc
  • Execute ViM and it will install plugins automatically
vim +NeoBundleInstall +qall

Updating to the latest version

:VimBootstrapUpdate (thanks to @sherzberg)
:NeoBundleUpdate

Learn Vim

Visit the following sites to learn more about Vim:

vim-bootstrap's People

Contributors

actionless avatar adamkal avatar adimircolen avatar agutoli avatar alemedeiros avatar avelino avatar awiddersheim avatar camponez avatar di3goleite avatar drgarcia1986 avatar ellisonleao avatar frac avatar hersonls avatar hmleal avatar itchyny avatar ivancrneto avatar johndeng avatar knabben avatar lerrua avatar lrezende avatar magnunleno avatar nemith avatar netojoaobatista avatar phinfonet avatar raelmax avatar stooj avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.