Repository navigation
HyprVim v4.0.0
HyprVim v4.0.0
Command mode grows up. On top of v3.0.0, the : bar gains completion, history, chaining and around twenty new commands plus support of all set config-based commands, so window work that used to need a dedicated keybind or a submap full of arrow keys is now a few keystrokes you can discover as you type. It is a major release because a handful of command names and behaviours changed.
💥 Breaking Changes
:move is pixels only. :move X Y nudges the window; send it to a workspace with :move_workspace N (was :move N). :move 5 now says what it expected instead of guessing.
Removed commands. :term is now :terminal (or :t), :tab N is :workspace N (or :ws N), and :exit is gone since Escape dismisses the bar.
Session commands ask first. :shutdown, :reboot and :logout confirm with y/N in the bar. Add a bang, e.g. :shutdown!, to skip the question.
Renamed, old names still work. Commands now read as families, and every previous name below resolves as an alias:
| Now | Was |
|---|---|
:window |
:focus |
:move_workspace, :move_workspace! |
:move_to_workspace, :move! |
:move_monitor, :move_special |
:send_monitor, :send_special |
:workspace_next, :workspace_prev |
:tabn, :tabp |
:resize_width, :resize_height, :size |
:resize, :vresize, :resize_exact |
:opacity_active, :opacity_inactive, :opacity_fullscreen |
:active_opacity, :inactive_opacity, :fullscreen_opacity |
:edit |
:e |
🚀 New Features
- Tab completion. With fzf installed,
Tabopens a searchable menu of every command and what it does; search matches descriptions too, soclosefinds:qand:only. A secondTabcompletes arguments: open windows by class and title, workspaces, monitors, layouts, and for:setevery Hyprland option plus its current value, default and range. Without fzf,Tabcycles matches as before. - History.
Uprecalls earlier commands, kept per prompt under$XDG_STATE_HOME/hyprvim/historywith private permissions. Typos are not recorded. - Chaining.
:float on | center | opacity 0.9runs several commands in order and stops at the first that fails. - Relative values.
:opacity -0.1,:opacity_active +0.05and:gaps +2adjust from the current value. - Target any window. A trailing selector acts on another window without focusing it:
:opacity 0.8 address:0x1234,:tag +work class:firefox. - Any Hyprland option.
:set OPTION VALUEreaches every setting, and:layoutswitches between dwindle, master, scrolling and monocle. - Layout commands.
:layoutcmdruns the commands your layout provides, listing only the ones the active layout answers. - New commands. Groups (
:group,:group_next,:group_prev,:group_window N,:group_move,:group_lock),:nextand:prev,:workspace_monitor,:workspace_swap,:tag,:untag,:swallow,:renderer_reload,:submap(your own submaps included),:marks,:reboot,:help COMMAND, and:3to focus workspace 3. - Clearer errors. Commands check their arguments and say what they expected, and an unknown command suggests the nearest one.
- Richer user commands.
commandsentries insetup()can be a table with a description and argument completions, so your own commands sit in the menu alongside the built-in ones. - Nix support. A flake and Home Manager module, thanks to @Battguy in #7.
New options under prompt: completion_menu, completion_height, history and history_size.
Tab Completion Examples
All Command Options
Setting a Value from a Command
🐛 Bug Fixes
- Prompt bar restores its size when another window takes focus while the completion menu is open.
:reloadand:logout!no longer block the compositor. Both shelled out synchronously on Hyprland's thread.
🧹 Internal
docs/command-help.mdand:helpare generated from the command tables, andscripts/check-commandskeeps them consistent, so the reference can no longer drift from what the commands do.
Full changelog: v3.0.0...v4.0.0