Check this Vim tip: Search for visually selected text
Or you can simply yank the selected text with y and go to search mode /, then you can paste the last yanked text with Ctrl+R 0
More Related Contents:
- How to insert text at beginning of a multi-line selection in vi/Vim
- vim remove non existing mapping [closed]
- How does the vim “write with sudo” trick work?
- Vim: apply settings on files in directory
- What’s a quick way to comment/uncomment lines in Vim?
- Indent multiple lines quickly in vi
- Why does Vim save files with a ~ extension?
- How to copy to clipboard in Vim?
- In Vim is there a way to delete without putting text in the register?
- Can I map Alt key in Vim?
- Make Vim show ALL white spaces as a character
- How to get visually selected text in VimScript
- How to map Shift-Enter
- How to create an alias for a command in Vim?
- Saving vim macros
- Can vim monitor realtime changes to a file
- How do I make Vim do normal (Bash-like) tab completion for file names?
- What is the in a .vimrc file?
- How to prevent vim from creating (and leaving) temporary files?
- vim, switching between files rapidly using vanilla Vim (no plugins)
- Working with huge files in VIM
- Smart Wrap in Vim
- How to redirect ex command output into current buffer or file?
- Is it possible to display indentation guides in Vim?
- cscope or ctags why choose one over the other? [closed]
- Vim: Pipe selected text to shell cmd and receive output on vim info/command line
- Pathogen does not load plugins
- How to open a file in a list of files in Vim?
- Enabling markdown highlighting in Vim
- How to get path to the current vimscript being executed