Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vimnav improvements #45

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

fnuttens
Copy link
Contributor

@fnuttens fnuttens commented Sep 22, 2024

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
Copy link
Contributor Author

fnuttens commented Sep 27, 2024

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 fnuttens force-pushed the vimnav-improvements branch 4 times, most recently from 1e88016 to d83b32c Compare September 28, 2024 20:46
@bouttier
Copy link
Contributor

bouttier commented Oct 4, 2024

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

@fnuttens
Copy link
Contributor Author

fnuttens commented Oct 5, 2024

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 #52

@fnuttens fnuttens force-pushed the vimnav-improvements branch from d83b32c to c1d58a7 Compare October 8, 2024 21:35
@bouttier
Copy link
Contributor

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.

@fnuttens fnuttens force-pushed the vimnav-improvements branch from c1d58a7 to 268f8f7 Compare October 20, 2024 20:30
@fnuttens fnuttens force-pushed the vimnav-improvements branch from 8ff9aa5 to 5b7eab6 Compare November 10, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants