From 485cde3e0d6c621e17d8288311784f25e395a828 Mon Sep 17 00:00:00 2001 From: whiteman808 Date: Tue, 17 Feb 2026 07:25:39 +0100 Subject: [PATCH] [profiles/desktop] change cursor to block in vi command mode --- profiles/base/.inputrc | 2 +- profiles/base/.zsh/conf.d/01-vi-keybindings.zsh | 2 +- profiles/desktop/.alacritty.toml | 2 +- profiles/desktop/.config/foot/foot.ini | 2 +- profiles/desktop/.config/nvim/lua/config/settings.lua | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/profiles/base/.inputrc b/profiles/base/.inputrc index 4cca7b2..6ca372b 100644 --- a/profiles/base/.inputrc +++ b/profiles/base/.inputrc @@ -17,4 +17,4 @@ $if mode=vi "\C-l": clear-screen $endif set vi-ins-mode-string "\1\e[6 q\2(ins) " -set vi-cmd-mode-string "\1\e[4 q\2(cmd) " +set vi-cmd-mode-string "\1\e[2 q\2(cmd) " diff --git a/profiles/base/.zsh/conf.d/01-vi-keybindings.zsh b/profiles/base/.zsh/conf.d/01-vi-keybindings.zsh index 913f93b..55e5367 100644 --- a/profiles/base/.zsh/conf.d/01-vi-keybindings.zsh +++ b/profiles/base/.zsh/conf.d/01-vi-keybindings.zsh @@ -15,7 +15,7 @@ bindkey '^U' backward-kill-line zle-keymap-select() { if [[ ${KEYMAP} == vicmd ]] || [[ $1 == block ]]; then - echo -ne '\e[4 q' + echo -ne '\e[2 q' psvar[1]="(cmd) " elif [[ ${KEYMAP} == main ]] || [[ ${KEYMAP} == viins ]] || diff --git a/profiles/desktop/.alacritty.toml b/profiles/desktop/.alacritty.toml index 9c73718..8ade247 100644 --- a/profiles/desktop/.alacritty.toml +++ b/profiles/desktop/.alacritty.toml @@ -2,7 +2,7 @@ TERM = 'xterm-256color' [cursor] -style = 'Underline' +style = 'Block' [[keyboard.bindings]] key = 'V' diff --git a/profiles/desktop/.config/foot/foot.ini b/profiles/desktop/.config/foot/foot.ini index 0894505..50a1284 100644 --- a/profiles/desktop/.config/foot/foot.ini +++ b/profiles/desktop/.config/foot/foot.ini @@ -7,7 +7,7 @@ line-height=17 letter-spacing=-1 [cursor] -style=underline +style=block [key-bindings] clipboard-paste=Control+Alt+v XF86Paste diff --git a/profiles/desktop/.config/nvim/lua/config/settings.lua b/profiles/desktop/.config/nvim/lua/config/settings.lua index 2ac78a2..0dbe4e4 100644 --- a/profiles/desktop/.config/nvim/lua/config/settings.lua +++ b/profiles/desktop/.config/nvim/lua/config/settings.lua @@ -98,4 +98,4 @@ vim.g.html_indent_style1 = 'auto' -- set cursor shape to underline in the normal and command mode, -- in the insert mode change shape to vertical bar, and disable -- blinking in all modes -vim.opt.guicursor:append({ 'n-c:hor20', 'i:ver20', 'a:blinkon0' }) +-- vim.opt.guicursor:append({ 'n-c:hor20', 'i:ver20', 'a:blinkon0' })