GithubHelp home page GithubHelp logo

wdhh6 / my-vim Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 469 KB

this is my vim setting

Shell 0.21% Vim Script 87.62% Makefile 0.59% QMake 0.04% C 0.43% C++ 0.04% TeX 1.53% Python 9.54%

my-vim's Introduction

my-vim

this is my vim setting for c/c++

execute: cp -r .bashrc .dir_colors .vim .vimrc ~/

then you can use the wdhh's vim

The setting is based on ctags, so please install the ctags(must be exuberant-ctags)

First of all

when you enter a project, please execute 'ct' to generate the tags;

keys

to highlight the words(can highlight many words)

highlight(enable or disable): shift + h 
cancel the highlight of all words: shift + u

go to function or members in struction definition

go to definiton:ctrl + ]
go back: ctrl + t

go to references

go to the member in struction reference:gr
got to the function reference: gw

then you can use F5 to open the window to see what you want to see, and F6 to close the window, F7 to go to the next reference, F8 to go to preverious reference;

taglist

open the function list in a c or cpp file: F11

open the current dir

F3

Code completion

use tag completion:ctrl + x + o 
use the keyword of the current file: ctrl + n

tag navigation

press \t, then put the function you want to see fuzzly, Ctrl + j or Ctrl + k to choose what you want, enter it. 

my-vim's People

Contributors

wdhh6 avatar

Stargazers

Roman 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.