Nico Weber wrote:
>>> 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

Is it 'ctrl' or 'cmd' o ?

Sadly neither of them seems to exhibit this behaviour for me, I must 
have something else mapped to the appropriate key.

Regards,
Andy
-- 
 From the desk of Andrew J Todd esq - http://www.halfcooked.com/

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

Reply via email to