arsenik icon indicating copy to clipboard operation
arsenik copied to clipboard

Vimnav improvements

Open fnuttens opened this issue 1 year ago • 4 comments

Here’s my humble attempt at filling the gaps in the vim navigation layer 🙂

Next/previous word – nwd/pwd

  • C-rght[T]
  • C-lft[B]

Word-by-word navigation in every text area! This one is definitely biased towards Ergo‑L as it maps perfectly with its w and b, so the position is the same as in vim.

Alt-tab – swp

  • A-tab[G]

Quickly swap between two applications! The mapping is located right next to S-tab and tab.

~~Find – fnd~~

  • ~~C-f[G]~~

~~Still quite biased towards Ergo‑L, but in this case we’re not so far from Qwerty’s f.~~

Redo – rdo

  • C-y[/]

Position symmetrical to Arsenik’s existing ndo.

fnuttens avatar Sep 22 '24 14:09 fnuttens

Since I started using HRMs this week, I'm not so fond of the C-f mapping anymore (it is basically useless for me now).

What about replacing it with A-tab? It would be right next to S-tab and tab and it’s as useful as C-f, if not more.

fnuttens avatar Sep 27 '24 12:09 fnuttens

In fact, with HRM, nearly all C- shorcuts are useless in Ergo-L as Ergo-L keep shortcut keys location …

I like C-right and C-left mappings (require to press only two keys instead of three). Redo make sens with the rest of the shortcuts, but i am not convinced with the proposed location, ihmo on the left hand makes more sens. No opinion on A-tab (and no effect with my setup).

I think a good improvement to make the layer more suitable with HRM would be to have :

  • tab and S-tab not under HRM Ctrl, to be able to change tabs in navigators with only one hand
  • tab not under HRM Alt for easy A-tab

bouttier avatar Oct 04 '24 14:10 bouttier

Redo make sens with the rest of the shortcuts, but i am not convinced with the proposed location, ihmo on the left hand makes more sens.

Definitely agree with you, I didn’t want to change the existing mappings and introduce a breaking change. If the maintainers of Arsenik express a wish to improve the full layer, maybe we could rethink some existing placements.

No opinion on A-tab (and no effect with my setup).

Do you mean it doesn’t work on your machine or simply that you already have a better way to Alt-Tab?

I think a good improvement to make the layer more suitable with HRM would be to have :

  • tab and S-tab not under HRM Ctrl, to be able to change tabs in navigators with only one hand
  • tab not under HRM Alt for easy A-tab

Totally! But just like redo this would mean messing with existing mappings. I’m starting to think a new HRM-optimized navigation layer (navigation_vim_hrm) would be a good solution.

Edit: see draft https://github.com/OneDeadKey/arsenik/pull/52

fnuttens avatar Oct 05 '24 22:10 fnuttens

Do you mean it doesn’t work on your machine or simply that you already have a better way to Alt-Tab?

I do not use Alt-Tab as I use a tiling windows manager.

bouttier avatar Oct 14 '24 11:10 bouttier