Useful Vim commands/settings ⌨️
Useful Vim commands/settings ⌨️
Native vim
set clipboard^=unnamed,unnamedplus- use system clipboard when yank(y) and paste(p) 📋let mapleader = " "- set leader key to space ⌨️@@- repeat last macro 🔁ZZ- save and exit 💾ZQ- exit without saving ❌
IdeaVim
noremap <c-/> :action CommentByLineComment<CR>- comment line 💬noremap gi :action GotoImplementation<CR>- go to implementation 🔍noremap <Leader>d :action ToggleDistractionFreeMode<CR>- toggle distraction free mode 🧘noremap gO :action FileStructurePopup<CR>- file structure popup 🗂️noremap <c-k> :action ShowErrorDescription<CR>- show error description ❌noremap L :action NextTab<CR>- next tab ➡️noremap H :action PreviousTab<CR>- previous tab ⬅️
This post is licensed under CC BY 4.0 by the author.