quantonganh

Results 39 comments of quantonganh

``` $ ulimit -a -n: file descriptors 2048 ``` Could you please provide this: ``` $ lsof -p | wc -l ``` So we can determine how many file descriptors...

> This makes working with helix on golang code a much better experience (manually doing imports stuff is a pain) @ds-281 Have you tried this? ```toml [[language]] name = "go"...

> Is it possible to obtain just the filename? You can use [basename](https://linux.die.net/man/1/basename): ``` :sh basename %val{filename} ```

@Hasnayeen If you are using WezTerm: - Use [wezterm cli list](https://wezfurlong.org/wezterm/cli/cli/list.html) to list the panes - Check if the program in the right pane is `hx` - If yes, [send](https://wezfurlong.org/wezterm/cli/cli/send-text.html)...

> I find that I have occasionally (frequently!) made the mistake of two instances of helix in different terminals editing the same file. This causes me a problem, because I...

@chriselrod Could you please try this: ``` $ echo -e ":open foo.txt\r" | wezterm cli send-text --pane-id 1 --no-paste ```

> but the ability to hit something like -b to show a git blame for the current line, and/or multiple lines in a selection would be just excellent. @vkoskiv If...

I've just come up with a workaround using [WezTerm](https://wezfurlong.org/wezterm/index.html): https://github.com/helix-editor/helix/issues/2261#issuecomment-1648036567.

@sidequestboy You can do that by introducing a new configuration option `auto-reload-all` (defaults to `false`). Afterward, you can make the [reload_all](https://github.com/helix-editor/helix/blob/master/helix-term/src/commands/typed.rs?plain=1#L1283) function public, and call it [here](https://github.com/helix-editor/helix/blob/master/helix-term/src/ui/editor.rs?plain=1#L1375). However, the potential...

> We should add a script test that verifies that the library object files really don't depend on the -trimpath flag [An expanded build ID](https://github.com/golang/go/blob/7dea509703eb5ad66a35628b12a678110fbb1f72/src/cmd/go/internal/work/buildid.go?plain=1#L73) has the following format: ```...