mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-07 03:13:25 +00:00
vim: Remove cursor shapes
Not every terminal emulator supports cursor shapes. Fixes #641.
This commit is contained in:
@@ -12,11 +12,6 @@ set title
|
||||
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user