Saturday, April 8, 2017

Doing ^J

Hi, I am reading the book "learning vi editor"(linda lamb & arnold robbins 6th edition).
Page 115, the book does a command like this:

:map ^J xyz

The xyz part itself doesnt matter here, my problem is to make the "^J" part.

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) but I thought that I could ask here because both (unix vi and vim) are similar.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: