Add a mode indicator for vim

This is the second most common remaining complaint (after :w not
working).

Fixes: zed-industries/community#409
This commit is contained in:
Conrad Irwin
2023-07-21 16:06:14 -06:00
parent 35400d5797
commit 458916409c
7 changed files with 77 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@ export default function status_bar(): any {
},
border: border(layer, { top: true, overlay: true }),
cursor_position: text(layer, "sans", "variant"),
vim_mode: text(layer, "sans", "variant"),
active_language: interactive({
base: {
padding: { left: 6, right: 6 },