Comments (13)
This has been shipped in v1.22.0
Vim motions present a suite of challenges that will have to be tackled later; for now, though, you can customize bindings to any single key press. See the new docs: https://harlequin.sh/docs/keymaps/index
from harlequin.
@s1nistr4 I'm pretty annoyed by your tone, but yeah, I'm working on this. Well, actually right now I'm visiting family in the hospital but maybe after that I'll get back to working on this.
from harlequin.
This sounds absolutely awesome. Seriously. Just wanted to say that before i click on the "Sponsor" button. :)
from harlequin.
I just discovered this (through Terminal Trove) and this is the only feature that I find missing. I keep battling between using vim motions and default shell shortcuts to navigate between words in the query panel, but none work exactly as I would expect. Having a way to customize the keybindings to navigate between panels and other actions would be a killer feature.
from harlequin.
@s1nistr4 I'm pretty annoyed by your tone, but yeah, I'm working on this. Well, actually right now I'm visiting family in the hospital but maybe after that I'll get back to working on this.
Priorities! Hope everything is ok. You've already done such an incredible favor to the community. Thank you.
from harlequin.
@cs2018ncsa Thank you so much for your support!
from harlequin.
Super exciting stuff, can't wait to try out vim bindings, even in a limited form.
Harlequin will have essentially no bindings without the default map (maybe just ctrl+q), and then will merge and load keymaps at start-up.
What about the key combinations at the bottom of Harlequin like CTRL+J
, CTRL+S
, etc.?
I'm guessing the answer is yes, but will Mac-specific keys be supported?
from harlequin.
Yes, this includes all of those, like ctrl+j
.
You should be able to use any key combo that works for your terminal and gets forwarded to Harlequin... sometimes the virtual key names change a bit, but I think most terminals map cmd to ctrl, etc.
from harlequin.
So very much looking forward to this, I am an HHKB user on macOS with iterm2/alacritty/vscode-terminal/nvim-terminal.
ctrl-j was mapped to "down" for me so for now ctrl-enter is my hope but I tested with textual keys, and ctrl-enter
was now enter
in all above tty envs.
from harlequin.
If this one feature was implemented this would replace every GUI/based database editor, vim-dadbod, and lazysql overnight.
This should be the single biggest priority of this project imo. Mainly because the default keybindings aren't that good. Like F2, F5 and F6 to switch windows...what? Imagine navigating with vim keybindings like hjkl and writing custom keymaps for queries and stuff. This app is really good so far and soooo close to finally being the way to interact with sql databases via the terminal which is like 30 years overdue.
from harlequin.
@s1nistr4 I'm pretty annoyed by your tone, but yeah, I'm working on this. Well, actually right now I'm visiting family in the hospital but maybe after that I'll get back to working on this.
It wasn't meant to be rude, I'm just saying you can monopolize the industry you're in overnight if this was implemented. If anything it's to help you and your project succeed. Harlequin is so far the best TUI SQL client I've used out of the many I've tried.
from harlequin.
I'm visiting family in the hospital
Hoping he/she will be fine soon.
from harlequin.
This has been shipped in v1.22.0
Vim motions present a suite of challenges that will have to be tackled later; for now, though, you can customize bindings to any single key press. See the new docs: https://harlequin.sh/docs/keymaps/index
It worked like a charm! Thanks!!!
from harlequin.
Related Issues (20)
- update README or CONTRIBUTING to point to docs repo HOT 1
- Add `-c`/`-cmd`/`--command` option to run sql command from the command-line
- add extensions cli arg for sqlite adapter
- Update tests to use duckdb 0.10 for all pythons
- Revert CI tests to use macos-latest, not macos-13 HOT 1
- Issue Parsing Semi-Colons when embedded in a string HOT 1
- SSH tunneling
- Information about testing
- Make `--config` support `NO_COLOR` HOT 1
- Make Key Bindings for Editor's Autocomplete configurable
- Harlequin can crash when loading the datetime `1-1-1`
- Crashing when horizontal scrolling in DuckDB with geometry type fields HOT 2
- Add a toggle to disable automated catalog refreshes
- feat: able to extend adapter specific exporter? HOT 2
- Catalog Error when connecting to BigQuery HOT 1
- Crash when executing a query HOT 2
- Linux: clipboard on wayland doesn't work HOT 9
- Add fuzzy-matching for autocomplete
- Do not focus on results viewer after executing DDL
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 harlequin.