""" Map leader to space --------------------- let mapleader=" " """ Plugins -------------------------------- set surround set multiple-cursors set commentary set argtextobj set easymotion set textobj-entire set ReplaceWithRegister " Highlight copied text (no `set` shorthand for this one) Plug 'machakann/vim-highlightedyank' """ Plugin settings ------------------------- let g:argtextobj_pairs="[:],(:),<:>" """ Common settings ------------------------- set showmode set scrolloff=5 set incsearch set nu """ Idea specific settings ------------------ set ideajoin set ideastatusicon=gray set idearefactormode=keep set visualbell set noerrorbells """ Mappings -------------------------------- map f (easymotion-s) map e (easymotion-f) """ Toggle relative line numbers map rn :set relativenumber! map R (RenameElement) map c (Stop) map z (ToggleDistractionFreeMode) map s (SelectInProjectView) map a (Annotate) map h (Vcs.ShowTabbedFileHistory) map (GotoNextError) map b (ToggleLineBreakpoint)