diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-02-23 10:35:22 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2024-02-23 10:35:22 +0100 |
| commit | 4abcce013c9ee3053badf2abda77190233066676 (patch) | |
| tree | 450de7e8fed3c3c7501a9d2e2eb60a676bdfa09e /_posts/posts/2022-06-30-trying-out-helix-editor.md | |
| parent | cdf50cb2e3051200c6ea0628c318d66220b7d1a1 (diff) | |
| download | mitjafelicijan.com-4abcce013c9ee3053badf2abda77190233066676.tar.gz | |
Testing thoughts page
Diffstat (limited to '_posts/posts/2022-06-30-trying-out-helix-editor.md')
| -rw-r--r-- | _posts/posts/2022-06-30-trying-out-helix-editor.md | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/_posts/posts/2022-06-30-trying-out-helix-editor.md b/_posts/posts/2022-06-30-trying-out-helix-editor.md new file mode 100644 index 0000000..be369a1 --- /dev/null +++ b/_posts/posts/2022-06-30-trying-out-helix-editor.md | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | --- | ||
| 2 | title: Trying out Helix code editor as my main editor | ||
| 3 | permalink: /tying-out-helix-code-editor.html | ||
| 4 | date: 2022-06-30T12:00:00+02:00 | ||
| 5 | layout: post | ||
| 6 | type: post | ||
| 7 | draft: false | ||
| 8 | --- | ||
| 9 | |||
| 10 | I have been searching for a lightweight code editor for quite some time. One of | ||
| 11 | the main reasons was that I wanted something that doesn't burn through CPU and | ||
| 12 | RAM usage is not through the roof. I have been mostly using Visual Studio Code. | ||
| 13 | It's been an outstanding editor. I have no quarrel with it at all. It's just | ||
| 14 | time to spice life up with something new. | ||
| 15 | |||
| 16 | I have been on this search for a couple of years. I have tried Vim, Neovim, | ||
| 17 | Emacs, Doom Emacs, Micro and couple more. Among most of them, I liked Micro and | ||
| 18 | Doom Emacs the most. Micro editor was a little too basic for me. And Doom Emacs | ||
| 19 | was a bit too hardcore. This does not reflect on any of the editors. It's just | ||
| 20 | my personal preference. | ||
| 21 | |||
| 22 | > I tried Helix Editor about a year ago. But I didn't pay attention to it. | ||
| 23 | > Tried it and saw it's similar to Vi and just said no. I was premature to | ||
| 24 | > dismiss it. | ||
| 25 | |||
| 26 | One of the things I actually miss is line wrapping for certain files. When | ||
| 27 | writing Markdown, line wrapping would be very helpful. Editing such a document | ||
| 28 | is frustrating to say the least. Some of the Markdown to HTML converters don't | ||
| 29 | take kindly of new lines between sentences. Not paragraphs, sentences. And I use | ||
| 30 | Markdown to write this blog you are reading. | ||
| 31 | |||
| 32 | But other than this, I have been extremely satisfied by it. It's been a pleasant | ||
| 33 | surprise. There have been zero issues with the editor. | ||
| 34 | |||
| 35 | One thing to do before you are able to use autocompletion and make use Language | ||
| 36 | Server support is to install the language server with NPM. | ||
| 37 | |||
| 38 | ```sh | ||
| 39 | # For C development this installs C LSP. | ||
| 40 | sudo dnf install clang-tools-extra | ||
| 41 | ``` | ||
| 42 | |||
| 43 | I am still getting used to the keyboard shortcuts and getting better. What Helix | ||
| 44 | does really well is packing in sane defaults and even though because currently | ||
| 45 | there is no plugin support I haven't found any need for them. It has all that | ||
| 46 | you would need. It goes to extreme measures to show a user what is going on with | ||
| 47 | popups that show you what the keyboard shortcuts are. | ||
| 48 | |||
| 49 | And it comes us packed with many | ||
| 50 | [really good themes](https://github.com/helix-editor/helix/wiki/Themes). | ||
| 51 | |||
| 52 | {:loading="lazy"} | ||
| 53 | |||
| 54 | It's still young but has this mature feeling to it. It has sane defaults and | ||
| 55 | mimics Vim (works a bit differently, but the overall idea is similar). | ||
