I am reading the book "learning vi editor"(linda lamb & arnold robbins 6th edition). Page 115, the book has a command like this:
:map ^J xyz
The xyz part itself doesn't matter here, my problem is to make the
I have tried ctrl+V ctrl+j (ctrl+v can be used to escape Enter for example) and ctrl+j directly
In both cases it doesn't work.
I am using vi editor inside FreeBSD 11.0, it isn't the vim (vi improved) .
----- Edit -----
00:05 - map ctrl+K to do dd (delete entire line)
00:19 - try to do the same thing with ctrl+J, but it doesn't work because ctrl+J trigger a table.
00:25 - try again with ctrl+V ctrl+J. Also it doesn't work, triggering a table.
00:33 - try map exactly "^J"
00:44 - try with ctrl+J and it doesn't work as expected. It works typing the sequence "^J".