Loading ...
Sorry, an error occurred while loading the content.

Re: Emacs Ctrl-t option in VIM?

Expand Messages
  • John Love-Jensen
    Hi Rick, ... Did you want that in insert mode? ... --Eljay
    Message 1 of 2 , Sep 29, 2006
    • 0 Attachment
      Hi Rick,

      > Just a quick question, as searching online has given me nothing. Is there a
      > VIM equivalent to the Emacs/Bash Control-t command that swaps the two previous
      > characters (e.g. "sl"-->Ctrl-t-->"ls")?

      :nmap <F1> hhxpl

      Did you want that in insert mode?

      :imap <F1> <ESC>hxpli

    Your message has been successfully submitted and would be delivered to recipients shortly.