On 2014-03-22 20:08, Erik Christiansen wrote: > > I ran the cmds: :nnoremap <m-?> :put="Hello"<cr>. > > In command mode, Alt-? the line at the bottom of the screen > > shows :put="Hello". > > Trying it here, the problem is not with the mapping, but that > the :put command fails, even when executed manually: > > :put="Hello" > > > causes insertion of a newline only.
Grr...that's what I get for mistranscribing what should have been single-quotes instead of double-quotes: :nnoremap <m-?> :put='Hello'<cr> which should insert the line "hello" below the cursor. -tim -- -- You received this message from the "vim_use" 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
