Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use Safari to find things more easily in text files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use Safari to find things more easily in text files
Authored by: Anonymous on May 06, '08 03:45:59PM

You can assign a keyboard shortcut to toggle the hlsearch options:
map <F6> :se number!<CR>
map <F7> :set hlsearch!<CR>

in your ~/.vimrc file - then F6 will toggle line-numbers (Which is useful since copy/pasting breaks with line numbers on), and F7 to toggle highlight search



[ Reply to This | # ]