On May 18, 11:32 am, robert song <[email protected]> wrote: > > Yes, :! will start a new shell to run the command in. Since it's new, it > > has no history. Try: > > > :!echo "I haz history";history > > Shawn, > thank you for your reply, > so is there any way to read the history result to current window ? > just like the other command :r!date. > If this can be done, it's convenient to search for some commands and > execute in the vim.
Robert, Try this... !bash -ic 'set -o history; history' Brett Stahlman > > Best Regards, > robert > > -- > 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, visithttp://www.vim.org/maillist.php -- 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
