Hello, I'm new to the group. Recently switched from Textmate to MacVIM and I am trying to mimic some Textmate features. I have this sort of working but I keep getting odd behavior between vim in the Terminal and MacVim.
First, command-return remapping " Textmate style cmd-return inoremap <D-Enter> <C-o>o This works great in MacVim, but just beeps at me in regular vim. Any guesses as to why? My next try to get vim to behave like textmate was to install the DelimitMate plugin and try to get the behavior of autoindenting to the right spot like Textmate does when pressing Return in between brackets, parens, etc. This works occasionally for me, but sometimes spits out an error in the expression: " Textmate style auto indenting when pressing Return inside a pair of empty brackets inoremap <expr> <CR> delimitMate#WithinEmptyPair() ? \ "\<C-R>=delimitMate#ExpandReturn()\<CR>" : \ "<CR>" Any ideas on how to clean that up? Appreciate the help. -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
