Code Monkey home page Code Monkey logo

vim-textobj-function's Introduction

vim-textobj-function

Build Status

vim-textobj-function is a Vim plugin to text objects for functions. You can directly target a function (af) or the code inside a function (if). For example,

  • daf to Delete A Function, and
  • vif to Visually select the code Inside a Function.

You can also use aF to target a function with leading or trailing blank lines like ap, or use iF to target just a function like ip. For example,

  • yaF to Yank A Function with leading or trailing blank lines, and
  • viF to visually select a function without leading or trailing blank lines.

The syntax of a "function" is varied for each language. So that you have to tell the syntax of a function to vim-textobj-function before editing. By default, the following languages are supported:

  • C language
  • Java
  • Vim script (including vim-vspec-specific syntax)

To support new languages, see:

vim-textobj-function's People

Contributors

kana avatar majutsushi avatar jszakmeister avatar

Watchers

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