Giter VIP home page Giter VIP logo

vim-utils's Introduction

vim-utils

The vim-utils plug-in is a collection of Vim scripts I use daily. While useful (at least to me), they are not extensive enough to justify their own repo. The collection will be added to (slowly) as these scripts are being transitioned from a previous repo while undergoing some refactoring and general clean-up

Installation

For ease of maintenance and updates, I recommend a plug-in manager such as Pathogen or Vundle.

There is also the option of using the native Vim 8 packages loading (see: :help packages).

Documentation

Documentation has been generated by vimdoc and is located in the doc directory.

Usage

Remaps: Search

These have been modified to keep the window view during searches at the specified percentage scroll (e.g. g:vim_utils_view_pct = 50 would keep the current cursor position at 50% of the total window size much like zz). Default is a comfortable 25% (g:vim_utils_view_pct = 25).

To modify, add this line to your ~/.vimrc:

let g:vim_utils_view_pct = <number>
Key / Motion Description
n Repeat latest / or ? search
N Repeat latest / or ? search
* Search forward for next occurrence of word
# Search backward for next occurrence of word

Remaps: Display

These remaps are only active during Normal mode.

Key / Motion Description
<F1> Toggle line numbers display (off, absolute, hybrid)
'' Toggle highlight of latest search
gp Visual select latest pasted text

Contact

If you have any questions, bug reports, enhancements, suggestions, or feedback, please open an issue or pull request on GitHub.

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.