Comments (7)
I like this idea, but I wonder what the behavior should be if several files/folders are listed, i.e. hx /tmp log.txt
from helix.
That's also what I currently stumbled upon. I'm wondering how to handle this with what there is available now.
from helix.
You should be able to reuse the file picker code here:
helix/helix-term/src/commands.rs
Lines 1083 to 1085 in 2719a35
You would need to construct it if necessary, and compositor.push
it right after the editor here:
helix/helix-term/src/application.rs
Lines 48 to 56 in 2719a35
from helix.
Already got that figured out, I'm wondering what to do with the extra arguments aftrer initial directory path like hx /tmp some_file
- what to do about some_file
there. Perhaps all extra files should be opened as splits?
from helix.
And also what to do when there is more than one directory like:
hx /tmp /home some_file
from helix.
I added initial changes in #59
from helix.
Closed by #59
from helix.
Related Issues (20)
- Diagnostics
- Helix + pyright + kitty has wrong working directory HOT 2
- weird identation on pasting code
- space mode command
- Helix becomes very slow when the file contains ultra long lines HOT 1
- When preview-completion-insert is false, only enter should accept completion. HOT 1
- :toggle option string, failing. HOT 1
- Which command can view the buffer list like ls in vim?
- Selecting suggestions doesn't work for lexical lsp HOT 4
- Out of range for changeset len 25336 HOT 1
- Unable to save files on exFAT drive.
- auto-completing nix examples HOT 1
- `C-S-;` and `A-S-;` keybindings don't do anything in any mode HOT 1
- Crash on jump_backward
- GO LSP not working HOT 1
- error: Unknown binary 'rust-analyzer' in official toolchain 'stable-x86_64-unknown-linux-gnu'.\n
- error in win 10 and helix HOT 4
- Version is not always updated when re-building from source HOT 3
- Command line installer
- Find window color collision avoidance HOT 2
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 helix.