sponsor Vim development Vim logo Vim Book Ad

c_CTRL-O.vim : One-shot normal mode for command-line mode

 script karma  Rating 14/5, Downloaded by 248  Comments, bugs, improvements  Vim wiki

created by
Emilien Breton
 
script type
utility
 
description
https://github.com/Bricktech2000/c_CTRL-O.vim

This plugin introduces a natural analogue to |i_CTRL-O| for command-line mode.
When partway through writing a command-line or performing an incremental
search with |c_CTRL-G| and |c_CTRL-T|, you might:

- Redraw the screen with CTRL-O CTRL-L.
- Scroll around with CTRL-O zt, CTRL-O CTRL-D, CTRL-O zL, etc.
- Peek at what function or section you're in with CTRL-O [[, check
  whether you're within an `#if` with CTRL-O [#.
- Peek at the definition for the current match with CTRL-O gd,
  CTRL-O gD, CTRL-O [ CTRL-I, CTRL-O CTRL-], etc.
- Resize the window with CTRL-O CTRL-W 80|, CTRL-O CTRL-W _, etc.
- Perform a nested search with CTRL-O /{pattern}<CR>, then peek at
  subsequent matches with CTRL-O n.
- Execute nested command-lines like CTRL-O :se {option}<CR>,
  CTRL-O :w<CR>, etc.
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
c_CTRL-O.tar.gz 0.0.0 2026-04-21 9.0 Emilien Breton Initial upload
ip used for rating: 216.73.216.158

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github