Coder Social home page Coder Social logo

vimx's Introduction

clone this repo

git clone https://github.com/guoqiao/vimx.git ~/.vim && cd ~/.vim

install

Install dependencies:

  • flake8 OR pylint was required by syntastic, install both here.
  • ctags was required by tagbar
  • silverseacher-ag was requrired by ctrlp

pip:

pip install -U flake8 pylint

OS X:

brew install ctags-exuberant the_silver_searcher

Ubuntu:

sudo apt-get install exuberant-ctags silversearcher-ag

Or you can build ag:

./build-ag.sh

Then install:

./install.sh

Install YouCompleteMe: cd bundle/YouCompleteMe ./install.sh

That's all!

basic usage

  • leader: ,
  • map ; to :
  • tabs: tn to new, tc to close, th to left, tl to right, tm to mv to last
  • windows: ctrl + [hjkl]
  • no highlight: ,h
  • edit vimrc: ,ev

plugin settings

  • NERDTree: tt to toggle tree, ff to find file in tree
  • NERD-Commenter: leader + c + i
  • YankRing: leader + p to open paste history, q to quit
  • CtrlP: ctrl + p
  • Emmet: ctrl + y + ,
  • Ack: use Ack FOOBAR to search on cmdline
  • vim-indent-object: ii, ia
  • vim-easymotion: ,,w
  • vim-multiple-cursors: ctrl + n for next, ctrl + b for prev, ctrl + x to skip, esc
  • tabular: :Tab/=, = is the char to align

pro only:

  • tagbar: TT
  • YouCompleteMe: ,j to jump to def

Build latest vim

clipboard and python support are required in this config, to check your current vim:

vim --version | grep clip
vim --version | grep python

There should be a '+' sign before them. If not, build vim yourself:

./build-vim.sh

Build latest ag|silver-searcher

./build-ag.sh

vimx's People

Contributors

guoqiao avatar catalyst-joe-guo avatar

Watchers

 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.