Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trapd00r/cccp.vim
A Vim plugin that toggles cursorcolumn at cursor position
https://github.com/trapd00r/cccp.vim
colorcolumn vim vim-plugin
Last synced: 18 days ago
JSON representation
A Vim plugin that toggles cursorcolumn at cursor position
- Host: GitHub
- URL: https://github.com/trapd00r/cccp.vim
- Owner: trapd00r
- Created: 2022-04-29T17:57:56.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-08T08:05:21.000Z (8 months ago)
- Last Synced: 2024-11-09T19:44:14.415Z (2 months ago)
- Topics: colorcolumn, vim, vim-plugin
- Language: Vim Script
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkd
Awesome Lists containing this project
README
## 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 friendsSubsequent 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:
```vim
nnoremap cc :call CCCP()
```