Replies: 7 comments 5 replies
-
One related thing I like to do is using changing the theme colors of line numbers and the status line to match the background color: |
Beta Was this translation helpful? Give feedback.
-
@erasin Brilliant work! @CptPotato With the latest master recognising
[editor]
gutters = ["diagnostics", "spacer", "diff"] # no line-numbers |
Beta Was this translation helpful? Give feedback.
-
Nice! There’s also #3239. I really hope to see this feature in Helix. |
Beta Was this translation helpful? Give feedback.
-
I just figured out that you can do |
Beta Was this translation helpful? Give feedback.
-
@sicher Of course! Brilliant :) For now we can use this, hopefully 'toggle' will work in the future:
I measured on my monitor with a bit of paper, with line wrap on this is perfect/ |
Beta Was this translation helpful? Give feedback.
-
With the latest update toggle works! z = ":toggle gutters.line-numbers.min-width 48 3" |
Beta Was this translation helpful? Give feedback.
-
Is there a way to center the text for code as well? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is a trick, but it's enough for me to edit Markdown for now.
When configuring
:set soft-wrap.wrap_at_text_width true
, theView.area
will be center.Use
:set text_width 120
to setView.area.width
.helix-view/src/views.rs
I use markdown in my project, and create file
.helix/languages.toml
, it is possible to use centering only when editing markdown.Beta Was this translation helpful? Give feedback.
All reactions