-
Notifications
You must be signed in to change notification settings - Fork 8
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
docScope: true
not selecting matching element
#39
Comments
docScope: true
not selecting matching element
Hello! The "[,]": [
{
"command": "modaledit.typeNormalKeys",
"args": "{ keys: 'F[' }"
},
"editor.action.selectToBracket"
],
"<,>": [
{
"command": "modaledit.typeNormalKeys",
"args": "{ keys: 'F<' }"
},
"editor.action.selectToBracket"
], |
Ah that makes sense now. Doesn't look Lemme know if there's an obvious way to do this. Otherwise what i'm doing now seems to be working which is using commands in this plugin. Sidenote: Thank you so much for building this! I've been experimenting for a long time trying to find what I was looking for. Nothing felt right until now. Thank you <3 |
I guess I was planning to do a minor update to the plugin. It has apparently been 4 years since I last touched it :-) There are few things that annoy me enough to fix them. I'm still using the plugin myself on a daily basis. |
Awesome! TBH that deterred me initially.. I "thought this isn't maintained so probably not in good state" but then I saw how few issues were opened and of course how thorough the documentation was and decided to give it a shot - best decision I've made in a long time. Haven't been this obsessed with an improvement to my dev workflow in years! The plugin I'm using does the trick for now (not perfect tho).. will be on the lookout for updates.. happy to help with testing once it's ready! 🤗 |
The documentation is there for me to remember what I did 4 years ago 😉 There would be a lot of things to improve to get closer to the Vim functionality, but I have deliberately kept the plugin quite simple. It's just a modal editor engine, not a full-blown Vim emulation. |
Yup - that's the best part of the philosophy of this project. Simple because it takes the best parts of VIM and makes them available here. That's it. No bending backwards to copy VIM. Also, the fact that we don't complete cannibalize insert mode is another great example of this philosophy - it's made it so easy to slowly adapt this into my workflow because everything I'm already used to still works. Sure devs with Vim muscle memory already ingrained might struggle to see the point, but for everyone else this project is a hidden gem 💎 🔥 |
Hi, could use some help here. Just started setting up my key bindings so far it's been fantastic. But I think i've run into my first issue.
I'm trying to setup a basic
vi [some bracket]
. At first the issue was that it was only expanding to same line (which is rare for me). But then learned that we can pass thedocScope: true
flag to change this.The problem now tho, is that it's now expanding to the correct matching closing element (just the first one it finds).
Am I missing something obvious here or is this just a limitation?
The text was updated successfully, but these errors were encountered: