Discussion:
[Vimperator] <S-Ins>
Casey Manion
2012-05-01 14:54:15 UTC
Permalink
Guys,

I used to be able to hit <S-Ins> to paste in FF + vimperator ... but
now it just releases focus (address bar, google search, textarea,
etc)...

Any way to get <S-Ins> to paste ?

Windows 7 + FF 12.0

Note: If I <Ctrl-Esc> then <S-Ins> pastes ...

Note: I restarted with no .vimperator file - same results

Cheers,
Casey
Casey Manion
2012-05-02 20:51:38 UTC
Permalink
I commented out these lines in editor.js and now it works as normal -
is it possible to disable this from the rc file ??

editor.js

661 mappings.add(myModes,$
662 ["<S-Insert>"], "Insert clipboard/selection",$
663 function () { editor.pasteClipboard(); });$


-Casey
Post by Casey Manion
Guys,
I used to be able to hit <S-Ins> to paste in FF + vimperator ... but
now it just releases focus (address bar, google search, textarea,
etc)...
Any way to get <S-Ins> to paste ?
Windows 7 + FF 12.0
Note: If I <Ctrl-Esc> then <S-Ins> pastes ...
Note: I restarted with no .vimperator file - same results
Cheers,
Casey
Martin Stubenschrott
2012-05-05 23:53:23 UTC
Permalink
It might be possible to do:
:imap <S-Ins> <Ins><S-Ins><Ins>
but I can't really test it.

If firefox finally pastes with S-Ins by default without our hack, it would
be even
better though. Which OS and FF version do you use?
Post by Casey Manion
I commented out these lines in editor.js and now it works as normal -
is it possible to disable this from the rc file ??
editor.js
661 mappings.add(myModes,$
662 ["<S-Insert>"], "Insert clipboard/selection",$
663 function () { editor.pasteClipboard(); });$
-Casey
Post by Casey Manion
Guys,
I used to be able to hit <S-Ins> to paste in FF + vimperator ... but
now it just releases focus (address bar, google search, textarea,
etc)...
Any way to get <S-Ins> to paste ?
Windows 7 + FF 12.0
Note: If I <Ctrl-Esc> then <S-Ins> pastes ...
Note: I restarted with no .vimperator file - same results
Cheers,
Casey
_______________________________________________
Vimperator mailing list
Vimperator at mozdev.org
https://www.mozdev.org/mailman/listinfo/vimperator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/vimperator/attachments/20120506/0d2ee843/attachment.html>
Casey Manion
2012-05-06 03:55:21 UTC
Permalink
Windows 7 + FF 12.0


On Sat, May 5, 2012 at 4:53 PM, Martin Stubenschrott <
Post by Martin Stubenschrott
:imap <S-Ins> <Ins><S-Ins><Ins>
but I can't really test it.
If firefox finally pastes with S-Ins by default without our hack, it would
be even
better though. Which OS and FF version do you use?
Post by Casey Manion
I commented out these lines in editor.js and now it works as normal -
is it possible to disable this from the rc file ??
editor.js
661 mappings.add(myModes,$
662 ["<S-Insert>"], "Insert clipboard/selection",$
663 function () { editor.pasteClipboard(); });$
-Casey
Post by Casey Manion
Guys,
I used to be able to hit <S-Ins> to paste in FF + vimperator ... but
now it just releases focus (address bar, google search, textarea,
etc)...
Any way to get <S-Ins> to paste ?
Windows 7 + FF 12.0
Note: If I <Ctrl-Esc> then <S-Ins> pastes ...
Note: I restarted with no .vimperator file - same results
Cheers,
Casey
_______________________________________________
Vimperator mailing list
Vimperator at mozdev.org
https://www.mozdev.org/mailman/listinfo/vimperator
_______________________________________________
Vimperator mailing list
Vimperator at mozdev.org
https://www.mozdev.org/mailman/listinfo/vimperator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/vimperator/attachments/20120505/4ee62fac/attachment.html>
Martin Stubenschrott
2012-05-16 21:21:21 UTC
Permalink
Post by Casey Manion
I commented out these lines in editor.js and now it works as normal -
is it possible to disable this from the rc file ??
editor.js
661 mappings.add(myModes,$
662 ["<S-Insert>"], "Insert clipboard/selection",$
663 function () { editor.pasteClipboard(); });$
It's not so simple to remove that unfortunately, as under linux S-Ins first
checks if there
is an X11 selection and pastes this, and only as a fallback paste the
Clipboard.

I do think anekos fixed the function responsible for executing the
"cmd_paste" though,
so I think the problem should be gone in Vimperator 3.5 (or you can try the
development
version, if you are brave to check out the source).

--
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/vimperator/attachments/20120516/a1901afb/attachment.html>
Loading...