-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
Featuer request: commands for simple text-editing #114
Comments
Sorry but Vimium C is not designed to be an "online text editor". In the meanwhile, there have been some web extensions supporting such VIM-like editing usages, and you may use https://chrome.google.com/webstore/detail/wasavi/dgogifpkoilgiofhhhodbodcfgomelhe . Similar topics have been discussed for some days in philc/vimium#3405 . |
It's easy to only add 3~4 new commands for word-level operations to Vimium C, but I'm not sure whether it's worth - a full-featured editor is very hard to implement, and large, of course. BTW, on Chrome Ctrl+Left, Ctrl+Right, Ctrl+Backspace can do such actions. |
thanks for the pointer. I am looking for much basic solution. and so on. Do you think that might be easy to implement in your library ? |
Well, it's indeed easy now, and I can add it tomorrow, so the new command will be in v1.81.2. I'll upload a .zip file for you to test. The Chrome Web Store takes 3~5 days to verify every new version of Vimium C, and for now they're verifying v1.81.1 ... |
wow. incredible. thanks |
This is for #114 Usage: ``` mapkey <a-b> <f3edit> map <f3edit> editText sel args=["move","backward","word"] mapkey <a-f> <f3editf> map <f3editf> editText sel args=["move","forward","word"] ```
This comment was marked as outdated.
This comment was marked as outdated.
working great so far for moving ! I guess cool features are also (the basic readline shortkey as known in bash):
many thanks, hope this will be helpful to others |
A new version supporting sequential actions: vimium_c-1.80.1-chrome-93c7356.zip
The You can assemble any numbers of directives as you like, and please read https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand for the list of available document commands and https://developer.mozilla.org/en-US/docs/Web/API/Selection/modify for available selection operations. |
fantastic! Here is my config:
|
Then use Doc: https://github.com/gdh1995/vimium-c/wiki/Use-in-another-keyboard-layout (the paragraph of "Since v1.80.1, this directive takes effects in all modes, ") |
perfect ! |
Any idea how to mapkey for up/down (appreciable to edit online markdown files for eg)?
|
BTW, |
many thanks |
hi
first of all, this plugin is promizing.
one thing I guess is missing is to allow shortkey in editing mode.
for example when writing in a textarea, I d´like to add shortkey for
this beavior exist in the vomnibar, that would be fantastic in any textarea/input fields
thanks
The text was updated successfully, but these errors were encountered: