fanglingsu / vimb

Vimb - the vim like browser is a webkit based web browser that behaves like the vimperator plugin for the firefox and usage paradigms from the great editor vim. The goal of vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience.
https://fanglingsu.github.io/vimb/
GNU General Public License v3.0
1.34k stars 100 forks source link

Textarea undo redo #661

Open RFDAJE opened 3 years ago

RFDAJE commented 3 years ago

INFO

$ vimb --bug-info 
Version:         3.6.0-32-g55fb9cc
WebKit compile:  2.30.5
WebKit run:      2.30.5
GTK compile:     3.24.25
GTK run:         3.24.25
libsoup compile: 2.72.0
libsoup run:     2.72.0
Extension dir:   /usr/lib/vimb

Steps to reproduce

it seems vimb does not support undo/redo in textarea, I know open it in external editor with CTRL+t is an option, but for small text editing it is just handy if undo(CTRL+z)/redo(CTRL+y) could be supported, since CTRL+z is reserved for pass-through mode, how can we resolve this issue? any other ideas?

Expected behaviour

keyboard shortcut to allow undo and redo text editing.

Actual behaviour

CTRL+Z reserved for pass-through mode, feature missing.

fanglingsu commented 3 years ago

@RFDAJE That feature sounds nice to me. I'm not sure if webkit provides undo/redo for form fields by default. But it might already exist so that we can map new keys to fire the keyevents webkit uses.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity within the last 60 days.