https://kotlinlang.org logo
#random
Title
# random
m

Md Sohail

03/04/2024, 4:01 PM
Anyone here who uses IdeaVim plugin in android studio, I need a help, basically I want to replace my escape key with Caps lock key? any help would be appreciated
t

Todd

03/04/2024, 4:16 PM
What is your OS/display server? Here's a guide for macos: https://vim.fandom.com/wiki/Map_caps_lock_to_escape_in_macOS
m

Md Sohail

03/04/2024, 4:20 PM
sorry but I am using windows pc
j

jaguililla

03/04/2024, 7:13 PM
It's been a long time since I don't use Windows, back then I used a very useful program called AutoHotKey. You can check the config I had here: https://github.com/jaguililla/dotfiles/blob/windows/windows/init.ahk
m

Md Sohail

03/05/2024, 12:23 PM
The cursor is blinking over 's' but when i enter the insert mode the cursor starts to write from the letter before 's' I hope you understand what I want to ask.. so how do you guys manage this?
t

Todd

03/05/2024, 2:30 PM
Unless I'm misunderstanding, that's how vim works. You can press
a
(append) to start after the s.
☝️ 1
m

Md Sohail

03/05/2024, 2:37 PM
Woah thanks
One last question, does vim really make a big difference if we get familiar with it? I mean is it worth learning? If I am interested?
t

Todd

03/05/2024, 3:11 PM
Everyone will have a different answer to that. Personally I could never go back, but I don't think it has necessarily sped me up. For me, not having to touch the mouse makes me more willing to make changes than I would be otherwise (b/c I'm lazy and don't want to move back and forth between the keyboard and mouse). Plus it's easy to create macros and plugins to do whatever you want it to do. You'll also find that many different programs have support for vim emulation, meaning you only have to learn one editor which you can use anywhere.
☝️ 1
A good place to get started is using the command line program
vimtutor
m

Md Sohail

03/05/2024, 3:17 PM
Everyone is talking about macros, it must be something really useful
I also don't want to touch mouse, I like to do everything just by keyboard
I am practicing it in android studio and when I think I have to do some serious work, I can just disable it
4 Views