VIM mode would be very nice
See original GitHub issueThis issue pertains to the following package(s):
- GraphQL Playground - Electron App
- [*] GraphQL Playground HTML
- GraphQL Playground
- GraphQL Playground Express Middleware
- GraphQL Playground Hapi Middleware
- GraphQL Playground Koa Middleware
- GraphQL Playground Lambda Middleware
What OS and OS version are you experiencing the issue(s) on?
Mac OSX High Sierra (v10.13.5)
What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?
1.6.0 ? (whatever is bundled in apollo-server-express
)
What is the expected behavior?
Expecting to enable VIM mode somehow
What is the actual behavior?
What steps may we take to reproduce the behavior?
n/a, but @nilan mentioned one should open an issue here to request it be re-added 🥇
Please provide a gif or image of the issue for a quicker response/fix.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:32
- Comments:5
Top Results From Across the Web
VIM mode would be very nice · Issue #794 · graphql ... - GitHub
This issue pertains to the following package(s): GraphQL Playground - Electron App [*] GraphQL Playground HTML GraphQL Playground GraphQL ...
Read more >Learning the vi Editor/Vim/Modes - Wikibooks
Modes Edit. VIM offers more modes than vi (which offers only the "normal", "insert" and "command–line" modes). These additional modes make VIM more...
Read more >Alacritty's New Vim Mode And Other Awesome Features
... to Alacritty it received a new set of features, one that really peaked my interest was the introduction of a so called...
Read more >Xcode 13 vim mode documentation? | Apple Developer Forums
Yah, same question here. I'm so excited to to see what a builtin support for vim would be like, and how can users...
Read more >Vim Cheat Sheet
Tip Prefix a cursor movement command with a number to repeat it. For example, 4j moves down 4 lines. Insert mode - inserting/appending...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Has anyone been able to make any progress on this? It was fairly simple to add an editor setting to enable vim as you can see from my changes here.
Instead of the explicit vim mode toggle in the linked commit in @mcabrams’ comment, I introduce a generic
"editor.keyMap"
setting, which can have values"vim"
,"emacs"
, or the default"sublime"
.It’s usable (at least for me) but I wouldn’t consider it complete, since for some reason the cursor doesn’t appear in the light theme and pressing the escape key occasionally doesn’t exit insert mode to normal mode (and I haven’t really tested emacs mode).
@christianrondeau here’s where it was added: https://github.com/prisma/graphql-playground/commit/0138105967e7f009dde79c49cc0a0a2beb33f29a - should be enough to get started/use some git fu to find where it was removed.