""" Basic Configs """ let mapleader = " " " set to """ Options """ " search for actions: :actionlist "" Vim Compat "" set clipboard=unnamedplus,unnamed,ideaput " integrate with system clipboard set gdefault " substitute all occurrences in line per default set history=4096 " keep x lines of command line history set hlsearch set ignorecase set incsearch set keymodel=startsel,stopsel set matchpairs+=<:> set showcmd set smartcase " no ignore case when pattern is uppercase set wrapscan " searches wrap around the end of the file "" IDE Settings "" set scrolloff=5 set sidescrolloff=10 "" IDE Features "" set relativenumber " Hybrid Line Number shown "" IdeaVim Only "" set ideajoin set ideastatusicon=enabled """ Plugins """ Plug 'justinmk/vim-sneak' Plug 'preservim/nerdtree' Plug 'tpope/vim-surround' Plug 'tpope/vim-commentary' Plug 'terryma/vim-multiple-cursors' Plug 'machakann/vim-highlightedyank' Plug 'easymotion/vim-easymotion' """ Keybindings """ "" edit ideavim config v + "" nnoremap vv :e ~/.ideavimrc nnoremap vr :source ~/.ideavimrc "" NERDTree "" nnoremap e :NERDTreeToggle "" EasyMotion "" nmap s (easymotion-f) nmap S (easymotion-F) "" Sneak "" nmap f (sneak-s) nmap F (sneak-S) "" Miscs "" nnoremap : :action GotoAction "" AI Related a + "" nnoremap ac :action copilot.chat.show nnoremap ad :action copilot.disableCopilot nnoremap ae :action copilot.enableCopilot nnoremap ai :action copilot.openCopilot "" Codes Action c + "" nnoremap cf :action ReformatCode nnoremap cs :action GotoSymbol nnoremap c/ :action CommentByLineComment "" Project Action p + "" nnoremap pr :action Run nnoremap pd :action Debug nnoremap pb :action Build "" Files Action f + "" nnoremap fe :NERDTreeToggle nnoremap ft :action ActivateTerminalToolWindow "" Tab Actions + "" nnoremap :action Switcher "" Collapse and Expand z + "" nnoremap zi :action ExpandCollapseToggleAction nnoremap zc :action CollapseRegion nnoremap zC :action CollapseRegionRecursively nnoremap zM :action CollapseAll nnoremap zo :action ExpandRegion nnoremap zO :action ExpandRegionRecursively nnoremap zR :action ExpandAll "" don't lose selection when indenting "" vnoremap < >gv vnoremap = =gv nnoremap a :action FindInPath nnoremap gd :action GotoDeclaration nnoremap gtd :action GotoTypeDeclaration nnoremap gtD :action QuickTypeDefinition nnoremap gr :action ShowUsages nnoremap gi :action GotoImplementation nnoremap gpi :action QuickImplementations nnoremap gs :action GotoSuperMethod nnoremap ga :action nnoremap gq :action ShowIntentionActions nnoremap ge :action GotoNextError nnoremap :action ParameterInfo inoremap :action ParameterInfo "" Refractor r + "" nnoremap ri :action Inline nnoremap rr :action RenameElement nnoremap rev :action IntroduceVariable vnoremap rev :action IntroduceVariable nnoremap rem :action ExtractMethod vnoremap rem :action ExtractMethod nnoremap rm :action Move nnoremap ro :action OptimizeImports nnoremap rG :action Generate """ Handling Ctrls """ sethandler n-v:vim i:ide sethandler a:ide sethandler > a:ide