Skip to content
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

Command for Refresh external file and execute query (F2) #158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oskretc
Copy link

@oskretc oskretc commented Jan 24, 2025

adding functionality to reload the external file (lazysql.sql) and excute the query with F2

Main purpose:

With external editor functionality, the posibilities are endless,

what I do is open Helix in a separate pane
image

Then type the query in helix using sql server language tied to my database and with autocomplete and highlighting (really nice) then press F2 from Helix, that triggers saving the lazysql.sql file, then sends the characters to lazysql (using zellij cli actions) to reload and executes the query on lazysql.

image

This could be a really nice integration so you dont need to write a whole SQL editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant