Skip to content

A Vim plugin that toggles cursorcolumn at cursor position

Notifications You must be signed in to change notification settings

trapd00r/cccp.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

cccp.vim - ColorColumn, Cursor Position

A Vim plugin which enables toggling of a colorcolumn at the cursor position.

This does not do the same thing as cursorcolumn. The latter follows the cursor around, while this stays put where you've placed it, until toggled.

Use cases:

  • Quickly get a grip of alignment issues
  • Impressing your friends

Subsequent calls will toggle the highlight.

Installation

Throw the plugin into your $VIMRUNTIME/plugin directory, i.e ~/.vim/plugin/.

Configuration

Mappings

No mappings defined by default; play nice.

Here's how you can add a mapping that will toggle like described above:

nnoremap <silent> <leader>cc :call CCCP()<cr>

About

A Vim plugin that toggles cursorcolumn at cursor position

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published