You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using for months now a set of AutoHotKey mappings (on Wind{ows,aube}) at work, that allows my to get some vim-like keybindings (with Alt pressed) for navigating here and there in a text input area or in the program.
I already ported some bindings on my zsh, nvim (very few, for insert mode short movements) configs, but not yet to my Linux machine / WM (hlwm right now).
NOTE: My ahk scripts are stored in a private repo (work-related), but a dump of the current ~vim-like mappings are:
(at date: 20210522)
; * (Modifier) Fire the hotkey even if extra modifiers (e.g: Shift) are being held down.; ! is Alt; ^ is Ctrl; + is Shift; --- Word movement; Alt+{b,w} -> Ctrl+{Left,Right}*!b::Send^{Left}
*!w::Send^{Right}
; --- Begin/End; Alt+g -> Home (Begin); NOTE: I need Alt+^ for Home as well (used in a line, not in a doc)!g::Send {Home}
; Alt+Shift+g -> End; Alt+$ -> End!+g::Send {End}
!$::Send {End}
; --- Arrows; Alt+{h,j,k,l} -> {Left,Down,Up,Right}*!h::Send {Left}
*!j::Send {Down}
*!k::Send {Up}
*!l::Send {Right}
; --- Quick retry that line; Ctrl+u -> Shift+Home (select) then Backspace (delete)^u::
Send+{Home}
Sleep100 ; 100ms, for minimal visual feedbackSend {Backspace}
return
implementation
For Linux, something like #43 could help, TODO: write what might be missing.
The text was updated successfully, but these errors were encountered:
bew
changed the title
Global custom ~vim-like (intput) mappings for any app is ❤️, formalize it, make it cross-platform!
Global custom ~vim-like (intput) mappings for any app is ❤️, formalize it, make it cross-platform!
May 22, 2021
bew
changed the title
Global custom ~vim-like (intput) mappings for any app is ❤️, formalize it, make it cross-platform!
Global custom ~vim-like (input) mappings for any app is ❤️, formalize it, make it cross-platform!
Jun 7, 2021
I've been using for months now a set of AutoHotKey mappings (on Wind{ows,aube}) at work, that allows my to get some vim-like keybindings (with Alt pressed) for navigating here and there in a
text input
area or in the program.I already ported some bindings on my zsh, nvim (very few, for insert mode short movements) configs, but not yet to my Linux machine / WM (hlwm right now).
NOTE: My ahk scripts are stored in a private repo (work-related), but a dump of the current ~vim-like mappings are:
(at date: 20210522)
implementation
For Linux, something like #43 could help, TODO: write what might be missing.
The text was updated successfully, but these errors were encountered: