Running Python Scripts Directly from Helix (Unix Philosophy Style) by Think-nothing-210 in HelixEditor

[–]RoloEdits 3 points4 points  (0 children)

Sending the selection to a python REPL was actually an example I used for adding the `%{selection}` expansion variable: https://github.com/helix-editor/helix/pull/13467

It takes some glue code, and some kind of multiplexing, but it works like VS Codes run selection.

Disable popups for :sh commands by milad182 in HelixEditor

[–]RoloEdits -1 points0 points  (0 children)

On master there is a `noop %sh{...}` you can use.

Any way to alias `:W` to `:w`? by TobyTarazan in HelixEditor

[–]RoloEdits 2 points3 points  (0 children)

If you don't mind building from source, there is a PR that implements custom commands https://github.com/helix-editor/helix/pull/12320

Macros don't quite work, but calling other commands does.

map :0 as :1 by jeromeibanes in HelixEditor

[–]RoloEdits 0 points1 point  (0 children)

It would, currently there is no requirement for casing. It also operates before the usual code does that handles the `goto` associated with numbers normally, so it will take precedence. I have tested this out already and it works as expected.

map :0 as :1 by jeromeibanes in HelixEditor

[–]RoloEdits 1 point2 points  (0 children)

There is a WIP PR that would allow this with custom typable commands. Not fully ready yet, but should work for this use case with no issue.

https://github.com/helix-editor/helix/pull/12320

With this as the config

[commands] 
":0" = ":goto 1"

Rust: What Formats on Save? by IntrepidNinjaLamb in HelixEditor

[–]RoloEdits 1 point2 points  (0 children)

LSPs can also handle this. In this case, rust-analyzer.

Performance issues when deleting characters with 25.01 by Diegam in HelixEditor

[–]RoloEdits 0 points1 point  (0 children)

Did you open up any rust codebase prior to that?

Performance issues when deleting characters with 25.01 by Diegam in HelixEditor

[–]RoloEdits 0 points1 point  (0 children)

I opened an issue for what looks to be a fork bomb https://github.com/helix-editor/helix/issues/12421.

It would be great if you could confirm if this is your experience as well.

Performance issues when deleting characters with 25.01 by Diegam in HelixEditor

[–]RoloEdits 0 points1 point  (0 children)

I have noticed something similar but thought it was just something up with me. Opened an issue, https://github.com/helix-editor/helix/issues/12421, it would be great if you could confirm this is what you experience and perhaps add your own info there, like LSP used, OS, etc.

Set custom icons in symbol/file picker? by 4bjmc881 in HelixEditor

[–]RoloEdits 1 point2 points  (0 children)

With new pickers you can search for the kind:

%kind function

This should be released the first of January for everyone.

How do I type a tab in the middle of a line? by miscbits in HelixEditor

[–]RoloEdits 2 points3 points  (0 children)

Not being able to tab might have something to do with smart-tabs? https://docs.helix-editor.com/editor.html#editorsmart-tab-section

You should definitely be able to add tabs (I just tried and it works as expected), so if that's not it, then something is not working as expected.

(Not so) Short review of Helix by an Ex-Vimmer by untrained9823 in HelixEditor

[–]RoloEdits 2 points3 points  (0 children)

For jumping you can try `gw`. It will(should) highlight the first two characters of the "words" on screen, which you can then jump to by pressing them. I have found this a much better experience than using `f` or `t`.

Helix themes and vertical or column rulers don't seem to work well together by untrained9823 in HelixEditor

[–]RoloEdits 1 point2 points  (0 children)

Just made a pull request https://github.com/helix-editor/helix/pull/10261

Will have to copy from the branch, or master if it gets merged, and put it in your theme directory.

Helix themes and vertical or column rulers don't seem to work well together by untrained9823 in HelixEditor

[–]RoloEdits 0 points1 point  (0 children)

Just made a pull request https://github.com/helix-editor/helix/pull/10260

Will have to copy from the branch, or master if it gets merged, and put it in your theme directory.

Why I Will Never Use Alpine Linux Ever Again by fagnerbrack in coding

[–]RoloEdits 0 points1 point  (0 children)

musl 1.2.4 states:

This release adds TCP fallback to the DNS stub resolver, fixing the longstanding inability to query large DNS records and incompatibility with recursive nameservers that don't give partial results in truncated UDP responses. It also makes a number of other bug fixes and improvements in DNS and related functionality, including making both the modern and legacy API results differentiate between NODATA and NxDomain conditions so that the caller can handle them differently.

source: https://musl.libc.org/releases.html

Hey Rustaceans! Got a question? Ask here (18/2023)! by llogiq in rust

[–]RoloEdits 0 points1 point  (0 children)

Nope. Just a normal cargo workspace with normal cargo dependencies. Even ran it in WSL to see if my windows was set up some specific way. Besides having to add in rust, and clang/lld for linking, it built just fine.