Comments (6)
Interesting. This feature request seems really useful but unfortunately I have no idea how difficult it would be to implement. The original authors of Vrapper passed it on to me and I don't actually know how the key mapping feature works. I'll check with them to see if they have any ideas.
We should be able to implement this feature request but I'm afraid it might take some time.
from vrapper.
I know it's been awhile since this feature was requested but I think I got omap
working. I needed it to workaround my fix for #353. I've updated the unstable update site with a new build (0.39.20131225) which includes this feature. I don't know if I'm handling all scenarios correctly though. I'm hoping someone out there cares enough about this feature that they're willing to test it for me. I've never used the feature myself so I don't understand the nuances of it.
from vrapper.
I would test, but honestly the only use that I know of for omap is for plugins. For example, I have vim plugin that omaps to create a "z" operator. Vim automatically sends a special v:operator
argument to the omap, so the omap'd function knows what motion it is responding to.
I don't know how this could be used in vrapper.
from vrapper.
Anyways, I just tried this (after updating to 0.39.20131225):
onoremap z :ls<cr>
That should execute :ls
after typing something like cz
or dz
, but it seems to ignore the z
and just performs the c
or d
, and the buffer list isn't shown.
from vrapper.
btw, the same mapping does work as expected in Vim.
from vrapper.
That mapping didn't work for you because Vrapper didn't support moving to command-line mode while an operation was pending. I don't see any real use case for it, but I've added that ability in d2bc18f since Vim seems to support it. With that new change, your mapping behaves the same as Vim.
The description for this feature request mentioned dvorak users, that's the use case which I'm hoping we now support. I don't have any intentions of supporting v:operator for complex functions calls since we don't currently support functions in vimscripts either.
from vrapper.
Related Issues (20)
- _vrapperrc HOT 5
- Cannot get rename to work HOT 1
- Replacing something with forward slashes HOT 8
- :reg command doesn't work when used alone HOT 8
- Vrapper not running on Eclipse 4.21.0 HOT 10
- Insert macro with { don't work HOT 2
- Replace regex within visual-box \%V is not working HOT 2
- Can't bind "option+[KEY]" using MacOS. HOT 3
- content assist like navigation in quick assist and hyperlink menus
- Can't change to a different tab that is far away with <C-w><number>gt HOT 2
- Add ":wrap" command line command bind to Eclipse's action "Toggle Word Wrap" HOT 1
- Sub-Word plugin unexpected behaviors
- Adding DVT (a SystemVerilog plugin) action to vrapper keymaps HOT 2
- Vim doesn't work on windows of Table views HOT 2
- Cannot find active input interceptor for error editor HOT 1
- ctrl+v -> i -> w leaves visual block mode
- Typing after double quote locks up Eclipse
- Stay in visual mode while jumping through editor commands
- How to assign the leader key to the spacebar? HOT 3
- Need to integrate vim and emacs plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vrapper.