#Keybindings for Jetbrains IDEs

1 messages Β· Page 1 of 1 (latest)

hidden vigil
#

Hiya, slightly weird question: Does anyone use Intellij or any Jetbrains IDEs only with the keyboard, or at least, with minimal mouse usage? Coming from vim I really, really, really don't wanna reach for the mouse. If so, please enlighten me, I can't seem to figure out how this IDE wants me to use it except by clicking all over the place....

Thanks!

golden stormBOT
#

<@&987246964494204979> please have a look, thanks.

#

Here is an AI assisted attempt to answer your question πŸ€–. Maybe it helps! In any case, a human is on the way πŸ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#
TJ-Bot
Hiya, slightly weird question: Does anyone use Intellij or any Jetbrains IDEs only with the keyboard, or at least, with minimal mouse usage? Coming from vim I really, really, really don't wanna reach for the mouse. If so, please enlighten me, I can't seem

Using JetBrains IDEs primarily with the keyboard is definitely doable and common, especially among Vim users or those aiming for efficiency. JetBrains actually supports this mindset very well:

  • Keymap presets: You can switch your keybindings to Vim mode (via the IdeaVim plugin), which brings most Vim features into the IDE.
  • Extensive shortcuts: Navigation, editing, refactoring, running, debuggingβ€”all have rich keyboard shortcuts that minimize mouse dependency.
  • Search Everywhere (Shift+Shift): Quickly opens files, symbols, actions, and more without mouse usage.
  • Find Action (Ctrl+Shift+A): Allows triggering any IDE command directly via keyboard.
  • Structural navigation: Jump between classes, methods, usages, and errors efficiently.
  • Custom shortcuts: You can always customize or add shortcuts that fit your workflow.

Many users coming from Vim find the IdeaVim plugin invaluable, but even without it, IntelliJ’s keyboard-first features make mouse usage optional rather than required. Mastering these shortcuts takes time but dramatically speeds up coding sessions.

Useful links:

hidden vigil
lapis vortex
#

what would you like more?

#

this exist too

hidden vigil
#

so say I wanna add another java class to my project

#

how do I do that without the mouse?

lapis vortex
#

alt + 1

#

alt + insert

hidden vigil
#

OOoh

#

see that's not explained in ye document

lapis vortex
#

xD just ask it is simpler

hidden vigil
#

Do you use intellij keyboard-only?

lapis vortex
#

lol, I am not sure of 1 place where all is there

hidden vigil
#

if so did you change any binds? Do you have any tips?

#

<tangent>FUCK my 40% keyboard does not have an insert key</tangent>

lapis vortex
#

capsule like this exist

#

but they are so many and in small parts

hidden vigil
#

also how do you sort tabs and split your view with only the keyboard?

lapis vortex
#

ctrl + shift + a

#

then you write what you want

#

split vertical

hidden vigil
#

ewww gross

lapis vortex
#

yeah...

hidden vigil
#

command palette for basic windows management

pearl peak
#

There's a vim plugin(s)

hidden vigil
#

oh I guess I could use vim binds...

#

also can I make goto-definition open the definition in the current view instead of going to whatever view has the file open?

#

that just messes up my splits

#

Also how do I move files in the filetree with only the keyboard?

#

do i have to go to terminal and cd and ls my way around?

golden stormBOT
#

@hidden vigil

Your question has been closed due to inactivity.

If it was not resolved yet, feel free to just post a message below
to reopen it, or create a new thread.

Note that usually the reason for nobody calling back is that your
question may have been not well asked and hence no one felt confident
enough answering.

When you reopen the thread, try to use your time to improve the quality
of the question by elaborating, providing details, context, all relevant code
snippets, any errors you are getting, concrete examples and perhaps also some
screenshots. Share your attempt, explain the expected results and compare
them to the current results.

Also try to make the information easily accessible by sharing code
or assignment descriptions directly on Discord, not behind a link or
PDF-file; provide some guidance for long code snippets and ensure
the code is well formatted and has syntax highlighting. Kindly read through
https://stackoverflow.com/help/how-to-ask for more.

