The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 15: | Line 15: | ||
<pre> |
<pre> |
||
β | nnoremap |
+ | nnoremap <C-F1> :silent! !cmd.exe /c start keyhh.exe -\#klink "<C-R><C-W>" "$ASANY9\docs\dbmaen9.chm"<CR><CR> |
β | vnoremap |
+ | vnoremap <C-F1> :<C-U>let old_reg=@"<cr>gvy:silent!!cmd.exe /cstart keyhh.exe -\#klink "<C-R><C-R>"" "$ASANY9\docs\dbmaen9.chm"<CR><CR>:let @"=old_reg<cr>:echo ""<CR> |
</pre> |
</pre> |
||
β | The nnoremap opens the help file using the |
+ | The nnoremap opens the help file using the <CWORD> that the cursor is on. |
The vnoremap allows you to visually select a block of text and open the search window with that text. It also restores whatever was previously visually selected after the launch. |
The vnoremap allows you to visually select a block of text and open the search window with that text. It also restores whatever was previously visually selected after the launch. |