" .ideavimrc is a configuration file for IdeaVim plugin. It uses " the same commands as the original .vimrc configuration. " You can find a list of commands here: https://jb.gg/h38q75 " Find more examples here: https://jb.gg/share-ideavimrc "" -- Suggested options -- " Show a few lines of context around the cursor. Note that this makes the " text scroll if you mouse-click near the start or end of the window. set scrolloff=1 " Make VIM use the system clipboard set clipboard+=unnamedplus " Do incremental searching. set incsearch " If search string contains a capital letter it will be a case sensitive search, otherwise case insensitive. set ignorecase set smartcase " Don't use Ex mode, use Q for formatting. map Q gq " Enable system clipboard set clipboard = unnamedplus " Remap to zz " Remap to zz let mapleader = "\" let maplocalleader = "\" nnoremap zz nnoremap zz nnoremap nnoremap nnoremap nnoremap map to (GotoFile) map tf (Find) map ta (FindInPath) map dr (Debug) map db (ToggleLineBreakpoint) map s (Stop) map gcc (CommentByLineComment) map gcb (CommentByBlockComment) map ko (SwitchHeaderSource) map rn (RenameElement) map gr (FindUsages) map ca (ShowIntentionActions) map (QuickJavaDoc) map lc (RiderShowIncomingCalls) map [d (GotoPreviousError) map ]d (GotoNextError) map ld (QuickImplementations) map lt (QuickImplementations) map li (ReSharperGotoImplementation) " Highlight copied text Plug 'machakann/vim-highlightedyank' " Commentary plugin Plug 'tpope/vim-commentary' set surround