mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
emacs-style word navigation
This commit is contained in:
parent
fd3caa0d7c
commit
1dcf352b4d
@ -31,6 +31,36 @@
|
|||||||
?~ wab +>
|
?~ wab +>
|
||||||
+>(mos [[~ hen [%blit (flop wab)]] mos])
|
+>(mos [[~ hen [%blit (flop wab)]] mos])
|
||||||
::
|
::
|
||||||
|
++ wod :: word forward
|
||||||
|
|= bed=bead
|
||||||
|
^- @ud
|
||||||
|
?: =(bul.bed bus.bed)
|
||||||
|
bus.bed
|
||||||
|
?: =(' ' (snag bus.bed but.bed))
|
||||||
|
$(bus.bed +(bus.bed))
|
||||||
|
|-
|
||||||
|
^- @ud
|
||||||
|
?: =(bul.bed bus.bed)
|
||||||
|
bus.bed
|
||||||
|
?: =(' ' (snag bus.bed but.bed))
|
||||||
|
bus.bed
|
||||||
|
$(bus.bed +(bus.bed))
|
||||||
|
::
|
||||||
|
++ wob :: word backward
|
||||||
|
|= bed=bead
|
||||||
|
^- @ud
|
||||||
|
?: =(0 bus.bed)
|
||||||
|
bus.bed
|
||||||
|
?: =(' ' (snag (dec bus.bed) but.bed))
|
||||||
|
$(bus.bed (dec bus.bed))
|
||||||
|
|-
|
||||||
|
^- @ud
|
||||||
|
?: =(0 bus.bed)
|
||||||
|
bus.bed
|
||||||
|
?: =(' ' (snag (dec bus.bed) but.bed))
|
||||||
|
bus.bed
|
||||||
|
$(bus.bed (dec bus.bed))
|
||||||
|
::
|
||||||
++ edit :: change the bed
|
++ edit :: change the bed
|
||||||
|= bed=bead
|
|= bed=bead
|
||||||
^+ +>
|
^+ +>
|
||||||
@ -249,6 +279,16 @@
|
|||||||
%met :: meta
|
%met :: meta
|
||||||
?+ p.p.fav
|
?+ p.p.fav
|
||||||
beep
|
beep
|
||||||
|
%f
|
||||||
|
?: =(bul.u.q.q.yar bus.u.q.q.yar)
|
||||||
|
beep
|
||||||
|
(edit u.q.q.yar(bus (wod u.q.q.yar)))
|
||||||
|
::
|
||||||
|
%b
|
||||||
|
?: =(0 bus.u.q.q.yar)
|
||||||
|
beep
|
||||||
|
(edit u.q.q.yar(bus (wob u.q.q.yar)))
|
||||||
|
::
|
||||||
%y
|
%y
|
||||||
?: =(0 p.r.q.yar)
|
?: =(0 p.r.q.yar)
|
||||||
beep
|
beep
|
||||||
|
Loading…
Reference in New Issue
Block a user