Git Product home page Git Product logo

vim-stim's Introduction

vim-stim

StIm - Star Improved

Usage

  • StIm aims to improve the built in star-command with two adjustments:

    1. Don't jump to the next match on the initial issuing of a star-command.

    2. All consecutive spamming of * will jump to the next match.

  • The state will be reset by either of the following events occurs:

    1. User disables hlsearch.

    2. The word under the cursor is different from the previous use of star-command.

Why use the StIm plugin?

  • Vim users who don't like to have hlsearch activated by default and use incsearch instead, often do so because they are constantly searching to perform arbitrary jumps, or using searches as text-objects. Having hlsearch activated will in these cases clutter the buffer for each minor jump or modification. Vim users who still want to have highlighted searches can do so by using this plugin.

  • The behavior of not jumping on the first press was found in Steve Losh's vimrc, but the added functionality of spamming * to jump to the next match was an itch that this plugin aims to scratch.

  • StIm is extremely light, with just ~30 lines of code.

vim-stim's People

Contributors

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