vim: Enable cursor shapes
This commit is contained in:
parent
7097db73e8
commit
1c6ac27700
@ -3,7 +3,7 @@ TERMUX_PKG_HOMEPAGE=http://www.vim.org/
|
||||
TERMUX_PKG_DEPENDS="ncurses, vim-runtime, python"
|
||||
|
||||
# Vim 8.0 patches described at ftp://ftp.vim.org/pub/vim/patches/8.0/README
|
||||
TERMUX_PKG_VERSION=8.0.0092
|
||||
TERMUX_PKG_VERSION=8.0.0104
|
||||
TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_FOLDERNAME=vim-${TERMUX_PKG_VERSION}
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="vim_cv_toupper_broken=no vim_cv_terminfo=yes vim_cv_tty_group=world"
|
||||
|
@ -12,6 +12,11 @@ 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>
|
||||
|
@ -3,7 +3,7 @@ TERMUX_PKG_HOMEPAGE=http://www.vim.org/
|
||||
TERMUX_PKG_DEPENDS="ncurses, vim-runtime"
|
||||
|
||||
# Vim 8.0 patches described at ftp://ftp.vim.org/pub/vim/patches/8.0/README
|
||||
TERMUX_PKG_VERSION=8.0.0092
|
||||
TERMUX_PKG_VERSION=8.0.0104
|
||||
TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_FOLDERNAME=vim-${TERMUX_PKG_VERSION}
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="vim_cv_toupper_broken=no vim_cv_terminfo=yes vim_cv_tty_group=world"
|
||||
|
@ -12,6 +12,11 @@ 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>
|
||||
|
Loading…
Reference in New Issue
Block a user