With enough info, someone knows the answer for sure πŸ‘

sudden mason
hidden vigil
#

ooooo

#

i'll check it out thanks

sudden mason
#

@hidden vigil and if you had an insert key: ctrl+alt+insert would allow you to create a new class/file whatever next to where you're currently.

With alt+insert, you generally need to move focus to a package first

hidden vigil
#

Fuck okay i'll see if I can edit my layout to accomodate an insert key somewhere

sharp lagoon
#

I need an insert man :D, how else do I terminal

sharp lagoon
sudden mason
#

@sharp lagoon could remap caps lock πŸ™ƒ

sharp lagoon
#

That's what I use

#

Caps lock is my layer key

hidden vigil
#

I use a 40% 😭 (corne keyboard)

sharp lagoon
#

yeah, I'm a professional developer

#

I have limits

#

65 to me is perfect. I have all the buttons I need, including arrows, home end pgup and pgdn

hidden vigil
#

Yeah im a professional... uh... hobbyist

sharp lagoon
#

yeha

#

Figure out an insert key first

#

"layers"

#

pffs

hidden vigil
#

yeah im just an idiot i forgot to put it on one of the layers 😭

sharp lagoon
#

So eehm

#

ctrl-alt-shift-insert is a shortcut in intellij

sudden mason
#

That's why I use a full keyboard πŸ˜‡

sudden mason
sharp lagoon
#

make sure you can use most special keys together

sharp lagoon
sudden mason
#

I wasn't kidding

hidden vigil
#

do they want me to get carpal tunnel

#

"emacs pinky" how about "intellij wrist"

sharp lagoon
#

You need easy access to all control buttons

#

#justsaying

sharp lagoon
#

ctrl-alt-shift left/right is also SUPER useful

#

That one always surprises coworkers

#

Esp followed with some alt-enter magic

sudden mason
#

And ctrl+alr+shift+up/down for something very different but also super useful

sharp lagoon
#

I need to try that one πŸ˜„

#

Is that the move block?

sudden mason
#

Gets you to the nearest modified block of code

sharp lagoon
#

That's ctrl-shift-up/dn right?

sharp lagoon
#

Even after 10 years you still learn new ones πŸ˜„

sudden mason
#

Opens the pop-up for it as if you clicked on the gutter "modification line", so you can also revert it right away with ctrl+alt+z, but also just useful to flip through your changes and add some more

sharp lagoon
#

yeah, that's different than the one from commit view I think

sudden mason
#

The shortcut? Yeah, there it's F7 I believe

sharp lagoon
#

hmm, I think I might use yours on commit view already

sudden mason
#

But F7 also doesn't open the overlay

hidden vigil
#

jesus these keymaps actually cause carpal tunnel this is crazy

#

frankly this is just convincing me that vim or vscode is the way

#

but thanks for letting me know they exist, I'm probably gonna remap the hell out of them

sharp lagoon
#

Just use vim bindings

#

An IDE beats a text editor every day of the week

hidden vigil
sharp lagoon
#

Blind much lol

hidden vigil
#

yeah that doesn't come with a keybinding to move files in the explorer

sharp lagoon
#

F6

#

like...

hidden vigil
#

yeah

hidden vigil
#

also no binding for this

sharp lagoon
#

yeah, you choose the vim way

#

you deal with it

hidden vigil
#

vscode's vim plugin actually lets you bind any editor action to any vim combo

sharp lagoon
#

this one does as well

#

I know my coworkers do it

hidden vigil
#

🧐 do i suck at reading docs

sharp lagoon
#

there's like a million options in intellij and almost anything can be customized

sudden mason
#

I tried the vom plugin once, there's tons of conflicts, wasn't worth it for me

sharp lagoon
#

Although I only change 2 or 3 settings from the defaults

#

Using defaults is just so much easier when moving computers etc

hidden vigil
sudden mason
#

