Git Product home page Git Product logo

Comments (13)

tconbeer avatar tconbeer commented on July 30, 2024 5

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.

tconbeer avatar tconbeer commented on July 30, 2024 2

@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.

cs2018ncsa avatar cs2018ncsa commented on July 30, 2024 1

This sounds absolutely awesome. Seriously. Just wanted to say that before i click on the "Sponsor" button. :)

from harlequin.

D10f avatar D10f commented on July 30, 2024 1

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.

cs2018ncsa avatar cs2018ncsa commented on July 30, 2024 1

@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.

tconbeer avatar tconbeer commented on July 30, 2024

@cs2018ncsa Thank you so much for your support!

from harlequin.

joshtemple avatar joshtemple commented on July 30, 2024

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.

tconbeer avatar tconbeer commented on July 30, 2024

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.

wey-gu avatar wey-gu commented on July 30, 2024

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.

s1nistr4 avatar s1nistr4 commented on July 30, 2024

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 avatar s1nistr4 commented on July 30, 2024

@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.

wey-gu avatar wey-gu commented on July 30, 2024

I'm visiting family in the hospital

Hoping he/she will be fine soon.

from harlequin.

wey-gu avatar wey-gu commented on July 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.