Giter VIP home page Giter VIP logo

vimrc's Introduction

Vimrc

A vim config to make a awesome python IDE, currently just support for Ubuntu. Includes below plugins:

How to install:

cd ~
git clone git://github.com/gtt116/vimrc
cd vimrc
./install.sh

done

Snapshot

Features

  • Default colorschema is solarized-light (vim-colors-solarized)
  • saving file automatic run pep8 checking
  • automatic set tab to 4 space when editing *.py
  • automatic set tab to 2 space when editing *.html, css, js
  • automatic syntax hightlight for *.py, *.html *.html(django template), *.css, *.js, *.pp(puppet)

Key mapping

In vim view mode,

Please using hjkl to move cursor

  • using up to enlarge window

  • using down to shrink window

  • using , + n + t to toggle nerdtree

  • using , + t + b to toggle tabbar

  • using , + g jump to definition of function/class/variable

  • using , + t to create a new tab

  • using g + t to move to next tab

  • using g + T to move to pre tab

  • using [ctrl] + H/J/K/L to move through windows

  • using q to toggle line comment

  • using [ctrl] + p openup ctrlp menu

  • using , + l to load cscope databse into CCtree.

  • using > to open CCTree Forword Call Tree.

  • using < to open CCTree Reverse Call Tree.

  • using [ to decrease depth of tree.

  • using ] to increase depth of tree.

Easygrep Keymapping

<Leader>vv  - Grep for the word under the cursor, match all occurences,
              like |gstar|
<Leader>vV  - Grep for the word under the cursor, match whole word, like
              |star|
<Leader>va  - Like vv, but add to existing list
<Leader>vA  - Like vV, but add to existing list
<Leader>vr  - Perform a global search on the word under the cursor
              and prompt for a pattern with which to replace it.
<Leader>vo  - Select the files to search in and set grep options
<Leader>vy* - Invoke any option from the options explorer, where * is the
              shortcut for that option.
              e.g. <Leader>vyr - toggles recursion
                   <Leader>vyb - sets buffer grepping mode
                   etc.

Yaml Fold Keypmapping

zi          -   switch folding on or off
za          -   toggle current fold open/closed
zc          -   close current fold
zR          -   open all folds
zM          -   close all folds
zv          -   expand folds to reveal cursor

vimrc's People

Contributors

gtt116 avatar

Watchers

James Cloos avatar LuoDan 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.