chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7097db7
)
vim: Enable cursor shapes
author
Fredrik Fornwall
<fredrik@fornwall.net>
Mon, 28 Nov 2016 12:30:16 +0000
(07:30 -0500)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Mon, 28 Nov 2016 12:30:16 +0000
(07:30 -0500)
packages/vim-python/build.sh
patch
|
blob
|
blame
|
history
packages/vim-python/vimrc
patch
|
blob
|
blame
|
history
packages/vim/build.sh
patch
|
blob
|
blame
|
history
packages/vim/vimrc
patch
|
blob
|
blame
|
history
diff --git
a/packages/vim-python/build.sh
b/packages/vim-python/build.sh
index 162f8ce3e96e8d14b465c810b2a1a02190ea56c5..fed1fbcbc1dae7d0df5177dc3a6f403ab3174411 100755
(executable)
--- a/
packages/vim-python/build.sh
+++ b/
packages/vim-python/build.sh
@@
-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_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.0
092
+TERMUX_PKG_VERSION=8.0.0
104
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"
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"
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>
diff --git
a/packages/vim/build.sh
b/packages/vim/build.sh
index 554bec6fad53c46632baa6515519c4a406c5bd26..07dc893e78d00d590c3982558207310aa02bf159 100755
(executable)
--- a/
packages/vim/build.sh
+++ b/
packages/vim/build.sh
@@
-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_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.0
092
+TERMUX_PKG_VERSION=8.0.0
104
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"
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"
diff --git
a/packages/vim/vimrc
b/packages/vim/vimrc
index e8c4e4fbb71f400a4f2ba39b6b3614270374cf53..12c8bb751b03251a500eff13e2850890ce4adbc7 100644
(file)
--- a/
packages/vim/vimrc
+++ b/
packages/vim/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>