-
-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helix editor for Bevy #232
Comments
Yes. I know nothing about it. If you have useful tips/instructions/info, please provide them here. So far, in the book, I have only created empty/placeholder pages for the most popular editors (like Vim/Emacs) even though I know nothing about them, to hopefully encourage ppl to provide me with some content to add there. Kakoune is the editor I use, so there is a page for it, where I share my setup. Jetbrains and VSCode are there, because other people have submitted some useful stuff for me to put on the page. If you want a page for Helix to be created, please provide content for it. This is a more niche editor, so I am not going to create a blank page like I did for Vim/Emacs. |
Okay haha. Actually Helix is a battery included editor. Which means only very little setup is needed haha. |
@inodentry Oh, helix is an very easy-to-use editor, similar to kakoune and highly inspired by it, written in pure rust, which is 26k stars now. Personally recommended configuration (version: 23.10):
### Theme: Compared to onedark, I prefer zed_onedark
theme = "zed_onedark"
# theme = "nord"
# theme = "catppuccin_frappe"
# theme = "catppuccin_macchiato"
# theme = "catppuccin_mocha"
[editor]
# shell = ["nu", "-c"]
line-number = "relative"
scrolloff = 8
idle-timeout = 0
completion-trigger-len = 2
color-modes = true
bufferline = "multiple"
cursorline = true
cursorcolumn = false
auto-save = true
auto-pairs = true
auto-format = true
[editor.lsp]
display-messages = true
display-inlay-hints = true
[editor.soft-wrap]
enable = true
[editor.cursor-shape]
insert = "bar"
normal = "block"
[editor.statusline]
mode.normal = "NORMAL"
mode.insert = "INSERT"
mode.select = "SELECT"
separator = "=>"
left = ["mode", "spacer", "separator", "file-type", "read-only-indicator", "spinner"]
center = ["file-modification-indicator", "file-name", "diagnostics", "workspace-diagnostics"]
right = ["position", "separator", "spacer", "position-percentage", "spacer", "separator", "total-line-numbers"]
[editor.gutters.line-numbers]
min-width = 0
[editor.indent-guides]
render = true
skip-levels = 0
[editor.whitespace.render]
space = "none"
tab = "none"
newline = "none"
[editor.whitespace.characters]
space = "·"
nbsp = "⍽"
tab = "→"
newline = "⏎"
tabpad = "·" # Tabs will look like "→···" (depending on tab width)
[editor.smart-tab]
enable = true
[[language]]
name = "rust"
auto-format = true
[language-server.rust-analyzer.config.check]
command = "clippy" Feel free to use or just ignore what I said above. |
for the editor part, I find Helix to be quite suitable for bevy workflow. Hopefully someone can add something about it. I can help contribute too if needed.
The text was updated successfully, but these errors were encountered: