News for hackers. Stuff that matters.
Re:micro – A Modern Alternative to nano by boxed on Friday August 18, 2023 @03:00AM (#37172200)
The selection model is unfortunately a bit broken. For example shift+control+arrows and shift+down doesn't work. I believe the problem is that selection with shift isn't written to compose with other navigation.
Re:micro – A Modern Alternative to nano by neteresy on Friday August 18, 2023 @03:09AM (#37172251)
This is killing me man.
Re:micro – A Modern Alternative to nano by bharathyes on Friday August 18, 2023 @04:02AM (#37172600)
you need to check your terminal emulator.

just checked the ctrl+thift+arrow keybind, works on alacritty but doesnt on kitty.

Re:micro – A Modern Alternative to nano by bharathyes on Friday August 18, 2023 @04:05AM (#37172615)
you need to check your terminal emulator.

just checked the ctrl+thift+arrow keybind, works on alacritty but doesnt on kitty.

and shift+up/down works on both

Re:micro – A Modern Alternative to nano by peterfirefly on Friday August 18, 2023 @04:16AM (#37172695)
Those key combos didn't originally send any special codes to the app. Newer terminal emulators do.

(I once wrote a hack for Linux that opened a connection to the X server and used the xkb -- X Keyboard Extension -- protocol to get info about the shift/control/etc state in order to synthesize shift+arrow and shift+control+arrow keycodes. It worked almost perfectly with a local X server.)