And I feel like the kind of line editing that vim provides is rarely useful when working in IntelliJ, I'd keep it off by default, IntelliJ is more about semantic editing than character by character changes

sharp lagoon
#

well, that's because this tool has a purpose. It's not just a general text editor

hidden vigil
hidden vigil
#

actual neovim can do this ezpz

sharp lagoon
#

then use neovim πŸ™‚

hidden vigil
#

well yeah im trying to be open-minded here

#

and learn the most popular thing

sharp lagoon
#

I do want to see neovim rename a method across a 100 files simultaneously

sudden mason
hidden vigil
sharp lagoon
#

Yeah, and that is what an IDE is for

hidden vigil
sharp lagoon
#

There is no filesystem management in Java projects

sharp lagoon
#

You just move classes around

hidden vigil
hidden vigil
sharp lagoon
#

all of those shortcuts we mentioned work in those as well

hidden vigil
#

ye

sharp lagoon
#

So if you're already using those, I don't see the issue

hidden vigil
#

that's really awesome

hidden vigil
#

i just need to figure out how jetbrains wants me to tile windows

#

but I see they recently added a few really helpful settings for that πŸ‘€

sharp lagoon
#

what wm are you using?

hidden vigil
#

hyprland

sharp lagoon
#

on nix or arch right?

hidden vigil
#

fedora

sharp lagoon
#

hmm, more basic than I imagined

hidden vigil
#

dual booted with windows

#

need secure boot

sudden mason
#

Tiling in IntelliJ is cumbersome

hidden vigil
#

arch and nix don't support secure boot

sharp lagoon
#

Yeah, I just installed Ubuntu, because I want shit to just work

#

I just want to make stuff, and I'm too old to mess with configs and shit

sudden mason
sharp lagoon
#

I most of the time have only a single file open

#

I just switch through files and keep context in my brain

sharp lagoon
#

I also only have a single monitor

hidden vigil
#

fedora also "just works" but it has newer packages

sudden mason
sharp lagoon
#

yeah, hence the dual booted Ubuntu...

#

Problem is being stuck in your ways lol

hidden vigil
#

Or as I like to call it, Uwubuntu πŸ˜‚

sharp lagoon
#

lol

#

anyway, game's downloaded

#

cya

hidden vigil
#

see ya thanks for the help ❀️

sharp lagoon
#

yw

hidden vigil
#

sorry it's c++ i don't have the java sdk installed on windows

#

just a poc

sudden mason
#

@hidden vigil that's shift-F6 in IntelliJ

In some places, you can also just change the name and the invoke the refactoring after the fact with alt+enter. When changing a method signature for example

#

@hidden vigil can you go into normal mode within that overlay?

hidden vigil
#

yea i did

#

see the ciw i did in that overlay?

#

if you look closely you'll see normal mode on the bottom while im in the overlay for a short moment

sudden mason
#

Ah yeah, I see it now

hidden vigil
sudden mason
#

With the newest version, you can also just type ".rename" after some stuff

sharp lagoon
#

ooh I love the postfix things

sudden mason
sharp lagoon
#

.reqnonnull is a very common one

#

I have a custom Check.nonNull in my own project so I added a .cnn for that

sudden mason
#

Oh for templates I agree, thought you meant the new actions/intentions

sharp lagoon
#

.var, .return, .if, .not, ...

golden stormBOT
# sharp lagoon .var, .return, .if, .not, ...

Looks like you attempted to use a command? Please note that we only use slash-commands on this server πŸ™‚

Try starting your message with a forward-slash / and Discord should open a popup showing you all available commands.
A command might then look like /foo πŸ‘

sharp lagoon
#

no bot

sudden mason
#

@sharp lagoon I also use the plugin custom postfix expressions. Super handy, also has things like string.toInt and such

sharp lagoon
#

I'll check it out

sudden mason
#

Streamlines things like offering .first or .stream everywhere

hidden vigil
#

dont those custom postfix expressions pollute the LSP suggestions?

sudden mason