My vimrc configuration
Utility available in PATH environment variable:
Font Installed:
winget install Git.Git
winget install BurntSushi.ripgrep.MSVC
git clone --recursive https://github.com/aphroteus/vimfiles.git %UserProfile%\vimfiles
git clone --recursive https://github.com/aphroteus/vimfiles.git ~/.vim
Hotkeys in normal mode:
-
Search cursor focused keyword:
- Move the cursor on keyword, then press
<F2>
- Move the cursor on keyword, then press
-
Search input keyword or string:
- Press
<F3> + keyword + <CR> - Press
<F3> + "the string" + <CR>
- Press
-
Switch between the buffers:
- Press
[bto previous buffer - Press
]bto next buffer - Press
<Leader>bdto close current buffer without closing split window
- Press
-
Configuration file management:
- Press
<Leader>evto edit vimrc - Press
<Leader>svto reload vimrc in place
- Press
-
Clipboard operations:
| Mode | Shortcut | Action |
|---|---|---|
| Normal | <C-v> |
Paste from clipboard (cursor placed at end of paste) |
| Normal | <C-q> |
Enter Visual Block mode |
| Normal | cs |
Copy relative file path to clipboard |
| Visual | <C-c> |
Copy selection to clipboard |
| Visual | <C-x> |
Cut selection to clipboard |
| Visual | <C-v> |
Paste / replace selection with clipboard content |
| Insert | <C-v> |
Paste from clipboard (preserves indentation, creates undo boundary) |
| Command-line | <C-v> |
Paste from clipboard into command line |