" --- Links to remember " Plugins: https://jb.gg/ideavim-plugins " IDE actions: https://jb.gg/abva4t map let mapleader = " " set showmode set showcmd set scrolloff=0 " Line numbers set number set relativenumber " Navigation between lines noremap j gj noremap k gk " Search set ignorecase set smartcase set incsearch set hlsearch " Quickly play macros nnoremap Q @q " Switch buffers nnoremap :bp nnoremap :bn " Switch panes nnoremap h nnoremap j nnoremap k nnoremap l " yank/paste with system clipboard nnoremap y \"+y nnoremap Y \"+Y vnoremap y \"+y vnoremap Y \"+Y nnoremap p \"+p nnoremap P \"+P vnoremap p \"+p vnoremap P \"+P " General mappings map :nohls map :q map :NERDTreeToggle nmap :m-2 nmap :m+1 let g:NERDTreeMapQuit="" " IDE actions nmap F (ReformatCode) nmap i (ShowHoverInfo) nmap of (RecentFiles) nmap ? (FindInPath) nmap sf (GotoFile) nmap af (GotoFile) nmap rn (RenameElement) nmap ru (Run) " Plugins Plug 'machakann/vim-highlightedyank' Plug 'tpope/vim-commentary' Plug 'tpope/vim-surround' Plug 'preservim/nerdtree' set peekaboo