On Sat, Apr 11, 2009 at 17:43, Skammer <[email protected]> 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>


-- 
Alex Esplin

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

Reply via email to