daily nvim #2

Insert literal key combination

When trying to write a :normal command for decrementing a number found on every line, I ran into the issue of trying to enter CTRL-X as part of the inputs. I tried

but none of it worked.

I took a look around and it turns out the CTRL-V command in insert mode will eat the next command sent and put it's text representation into the buffer. Great!

One last issue though, my terminal emulator eats the CTRL-V command and just pastes whatever is in my OS clipboard. Luckily, a lot of people have had this issue, and you can use the backup CTRL-Q instead.

---

all glogs

home