139475Re: Access recent searches when in command mode
- Oct 9, 2013
This is my solution (in ~/.vimrc):>I do a lot of pattern-matching searches using the / search command. Then when I've settled on the correct regular expression that grabs just the right group of characters I want, I go :s/ to start a substitution command. Now I'm in the middle of the substitution command and I have to re-enter my complex regular expression that's in my search history from before. Is there an easy way to yank it so Ii don't to re-type it?
" Switch between command line commands--
cmap <silent> <c-g> <c-f>:call cmdline#switch('g')<cr>
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@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic