Giter Site home page Giter Site logo

hawkinchina / echofunc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mbbill/echofunc

0.0 2.0 0.0 53 KB

Display c/c++ function declaration in vim command/status line.

Home Page: http://www.vim.org/scripts/script.php?script_id=1735

Vim Script 100.00%

echofunc's Introduction

Install

  1. Method 1: download the entire 'after' directory and put in your plugin directory.

  2. Method 2: Use pathogen or vundle to clone this repo.

    1. add the following line in your vimrc to let pathogen recognize the 'after' folder.

    call pathogen#incubate("after")

How to use

  1. echofunc.vim get function information from tags file. So first of all you need to create tags for your code. Use the following command to generate tags with language and signature fields: $ctags -R --fields=+lS .
  2. echofunc.vim maps ( in insert mode in order to automatically display function info after left bracket is pressed. So please make sure the left bracket ( is not mapped by other plugins. You may check it using :imap (.
  3. The function info is displayed in message line by default. Since the message line may be flushed by other trivial messages, a better way is to show function info in status line by appendding %{EchoFuncGetStatusLine()} into your statusline option.
  4. Another feature of echofunc.vim is to privide a balloon tip when the mouse cursor hovers a function name, macro name, etc. This feature is enabled when +balloon_eval is compiled in.

Screenshot

echofunc's People

Contributors

adah1972 avatar mbbill avatar suxpert avatar

Watchers

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