Giter VIP home page Giter VIP logo

annotatedmarks's Introduction

This is a mirror of http://www.vim.org/scripts/script.php?script_id=3691

Vim script for enhancing the built-in marks functionality of vim. 

It gives you a chance to associate some meaningful annotation with a particular mark,
thus decreases the possibility of you getting lost amongst a large amount of codes.
Also, it keeps track of which marks to use automatically: you don't have specify the
name of mark. It uses global marks (A-Z) and tries to use an empty mark when possible.
The first mark you add would be A, next would be B, etc. If all marks are used, it'll
search for an least used one (provided that you use THIS script for jumping to it) and
overwrite it.
The information about marks are persistent so restarting Vim won't affect them.

Usage:
Pretty straight forward stuff.
After installation (drop it in $RUNTIME/plugin), <Leader>M will add a new mark. You'll
be prompted for a comment on this mark.
:Amarks would list all marks known to this script and let you choose one to jump to.

Configuration:
g:am_persistent_file. String. Defines the file that this script writes to between vim sessions.
g:am_use_popup_menu. 1 or 0. If it's 1, popup menu would be used, otherwise, echo would be used. 

annotatedmarks's People

Contributors

wzhliang avatar

Stargazers

 avatar  avatar  avatar

Watchers

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