Skip to content

Instantly share code, notes, and snippets.

@anbergem
Last active August 15, 2024 07:41
Show Gist options
  • Select an option

  • Save anbergem/92eee644a3802295b6366199b1b7bd2b to your computer and use it in GitHub Desktop.

Select an option

Save anbergem/92eee644a3802295b6366199b1b7bd2b to your computer and use it in GitHub Desktop.
Jetbrains Key Mapping

Remember to turn on sync of keybindings! Settings -> Settings Sync -> Turn on. Make sure "Keymaps" is checked. Always fetch keymappings, never push.

Name Primary Secondary Comment Custom
Editing
Editor Actions - Duplicate Line or Selection ctrl+alt+down
Main Menu - Code - Move Line Down alt+shift+up
Main Menu - Code - Move Line Down alt+shift+down
Main Menu - Code - Commen/Uncomment with Line Comment ctrl+/ alt+- Primary if numpad, else secondary
Main Menu - Code - Commen/Uncomment with Block Comment ctrl+shift+/ alt+shift+- Primary if numpad, else secondary
Main Menu - Code - Override Methods... ctrl+o   Display all overrideable methods from base classes
Editor Actions - Delete Line ctrl+d
Main Menu - Edit - Redo ctrl+y ctrl+shift+z
Main Menu - Edit - Find - Add selection for Next Occurrence alt+j Multi-cursor which finds same as the cursor or selection
Main Menu - Edit - Find - Unselect Occurrence alt+shift+j
Main Menu - Edit - Find - Select All Occurrences ctrl+alt+shift+j
Main Menu - Navigate - Back ctrl+alt+left
Main Menu - Navigate - Forward ctrl+alt+right
Main Menu - Navigate - Related Symbol... ctrl+alt+home Navigate between hpp/cpp or aspx/aspx.cs
Main Menu - Nagivate - Go to line:column ctrl+g
File Navigation
Tool Windows - Explorer alt+1
Tool Windows - X alt+<number> Bind to Tool Window that is used often, for example Python Console
Main Menu - Nagvigate - Select In alt+F1 Select the current file in... e.g., explorer. Very useful.
Other - New... alt+insert When in file explorer, create something new
Search
Search anything! shift + shift Double tap
Search actions / settings ctrl+shift+a
Search in file shift+f
Search in all files ctrl+shift+f
Replace in file shift+r
Replace in all files ctrl+shift+r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment