Skip to content

Instantly share code, notes, and snippets.

@andreyka26-git
Created March 12, 2025 11:52
Show Gist options
  • Save andreyka26-git/4a612d8b03423c80f3a60914ee0d6b6c to your computer and use it in GitHub Desktop.
Save andreyka26-git/4a612d8b03423c80f3a60914ee0d6b6c to your computer and use it in GitHub Desktop.
Vim motions plugin configuration
"" Source your .vimrc
"source ~/.vimrc
"" -- 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=5
" Do incremental searching.
set incsearch
" Don't use Ex mode, use Q for formatting.
map Q gq
set clipboard+=unnamed
set hlsearch
nmap g] :action GotoImplementation<CR>
"" -- Map IDE actions to IdeaVim -- https://jb.gg/abva4t
"" Map \r to the Reformat Code action
"map \r <Action>(ReformatCode)
"" Map <leader>d to start debug
"map <leader>d <Action>(Debug)
"" Map \b to toggle the breakpoint on the current line
"map \b <Action>(ToggleLineBreakpoint)
" Find more examples here: https://jb.gg/share-ideavimrc
@andreyka26-git
Copy link
Author

The vim configuration that I'm using for VSCode / VS / Rider / Cursor.

Effects:

  • uses system clipboard for yank and paste
  • highlights words when sarching
  • "g]" as go to implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment