So simple. Thanks a bunch! Alain
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of John Beckett Sent: May 11, 2009 00:04 To: [email protected] Subject: RE: gVim Find & Replace shortcut keys Alain Forget wrote: > How can I set the shortcut key Ctrl-F to display the > Edit->Find... dialog box, and Ctrl-H to display the > Edit->Find and Replace... dialog box? Amazing ... I vaguely knew this was possible, so had a look and found the following: inoremap <C-F> <C-O>:promptfind<CR> inoremap <C-H> <C-O>:promptrepl<CR> I used the following to find what the commands were: :menu Edit I never use the menus, and would recommend the Vim method of using the command line which has history and <C-R> to insert registers and probably other good stuff. John --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
