Web searching based on the current filetype.
ffs: [F]iletype [F]ocused [S]earch
While I'm working in a python file, performing a search for the word Class
in a web search engine probably won't give me helpful results; searching
python Class
probably will.
:FFS {query}
without a query to search the current word, with a query to search for the query, all scoped to the current filetype.
See the docs for configuration options.
Use your favourite plugin manager to install this plugin. I like vim-plug
:
Plug 'dbatten5/vim-ffs'