Re:Ask HN: What feature did you find after years of using ma...
by IggleSniggle on Saturday August 08, 2020 @12:14PM
(#24092741)
Wow, I use these all the time in VSCode but didn’t realize it wasn’t specific to that application. This works especially well when combined with multi-cursor selection: place whatever 10 cursors for 10 sets of like information, Option-Shift-Arrow to select multiple like-code blocks by word.
This experience alone was enough to convince me it was time to learn vim.
Re:Ask HN: What feature did you find after years of using ma...
by soylentgraham on Saturday August 08, 2020 @12:15PM
(#24092763)
Ive always found it frustrating there aren't quite the same number of tricks here as windows/visual studio.
Home/ctrl+home (Or end, to jump lines/doc) Ctrl+up (or down, to scroll without moving cursor)
I forget these others, but I keep trying to use these in osx.
Re:Ask HN: What feature did you find after years of using ma...
by kreeble on Saturday August 08, 2020 @11:37PM
(#24097062)
This is exactly how I feel in windows coming from a mac, super-constrained due to lack of hotkeys to navigate.
Ctrl+A = start of line, ctrl+e = end, ctrl+n = next line, ctrl+v = next page
By default, in macOS, this isn't enabled everywhere, but you can do it easily https://forum.keyboardmaestro.com/t/os-x-text-system-keybind...
Command-arrow to move to the beginning or end of the line
Combine either of these with the shift key to quickly select text.