Skip to content

Commit

Permalink
Add relevant Vim Help tip for #4
Browse files Browse the repository at this point in the history
  • Loading branch information
roccomao committed Jun 29, 2023
1 parent b5f7430 commit 010e6ec
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions issues/#4 与 Vim 终端相关的一些修复配置.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
1. 终端 Vim 改变光标在不同模式下的样式

- **Reference**: [Change cursor shape in different modes](https://vim.fandom.com/wiki/Change_cursor_shape_in_different_modes)
- **Vim Help**: `:h termcap-cursor-shape`

```vim
let &t_SI = "\<Esc>[6 q"
let &t_SR = "\<Esc>[4 q"
let &t_EI = "\<Esc>[2 q"
let &t_SI = "\<Esc>[5 q"
let &t_SR = "\<Esc>[3 q"
let &t_EI = "\<Esc>[1 q"
" 1 -> blinking block
" 2 -> solid block
Expand Down

0 comments on commit 010e6ec

Please sign in to comment.