feat: Add toggle_zoom and :set-max-width with multiple :set/:toggle commands for Zen Mode like features in the future - #25
Conversation
# Conflicts: # book/src/generated/typable-cmd.md # book/src/keymap.md # helix-term/src/commands/typed.rs # helix-term/src/ui/statusline.rs # helix-view/src/editor.rs
# Conflicts: # helix-term/src/application.rs # helix-view/src/editor.rs
|
There is already a similar change that was already merged - helix-editor#8546 .. |
|
I checked that PR and it looks similar, at least the part about max size. Also can you hint how you would Zen mode with those commands? I am willing to remove the Zoom and Max width part and just keep this multi-command keybinding. |
It comes with its own keybindings. I have not configured it. When I merged it initially, I thought I would use it, but I keep using tmux and hence felt no need for this feature. Perhaps , we can remove the already merged and start afresh with your pull request. here are the keybindings. |
Hey, while browsing some PRs and discussion on original Helix repo I found 2 PR that came together really nicely.
This PR is based on:
It adds 3 small functionalities:
Especially with the last one, you can do some powerful commands that change the appearance of your editor.
And enable features like Zen mode. I believe this will be a great addition until we wait for the plugin system.
I was definitely looking for something like this to edit my notes in Markdown or just preview Markdown files.
My personal setup for Zen mode:
Preview Zen mode ON:
Preview Zen mode OFF: