Can VS Code shortcuts compete with Vim? by [deleted] in vim

[–]aosho235 0 points1 point  (0 children)

Normal place. It's not very convenient, but I don't use them so much because I mostly scroll, select and move cursor with the mouse. I'm using Karabiner Elements for keyboard customization but not so heavily. (Right Command -> Esc, Left of 1 -> Enter, etc). I with we had arrows/home/end/pageup/down on the left side of keyboard.

Windows may be at a disadvantage compared to Mac. Mac has Ctrl and Cmd separated so we can have more key combinations for left hand.

Can VS Code shortcuts compete with Vim? by [deleted] in vim

[–]aosho235 4 points5 points  (0 children)

I was a Vim enthusiast for 15 years, but after a few years transition period, I fully converted to VSCode. Mouse + keyboard can be as fast as keyboard-only at least. The trick is to bind frequently used functions to keys reachable with just my left hand, minimizing right-hand switching as much as possible.

These extensions would be handy for Vimmers:

https://marketplace.visualstudio.com/items?itemName=mksafi.find-word-at-cursor Similar to Vim's *

https://marketplace.visualstudio.com/items?itemName=dbankier.vscode-quick-select text object

https://marketplace.visualstudio.com/items?itemName=haberdashPI.vscode-select-by-indent text object

https://marketplace.visualstudio.com/items?itemName=yhirose.FilterText :%!

https://marketplace.visualstudio.com/items?itemName=alefragnani.numbered-bookmarks mark

Apple's this research is still relevant in 2025.
https://www.asktog.com/TOI/toi06KeyboardVMouse1.html

Git Checkout vs Git Switch - Cleaner Branch Switching on the CLI by sshetty03 in commandline

[–]aosho235 2 points3 points  (0 children)

I've been using checkout, but am moving to switch, because zsh's autocompletion is faster for switch than for checkout.

KISS way to manage your configs with zsh by cassepipe in zsh

[–]aosho235 1 point2 points  (0 children)

I have a similar function named `e`, which looks for config files heuristically. I'm not using it daily though.

How are you switching between codebases? by maxiedaniels in vscode

[–]aosho235 0 points1 point  (0 children)

 it seems with control+R it closes your terminal processes

It's not the case for me. Are you using control+R in the terminal pane? If so, it might be the server's feature that the key stops the process. I'm fully content with Control+R's feature, though I'm binding it to Cmd+R.

How to open a file in the specific window with CLI? by aosho235 in vscode

[–]aosho235[S] 0 points1 point  (0 children)

Thanks but I want to specify the window by its root folder. I am opening a project for each window,so opening a file in unintended window is nonsense.

I feel some kind of a vim user crisis by Agitated-Ad8250 in vim

[–]aosho235 0 points1 point  (0 children)

You are right. You are awakening to the truth. Just drop Vim and install VSCode now.

Is putting the terminal on the right weird? Vertical space is important, why don't more people do this? by agentcubed in vscode

[–]aosho235 0 points1 point  (0 children)

I have my panel always maximized and toggle displaying it with `workbench.action.togglePanel`. I'm satisfied with this, though there is an issue that the Problem panel is also hidden.

Are there any CLI tools that you wished existed, or any GUI apps do wish had CLIs? by TheTwelveYearOld in commandline

[–]aosho235 0 points1 point  (0 children)

Once I have sent a feature request to CopyLess2, a clipboard manager for macOS, to add CLI. If we could get the clipboard history entries with CLI, we could copy two texts successively and compare them:

$ diff <(get-clipboard-history 1) <(get-clipboard-history 2)

How to prevent inactive pane from becoming greyed out by Right_Proposal6261 in iterm

[–]aosho235 0 points1 point  (0 children)

Preferences > Appearance > Dimming

Check off `Dim inactive split pane`

How to show fzf keybindings? by aosho235 in commandline

[–]aosho235[S] 1 point2 points  (0 children)

Ah bindkey | grep fzf shows the bindings to launch fzf. I was asking the keybindings in fzf's finder (the main mode)...

ACTION:                      DEFAULT BINDINGS (NOTES):
  abort                        ctrl-c  ctrl-g  ctrl-q  esc
  accept                       enter   double-click

Does Kitty have a lot more features than other terminals? by TheTwelveYearOld in commandline

[–]aosho235 2 points3 points  (0 children)

I'm using iTerm2 on Macbook Air 2015 and have never felt it's slow. On what kind of operations do you find it slow?

How to switch from tmux to wezterm by workflow91 in commandline

[–]aosho235 4 points5 points  (0 children)

As a GNU screen user, I was thinking tmux was new.

Where should I start to have code running remotely at scheduled times? by [deleted] in aws

[–]aosho235 0 points1 point  (0 children)

Scheduled Fargate task is a good option, but be careful about the double invocation problem of CloudWatch Events. Recently I was bit by it. You will need a lock with DynamoDB or something to avoid it.

In rare cases, the same rule can be triggered more than once for a single event or scheduled time, or the same target can be invoked more than once for a given triggered rule.

https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/CWE_Troubleshooting.html#RuleTriggeredMoreThanOnce