News for hackers. Stuff that matters.
Re:What is your favorite keymap/keybindings? Vim/VS Code/Int... by surprisetalk on Tuesday October 24, 2023 @08:59AM (#37998567)
I recommend vim keybindings! They work the same in pretty much all editors, and even browsers. Pick up a browser extension like vimium and feel the power
Re:What is your favorite keymap/keybindings? Vim/VS Code/Int... by m_abdelfattah on Friday October 27, 2023 @09:06AM (#38037911)
Does vim support multiline cursor?
Re:What is your favorite keymap/keybindings? Vim/VS Code/Int... by surprisetalk on Friday October 27, 2023 @09:36AM (#38038257)
• If you're looking for exact Sublime behaviors, there are plugins for that

• If you're looking for visual editing columns together, ctrl+v works with vanilla vim

• If you're looking for find-and-replace behavior, use :%s/find/replace/g

• If you want to repeat a transformation on similar keywords, you can use * to search for the keyword under the cursor and use . to repeat your edit

• If you want to repeat a complicated transformation, you can use q to create a macro and then repeat it with @