Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,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 whomever posted them. This site is not responsible for what they say.
Use Safari to find things more easily in text files
Authored by: mr_dbr on Tue, May 6 2008 at 3:45PM PDT
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 | # ]