" Find more examples here: https://jb.gg/share-ideavimrc let mapleader = " " " Default Settings "set scrolloff=5 set rnu set number set incsearch set wrap " Plugins set ideajoin Plug 'tpope/vim-commentary' Plug 'tpope/vim-surround' Plug 'preservim/nerdtree' nmap tr :NERDTreeFocus Plug 'easymotion/vim-easymotion' let g:EasyMotion_do_mapping = 0 set easymotion nmap gw (easymotion-bd-w) " Keymaps nmap bd :bd nmap { :bp nmap } :bn nmap w nmap fs :w " Move lines in visual mode vmap J :m '>+1gv=gv vmap K :m '>-2gv=gv " -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t nmap if :(ReformatCode) nmap ib :(ToggleLineBreakpoint) nmap ir :(IdeaVim.ReloadVimRc.reload) nmap :(SearchEverywhere) nmap it :(ActivateTerminalToolWindow) nmap / :(FindInPath) nmap gy :(GotoTypeDeclaration) " Harpoon Binds nmap (ShowHarpoon) nmap a :(AddToHarpoon) nmap :(GotoHarpoon1) nmap :(GotoHarpoon2) nmap :(GotoHarpoon3) nmap :(GotoHarpoon4) nmap :(GotoHarpoon5)