>> I wonder if it is possible to map Cmd-Enter as it is in TextMate — go
>> to end of line and hit enter. I've tried things like
>> nmap <D-Enter> <D-Right><cr>
>> But it doesn't seem to work.
>
> I'm assuming you're wanting this to happen while you're in insert
> mode.  Try this:
>
> imap <D-Enter> <Esc>A<CR>

or

     imap <D-Enter> <Esc>o

Also, you can hit ctrl-o in insert mode to execute one normal mode  
command, which comes in handy every now and then (e.g. cmd-o o, cmd-o  
O, etc).

Nico
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to