chiark
/
gitweb
/
~mdw
/
termux-packages
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vim: Enable cursor shapes
[termux-packages]
/
packages
/
vim-python
/
vimrc
diff --git
a/packages/vim-python/vimrc
b/packages/vim-python/vimrc
index e8c4e4fbb71f400a4f2ba39b6b3614270374cf53..12c8bb751b03251a500eff13e2850890ce4adbc7 100644
(file)
--- a/
packages/vim-python/vimrc
+++ b/
packages/vim-python/vimrc
@@
-12,6
+12,11
@@
set title
syntax on
syntax on
+" Set beam shape in insert mode, underline shape in replace mode and block shape in normal mode.
+let &t_SI = "\<Esc>[6 q"
+let &t_SR = "\<Esc>[4 q"
+let &t_EI = "\<Esc>[2 q"
+
" Scroll only one line for mouse wheel events to get smooth scrolling on touch screens
map <ScrollWheelUp> <C-Y>
imap <ScrollWheelUp> <C-X><C-Y>
" Scroll only one line for mouse wheel events to get smooth scrolling on touch screens
map <ScrollWheelUp> <C-Y>
imap <ScrollWheelUp> <C-X><C-Y>