> Excerpts from Benjamin R. Haskell's message of Wed Jul 28 20:00:13 +0200 2010:
> > E.g. Given: Goa<cr>b<esc>
> > 
> > How do I get Vim to execute the 'G' command, 'o' command, insert an 
> > 'a' followed by a newline and a 'b', then exit insert mode?
> > 
> > Is the easiest way to create a script-specific mapping (via :exe 
> > ':map <script> ...')?
> 
> There is also
> :call append(line('$'),["before last","append last")
> 
Thanks.  That's good for this particular example.  For my use-case, I 
like the compactness of Goa<cr>b<esc>.
-- 
Best,
Ben
-- 
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
 
No comments:
Post a Comment