On 22.03.14 07:00, Tim Chase wrote:
> 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.
And, dangnabit, if I'd more closely scrutinised ":h :put", then I'd have
realised that:
:nnoremap <m-?> :put=\"Hello\"<cr>
would have let me get your first example to work too.
Erik
--
If you understand what you're doing, you're not learning anything.
- A. L.
--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment