Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To create Ctrl+f shortcut in Vim, follow the below steps: 1. Press the "esc" key to switch to command mode 2. Type ":map <c-f> /" (without quotes) 3. Press "enter" to execute the command

To create Ctrl+Shift+f shortcut in Vim, follow the below steps: 1. Press the "esc" key to switch to command mode 2. Type ":map <c-s-f> ?" (without quotes) 3. Press "enter" to execute the command

After executing these commands, you can use Ctrl+f to search for text from the cursor position forward, and Ctrl+Shift+f to search for text from the cursor position backward.