Comments (3)
@phyllisstein thank you so much for such detailed feedback with nice gif! 👍
I'm so glad you like the tool.
if I understand correctly, you are asking the the functionality of word commands.
metaWord defines 3 kinds of words:
word type | description |
---|---|
SpaceWord(BigWord) | characters separated by 'space'('Space' or 'Tab') |
Word | a group of alphanumeric character with underscore(A-Za-z0-9_) or a group of other symbol characters(i.e. ~!@#$%^&*()-+:;"',.<>/?[]{}) |
WordPart(SmallWord) | a group of spaces, a part in a group of CamelCase (A-Za-z0-9) characters, a part of '_' connected (A-Za-z0-9) characters, or a group of other symbol characters |
the word-commands currently use the default vscode's internal commands, whose behavior is different for left and right, which makes me pulsed too. I described this in the readme and I do have a plan to make the two direction behavior consistent when have time. (means override the default implementation, not sure all user hate the default behavior like us😉)
Note: the space-word commands's design purpose is to moveCursor/select/delete word separated by space
from metago.
🤦 Gah, thank you for so patiently explaining what was, I now see, already patiently explained in the README. That makes perfect sense. I think what got me turned around initially was that the word commands from this package didn't straightforwardly override the built-in commands. They just wound up appearing alongside them:
Perhaps because the commands aren't namespaced to the package, this was the odd-looking block that I added to keybindings.json
to get it working:
{
"key": "alt+left",
"command": "cursorWordLeft"
},
{
"key": "shift+alt+left",
"command": "cursorWordLeftSelect"
},
{
"key": "alt+right",
"command": "cursorWordRight"
},
{
"key": "shift+alt+right",
"command": "cursorWordRightSelect"
},
Anyway, working great now. Thanks again for your work on this; can't tell you how nice it is to have these commands back (not to mention beginning-/end-of-paragraph jumps!).
from metago.
@phyllisstein so glad you find your solution, 🥂
from metago.
Related Issues (20)
- Scroll to cursor on alt+a
- Rapidfire Cursor Placement?
- place cursors without selecting search character everytime?
- The default keybinding for "metaGo.gotoAfter" can't be removed
- Command for metaJump + Go to definition HOT 1
- Configurable "jump to bracket" characters/words (based on indentation, do/end, etc.)
- [error] TypeError: t.surroundPairs.map is not a function HOT 2
- Metajump does not cover whole view HOT 1
- Is there a way of enabling jumping to word easily without any other features? HOT 1
- Is This Extension is dead?? HOT 1
- Feature Request: implement "clever-f-like" functionality HOT 3
- Feature Request: Add licencing terms HOT 2
- Jumping Highlights stay visible after jump
- Can't jump to char with end comment
- Consider adding a Lightspeed implementation for MetaJump HOT 1
- Integration with vscodevim: how to run `metaGo.gotoBefore` in command line mode?
- Adjustable font+size (or at least size) for label display
- Related to #84, would be nice to have adjustable delay for period labels/target are displayed.
- Also related to #84, to further enhance letter discrimination, allow users to customize label fgnd/bkgnd colors HOT 1
- Rename "select Empty Line Move Up"
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 metago.