lingo.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for linguists, philologists, and other lovers of languages.

Server stats:

55
active users

#helixeditor

0 posts0 participants0 posts today
ToddZ Ⓥ<p><span class="h-card" translate="no"><a href="https://social.jvns.ca/@b0rk" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>b0rk</span></a></span> I had decided to spend some time getting better with vim/neovim, and in the process I discovered <a href="https://social.linux.pizza/tags/Helix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Helix</span></a>. The Helix (&amp; Kakoune) selection -&gt; action model makes so much sense! That it's ready to roll without a bunch of configuration is a bonus.</p><p>The only thing I wish for is more interactive tutorial/practice apps (like vim-hero.com) for Helix. </p><p><a href="https://social.linux.pizza/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a></p>
zakb<p>Not sure of best process practices for <a href="https://mountains.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a>. I can't help but copying files over and over until I've got the code I want, then I come up with some new file structure to name it... and start all over again.</p><p><a href="https://mountains.social/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> (and <a href="https://mountains.social/tags/tmux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tmux</span></a> is helping with split screens, file pickers, scratch buffers and whatnot, but sheesh I'm all over the place.</p><p>I'm guessing there is a lot that comes with experience. Maybe using git to its capabilities can assist. Maybe some written word as a side note helps. I used to use Jupyter but even that got to be a convoluted mess.</p><p>I'm certainly writing a lot more since my sporadic attempts when working in GIS, so maybe it's just that I'm starting to think about this more now.</p><p>Please send me some of your favourite tips!</p>
Chad Baker<p><span class="h-card" translate="no"><a href="https://mastodon.social/@nixCraft" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nixCraft</span></a></span> </p><p>I'm pretty sure <a href="https://fosstodon.org/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> is still clean</p>
Jens Hannemann<p>I've been playing around with the <a href="https://mastodon.online/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a>, and I must say I'm intrigued. I can see it replacing vim for me.</p><p><a href="https://helix-editor.com" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">helix-editor.com</span><span class="invisible"></span></a></p>
Peter Cock<p><span class="h-card" translate="no"><a href="https://chaos.social/@scy" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>scy</span></a></span> <span class="h-card" translate="no"><a href="https://mamot.fr/@gjherbiet" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>gjherbiet</span></a></span> Nice - the <a href="https://fediscience.org/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> equivalent bindings are move_visual_line_down and move_visual_line_up - much more intuitive with soft line wrapping enabled</p>
Wolf<p><span class="h-card" translate="no"><a href="https://social.jvns.ca/@b0rk" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>b0rk</span></a></span> I am absolutely not telling you what to do. I'm giving you a datapoint. I am a <a href="https://hachyderm.io/tags/Vim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Vim</span></a> / <a href="https://hachyderm.io/tags/NeoVim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NeoVim</span></a> expert. I have used Vim for ... hmm, maybe it's decades. Not sure. I use Vim key-bindings everywhere that I can. I have given talks and made YouTube videos about Vim.</p><p>I’m always trying new things. For instance, <a href="https://hachyderm.io/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a>. One thing I thought I'd try is the <a href="https://hachyderm.io/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a>. For a lot of people, and you may well be one, Vim/NeoVim is the right choice. If it is, I won't try to convert you. But my experience so far with Helix has been so positive, that even after decades of Vim being my favorite, it has been replaced by Helix.</p><p>I still use Vim wherever that's the right choice, for instance remote machines I don't control. But editing actual code in Helix using that language's LSP and with tree-sitter is absolutely delightful. Even the fact that Helix isn't a “finished” editor doesn't dissuade me.</p><p>At work, <a href="https://hachyderm.io/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> is our main language, and we all have PyCharm. I use the Vim bindings via <a href="https://hachyderm.io/tags/IdeaVim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IdeaVim</span></a>. I prefer Helix even to that.</p><p>So there's your datapoint. Maybe someone you know well and trust has an opinion that sheds more light on the two editors.</p>
Chad Baker<p><span class="h-card" translate="no"><a href="https://social.jvns.ca/@b0rk" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>b0rk</span></a></span> </p><p>My <a href="https://fosstodon.org/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> config file is 5 lines of beautiful simplicity</p>
Peter Cock<p><span class="h-card" translate="no"><a href="https://scholar.social/@gedankenstuecke" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>gedankenstuecke</span></a></span> <span class="h-card" translate="no"><a href="https://oldbytes.space/@Kroc" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Kroc</span></a></span> Our cluster admin tolerated using VS Code, but people regularly ignored the guidelines and bogged down the head mode.</p><p>I never liked VS Code, and am still learning the ropes with <a href="https://fediscience.org/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> after years of using surface level emacs. The <a href="https://fediscience.org/tags/MicroEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicroEditor</span></a> is also nice (with better mouse support), but having built-in LSP support is great (this powered much of what appealed to me in VS Code).</p>
Chad Baker<p>Does anyone have any advice on where to start for learning c++? I already know Python and Rust really well. My motivation for wanting to learn C++ is to expand future career possibilities if things go south at my current job and I also generally enjoy learning. </p><p>I'm a big fan of <a href="https://fosstodon.org/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> and <a href="https://fosstodon.org/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> and would want to use both. I'd like to know how to setup a basic project, how to select a compiler, how to add dependencies, how to setup modules, etc.</p><p><a href="https://fosstodon.org/tags/AskFedi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AskFedi</span></a> <a href="https://fosstodon.org/tags/AskMastodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AskMastodon</span></a> <a href="https://fosstodon.org/tags/cpp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cpp</span></a></p>
data0<p><span class="h-card" translate="no"><a href="https://aus.social/@stib" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>stib</span></a></span> Shouldn't it just work out of the box if your <a href="https://indieweb.social/tags/LSP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LSP</span></a> supports the `textDocument/documentColor` method as mention in the PR? I'm using <a href="https://indieweb.social/tags/tailwindcss" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tailwindcss</span></a>-language-server for <a href="https://indieweb.social/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> and it does show the swatches in the completion picker w/out any extra config.</p><p>There's a dedicated LSP mentioned in the PR that displays the swatches right in the document buffer as well: <a href="https://github.com/q60/uwu_colors" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/q60/uwu_colors</span><span class="invisible"></span></a> (haven't tried it).</p><p>PR: <a href="https://github.com/helix-editor/helix/pull/12308" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/helix-editor/helix/</span><span class="invisible">pull/12308</span></a></p><p><a href="https://indieweb.social/tags/helix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>helix</span></a> <a href="https://indieweb.social/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a></p>
Mike :nixos:<p>I've been playing with <a href="https://fosstodon.org/tags/cursor_ai" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cursor_ai</span></a> <a href="https://fosstodon.org/tags/cursor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cursor</span></a> and was curious to compare it's resource usage against <a href="https://fosstodon.org/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> </p><p>These are both editors with the same file open, at rest (not running any processes)</p><p>15.6m of ram vs about 800m of ram. </p><p>Bananas</p>
Wolf<p>I am now building <a href="https://hachyderm.io/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> for myself, on master, as recommended by <span class="h-card" translate="no"><a href="https://framapiaf.org/@clementd" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>clementd</span></a></span>.</p><p>First, in my environment I set`export HELIX_RUNTIME="~/.config/helix/runtime"`. I then followed the build directions at <a href="https://docs.helix-editor.com/building-from-source.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">docs.helix-editor.com/building</span><span class="invisible">-from-source.html</span></a>. I fetched and built the grammars as described there. </p><p>Something **not** mentioned in those directions was that I had to copy from the source directory themes and queries into the runtime path I mentioned above. Maybe there are other things I need to copy that I haven’t noticed yet. </p><p>The binary ended up in ~/.cargo/bin/hx. </p><p>I don’t know if what I built is optimized.</p>
Wolf<p>I’m really starting to love <a href="https://hachyderm.io/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> so much. It’s now my daily driver. It’s frustrating to me when it falls down. I’m going to make myself a list of those things I want that don’t work, what issues or discussions have been filed about them, and what work is being done on them.</p><p>I’m also going to start running nightlies (if that’s a thing) or my own builds.</p><p>It’s lovely how easy <a href="https://hachyderm.io/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> projects are to build. Thank you, <a href="https://hachyderm.io/tags/Cargo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cargo</span></a>.</p>
Aral Balkan<p>So it does look like the TypeScript language server has a limit of 4MB source size where it disables type checking (and actually shows an erroneous error stating that exports that exist in the file do not exist) for files that are imported but not open in the current workspace/session.</p><p>Still not sure if this is documented anywhere or not (haven’t been able to find it, if it is).</p><p>99.99999% of the time, unless you’re doing niche stuff like I am, you won’t run into this.</p><p>Workaround: should you have such a large file, e.g., with a large generated object, try and refactor to split it up into multiple files and rejoin it a separate file. The actual object size/memory usage isn’t the issue, it’s the file size.</p><p><a href="https://github.com/typescript-language-server/typescript-language-server/issues/951#issuecomment-2786000876" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/typescript-language</span><span class="invisible">-server/typescript-language-server/issues/951#issuecomment-2786000876</span></a></p><p><a href="https://mastodon.ar.al/tags/TypeScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TypeScript</span></a> <a href="https://mastodon.ar.al/tags/max" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>max</span></a> <a href="https://mastodon.ar.al/tags/lines" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lines</span></a> <a href="https://mastodon.ar.al/tags/memory" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>memory</span></a> <a href="https://mastodon.ar.al/tags/constant" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>constant</span></a> <a href="https://mastodon.ar.al/tags/object" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>object</span></a> <a href="https://mastodon.ar.al/tags/import" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>import</span></a> <a href="https://mastodon.ar.al/tags/bug" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bug</span></a> <a href="https://mastodon.ar.al/tags/issue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>issue</span></a> <a href="https://mastodon.ar.al/tags/LSP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LSP</span></a> <a href="https://mastodon.ar.al/tags/languageServer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>languageServer</span></a> <a href="https://mastodon.ar.al/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> <a href="https://mastodon.ar.al/tags/VSCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VSCode</span></a> <a href="https://mastodon.ar.al/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.ar.al/tags/microsoft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>microsoft</span></a> <a href="https://mastodon.ar.al/tags/workaround" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>workaround</span></a></p>
Aral Balkan<p>Right, well, I can reproduce it with a simple example so I just filed a bug. Let’s see if it’s a known issue/limitation or what.</p><p><a href="https://github.com/typescript-language-server/typescript-language-server/issues/951" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/typescript-language</span><span class="invisible">-server/typescript-language-server/issues/951</span></a></p><p>Screen recording showing the issue:</p><p><a href="https://vimeo.com/1073284447?share=copy#t=0" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">vimeo.com/1073284447?share=cop</span><span class="invisible">y#t=0</span></a></p><p><a href="https://mastodon.ar.al/tags/TypeScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TypeScript</span></a> <a href="https://mastodon.ar.al/tags/max" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>max</span></a> <a href="https://mastodon.ar.al/tags/lines" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lines</span></a> <a href="https://mastodon.ar.al/tags/memory" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>memory</span></a> <a href="https://mastodon.ar.al/tags/constant" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>constant</span></a> <a href="https://mastodon.ar.al/tags/object" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>object</span></a> <a href="https://mastodon.ar.al/tags/import" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>import</span></a> <a href="https://mastodon.ar.al/tags/bug" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bug</span></a> <a href="https://mastodon.ar.al/tags/issue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>issue</span></a> <a href="https://mastodon.ar.al/tags/LSP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LSP</span></a> <a href="https://mastodon.ar.al/tags/languageServer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>languageServer</span></a> <a href="https://mastodon.ar.al/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> <a href="https://mastodon.ar.al/tags/VSCode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VSCode</span></a> <a href="https://mastodon.ar.al/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.ar.al/tags/microsoft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>microsoft</span></a></p>
Bobulous :rust: :codeberg:<p>I created a crib sheet for the <a href="https://fosstodon.org/tags/Helix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Helix</span></a> text editor:</p><p><a href="https://www.bobulous.org.uk/coding/Helix-crib-sheet.html" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">bobulous.org.uk/coding/Helix-c</span><span class="invisible">rib-sheet.html</span></a></p><p>Best viewed on a big screen.</p><p>As usual I intended the new page to be compact and concise; and as usual it ended up being huge and rambling. Hopefully it'll still be of use to people who aren't fully familiar with the most useful keys and commands. (And just maybe of vague interest to <a href="https://fosstodon.org/tags/Neovim" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Neovim</span></a> users who are thinking about trying Helix.)</p><p>Let me know if you spot anything incorrect.</p><p><a href="https://fosstodon.org/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> <a href="https://fosstodon.org/tags/FOSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FOSS</span></a> <a href="https://fosstodon.org/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a></p>
Jacob Lewallen<p>Finally gave <a href="https://hachyderm.io/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> a legitimate try today for <a href="https://hachyderm.io/tags/RustLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RustLang</span></a> tinkering and I'm digging it. All my previous attempts stalled from friction with my vim-stincts. This time I decided to focus on polishing the tooling experience and that's made a huge difference in how comfortable I am. I really like the inline diagnostics that were added recently, for example. Context: I used to be a big Spacemacs (evil mode!) person and went to VSCode cause it was easy and supported what I needed. I've missed a solid terminal only experience outside of plain old vim. Now I have one, kudos to the hx team.</p>
Mike :nixos:<p><span class="h-card" translate="no"><a href="https://mograph.social/@mauro" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>mauro</span></a></span> hahha yup. That's how it be. I somehow landed on <a href="https://fosstodon.org/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> and fell in love with it. Was just going to "try it" for a bit but ended up with it still a year later</p>
Jeremie<p><span class="h-card" translate="no"><a href="https://social.spejset.org/@amanda" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>amanda</span></a></span> <br>For markdown this is what I've done. (I'm currently on Ubuntu, it could be different on your system. Just hope to give some useful info).<br>- Installed marksman from snap package (binary will be in /snap/bin).<br>- I've run the "health" command to check the state:<br>hx --health markdown<br>I got the error: "'markdown-oxide' not found in $PATH"<br>- To make <a href="https://fosstodon.org/tags/HelixEditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HelixEditor</span></a> happy:<br>cd /snap/bin<br>- Created a symlink:<br>sudo ln -s marksman markdown-oxide </p><p>Now it works 😀</p>
VirtualComputer<p>Imagine a future where we are developing on a <a href="https://mastodon.social/tags/System76" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>System76</span></a> computer running <a href="https://mastodon.social/tags/RedoxOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RedoxOS</span></a> with <a href="https://mastodon.social/tags/COSMICdesktop" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>COSMICdesktop</span></a> and either a <a href="https://mastodon.social/tags/alacritty" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>alacritty</span></a> or a <a href="https://mastodon.social/tags/wezterm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wezterm</span></a> terminal running <a href="https://mastodon.social/tags/nushell" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nushell</span></a> with <a href="https://mastodon.social/tags/zellij" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>zellij</span></a> as the multiplexer and <a href="https://mastodon.social/tags/helixeditor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>helixeditor</span></a> as the development environment.</p><p>Running <a href="https://mastodon.social/tags/rustlang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rustlang</span></a> from top to bottom on your computer. Hopefully it's a future not too far away.</p><p><a href="https://mastodon.social/tags/rust" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rust</span></a></p>