GithubHelp home page GithubHelp logo

svermeulen / vim-mark Goto Github PK

View Code? Open in Web Editor NEW

This project forked from idbrii/vim-mark-fromvimscripts

0.0 2.0 0.0 168 KB

highlight several words in different colors simultaneously (bug fix/feature fork)

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

Vim Script 100.00%

vim-mark's Introduction

This is a mirror of Ingo Karkat's Mark plugin. The vim-scripts depot is out of date.

DESCRIPTION This plugin adds mappings and a :Mark command to highlight several words in different colors simultaneously, similar to the built-in 'hlsearch' highlighting of search results and the * command. For example, when you are browsing a big program file, you could highlight multiple identifiers in parallel. This will make it easier to trace the source code.

This is a continuation of vimscript #1238 by Yuheng Xie, who doesn't maintain his original version anymore and recommends switching to this fork. This plugin offers the following advantages over the original:

  • Much faster, all colored words can now be highlighted, no more clashes with syntax highlighting (due to use of matchadd()).
  • Many bug fixes.
  • Jumps behave like the built-in search, including wrap and error messages.
  • Like the built-in commands, jumps take an optional [count] to quickly skip over some marks.
  • Marks can be persisted, and patterns can be added / subtracted from mark highlight groups.

vim-mark's People

Contributors

dimasg avatar idbrii avatar svermeulen avatar

Watchers

 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.