Vim Tips Wiki
We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 62: Line 62:
 
:inoremap <Esc>OR *
 
:inoremap <Esc>OR *
 
:inoremap <Esc>Ol +
 
:inoremap <Esc>Ol +
βˆ’
:inoremap <Esc>OS -
+
:inoremap <Esc>OS -</pre>
βˆ’
:inoremap <Esc>OM <Enter></pre>
+
:inoremap <Esc>OM <Enter>
  +
 
----
 
----
 
Hmm, this may be true, but a mapping or similar method would allow you to distinguish between <k1> and 1, <kEnter> and <CR>, <kDivide> and /, etc. Perhaps we should clean up this mapping and present it as a viable alternative (I'm interested in this because I'm having trouble even on Windows gvim mapping <kEnter> to something different than <Enter>). --[[User:Fritzophrenic|Fritzophrenic]] 15:32, 17 July 2009 (UTC)
 
Hmm, this may be true, but a mapping or similar method would allow you to distinguish between <k1> and 1, <kEnter> and <CR>, <kDivide> and /, etc. Perhaps we should clean up this mapping and present it as a viable alternative (I'm interested in this because I'm having trouble even on Windows gvim mapping <kEnter> to something different than <Enter>). --[[User:Fritzophrenic|Fritzophrenic]] 15:32, 17 July 2009 (UTC)
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)