Implementing "Allow selecting of arbitrary text on the page (visual mode)"

368 views
Skip to first unread message

zam...@gmail.com

unread,
Aug 13, 2013, 2:46:57 PM8/13/13
to vimiu...@googlegroups.com
Hey everyone,

I've implemented a prototype of visual mode and text copying.

Works as follows:
  1. Search text with /
  2. Enter Visual mode with v
  3. Highlight text beginning from current search selection with h, j, k, l, b, e, $ (like in vim)
  4. Yank text to clipboard with y and exit Visual mode
This has worked OK for my personal test scenarios.

Demo can be found at http://youtu.be/mCm38nZvknA

I'll be happy to hear suggestions!

-Sami


Oz Nahum

unread,
Aug 13, 2013, 3:00:53 PM8/13/13
to vimiu...@googlegroups.com
where can we download the code and try your prototype ?

Oz

zam...@gmail.com

unread,
Aug 13, 2013, 3:06:07 PM8/13/13
to vimiu...@googlegroups.com
I will make a pull request / fork of this feature soon.

Landon Wilkins

unread,
Oct 18, 2013, 6:32:14 PM10/18/13
to vimiu...@googlegroups.com
Please keep us updated on this!

You are amazing!!

mieubrisse

unread,
Oct 22, 2013, 6:21:10 PM10/22/13
to vimiu...@googlegroups.com
Please, PLEASE release this - It looks fantastic!!

zam...@gmail.com

unread,
Oct 27, 2013, 2:01:46 PM10/27/13
to vimiu...@googlegroups.com
Sorry for taking so long, I've been burdened with work and school stuff.

I've managed to made a pull request of the prototype:

It's not much, but feel free to tinker with it! I'm still interested in developing a full-blown Visual Mode (in constraints of the browser), but don't have that much free-time at the moment.

-Sami 
Reply all
Reply to author
Forward
0 new messages