zed
zed copied to clipboard
vim: Support keybinding `z.`
z. is similar to zz but moves the cursor to the first non-blank character.
From the documentation:
z. Redraw, line [count] at center of window (default cursor line). Put cursor at first non-blank in the line.
zz Like "z.", but leave the cursor in the same column.
Release Notes:
- Support the
z.vim keybinding: Center cursor in window and put cursor at first non-blank
@cla-bot check
Thanks for this!
I'm not sure we want too much logic hidden away in the JSON, but this seems fine (as @mrnugget said). When we add support for {count}z. we'll need to factor this out.
Thanks for this!
I'm not sure we want too much logic hidden away in the JSON, but this seems fine (as @mrnugget said). When we add support for
{count}z.we'll need to factor this out.
Yup for sure! I might take a look at that when things gets a bit less crazy work wise.