diff --git a/dotfiles/vim/vimrc b/dotfiles/vim/vimrc index 089ba0a..b57efd7 100644 --- a/dotfiles/vim/vimrc +++ b/dotfiles/vim/vimrc @@ -127,6 +127,17 @@ set softtabstop=4 " number of spaces in tab when editing " UI CONFIG {{{ +let &t_SI = "\e[5 q" " cursor beam on insert mode +let &t_SR = "\e[3 q" " cursor underline on replace mode +let &t_EI = "\e[2 q" " cursor block otherwise + +" reset cursor on start: +augroup cursorCmds +au! +autocmd VimEnter * silent !echo -ne "\e[2 q" +augroup END + + set number " show line numbers set showcmd " show command in bottom bar set cursorline " highlight current line