"" Source your .vimrc "source ~/.vimrc let mapleader = " " ""editor config "" -- 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=8 " Do incremental searching. set incsearch set relativenumber set number ""plugins Plug 'preservim/nerdtree' Plug 'machakann/vim-highlightedyank' set sneak " Don't use Ex mode, use Q for formatting. map Q gq ""Jetbrains actions mapping map dc (QuickJavaDoc) map fc (ReformatCode) ""if csharpier plugin and csharpier itself is installed you can use this for formatting ""map fc (com.intellij.csharpier.ReformatWithCSharpierAction) map gd (GotoDeclaration) map ed (ShowErrorDescription) map bd (BuildWholeSolutionAction) map ru (Run) map de (Debug) map tb (ToggleLineBreakpoint) map qi (QuickImplementations) map pf (GotoFile) map ps (TextSearchAction) map hw (HideActiveWindow) map hwa (HideAllWindows) map sw (JumpToLastWindow) map pe (SearchEverywhere) ""dotnet specific actions map emm (EfCore.Features.Migrations.AddMigrationAction) map emr (EfCore.Features.Database.RemoveMigrationAction) map edu (EfCore.Features.Database.UpdateDatabaseAction) map dnc (Rider.Web.DotNetUserSecrets) map dng (ActivateNuGetToolWindow) ""convenient remaps nnoremap :m .+1== nnoremap :m .-2== nnoremap :m .+1== nnoremap :m .-2== nnoremap zz nnoremap zz "" copy to system clipboard nnoremap y \"+y vnoremap y \"+y nnoremap Y \"+Y nnoremap dd \"_d ""tab remap nnoremap 1 1gt nnoremap 2 2gt nnoremap 3 3gt nnoremap 4 4gt nnoremap 5 5gt nnoremap 6 6gt nnoremap 7 7gt nnoremap 8 8gt nnoremap 9 9gt nnoremap q :q ""nerdtree remaps nnoremap ft :NERDTreeFocus nnoremap tt :NERDTreeToggle "" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t "" Map \r to the Reformat Code action "map \r (ReformatCode) "" Map d to start debug "map d (Debug) " Find more examples here: https://jb.gg/share-ideavimrc