diff --git a/vim/vimrc b/vim/vimrc index 1482039..8cb40be 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -311,3 +311,8 @@ endif let g:ycm_server_python_interpreter = "python3" au FileType html setl shiftwidth=2 + +" Use // in visual mode to search for selection +" https://vim.fandom.com/wiki/Search_for_visually_selected_text + +vnoremap // y/\V=escape(@",'/\')