Skip to content

mtth/cursorcross.vim

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Cursorcross.vim

Refreshingly sane cursorcolumn and cursorline handling.

Configuration

Four options are available:

  • g:cursorcross_dynamic = 'clw', which features to dynamically handle:
    • 'c' triggers cursorcolumn in insert mode when the cursor is at the beginning of the line.
    • 'l' activates cursorline in normal mode and turns it off when entering insert mode.
    • 'w' automatically disables cursorcolumn and cursorline in non-focused windows. When entering a window, both variables are restored to their previous state.
  • g:cursorcross_exceptions = [], list of filetypes where dynamic mode will be disabled.
  • g:cursorcross_disable = 0, disable the plugin.
  • g:cursorcross_mappings = 1, create the following mappings:
    • - to toggle cursorline.
    • | to toggle cursorcolumn.

Additionally, the CursorcrossToggle command can be used to disable all dynamic modes globally.

About

Sane cursorcolumn and cursorline handling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published