Giter Club home page Giter Club logo

shootingstar's Introduction

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

* Given your cursor (|) is here: shoo|ting start
*  Pressing \* will search for the term ting if it's part of the word \<shooting\>
*  In vim search syntax this is equivalent to: /\<shoo\zsting\>

Supported keybindings
* <Leader>* and <Leader># for searching forward/backward for the exact word
* <Leader>g* and <Leader>g# for searching forward/backward without stopping at word boundaries

Why would I need that? Peronsally, I'm using the * often when I want to refactor code, e.g. change the name of a variable or function. Often I just want to change a certain part of the name and it would come very handy if the search would be able to place the cursor right there. I'm too lazy to pull up the original search term and edit it, so I end up typing the whole name during the change. This little plugin solves exactly the described issue by introducting just one extra keystroke infront of the magic *.


License

Copyright © Jan Christoph Ebersbach. Distributed under the same terms as Vim itself. See :help license

shootingstar's People

Contributors

jceb avatar

Stargazers

 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.