Skip to content

haolian9/ico.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

an opinionated i_ctrl-o impl

what it does?

with text hello| world (| is the cursor), it converts following input sequences:

  • <c-o>tw to <esc>ltwa, results hello |world
  • <c-o>fw to <esc>lfwa, results hello w|orld

it supports cancellation via <esc>, and ends in normal mode rather than insert mode.

for other cases, it falls back to the original <c-o>

status

  • just works
  • yet not supposed to be used publicly, due to heavy dependencies

prerequisites

  • linux
  • nvim 0.10.*
  • tui nvim
  • haolian9/infra.nvim

usage

m.i("<c-o>", function() require("ico")() end)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Languages