Giter Site home page Giter Site logo

vim-cool's Introduction

vim-cool

Vim-cool disables search highlighting when you are done searching and re-enables it when you search again.

Vim-cool is cool.

Vim-cool is experimental.

Experimental features

  • Show number of matches in the command-line:

      let g:CoolTotalMatches = 1
    

Requirements

Vim-cool is intended to be used with Vim, and only Vim, 7.4.2008 or later. It may or may not work in other editors but they are not and will not be officially supported.

Installation

Follow your favorite plugin/runtimepath manager's instructions.

If you choose manual installation, just put plugin/cool.vim where it belongs:

$HOME/.vim/plugin/cool.vim        on Unix-like systems
$HOME\vimfiles\plugin\cool.vim    on Windows

Background

I wrote the first iteration of vim-cool in about twenty minutes, mostly to test a few ideas I had after a short discussion on 'hlsearch' and :nohlsearch on #vim.

Because it relied almost exclusively on mappings, that first iteration was way too brittle to be of any use and actually messed with a bunch of my own mappings.

Then came @purpleP and the game-changing approach he put together with the help of @chrisbra, @justinmk, @jamessan, and @ZyX-I.

The current version, essentially a weaponized version of @purpleP's code, doesn't rely on remappings anymore and thus should be devoid of nasty side-effects.

Many thanks to @bounceme for his help.

vim-cool's People

Contributors

bounceme avatar romainl avatar

Watchers

James Cloos avatar Zefei Xuan 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.