Browse Source

neovim: Update to latest git HEAD

android-5
Fredrik Fornwall 8 years ago
parent
commit
29f304dd21
  1. 5
      packages/neovim/build.sh
  2. 1
      packages/neovim/sysinit.vim

5
packages/neovim/build.sh

@ -1,8 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://neovim.io/ TERMUX_PKG_HOMEPAGE=https://neovim.io/
TERMUX_PKG_DESCRIPTION="Ambitious Vim-fork focused on extensibility and agility (nvim)" TERMUX_PKG_DESCRIPTION="Ambitious Vim-fork focused on extensibility and agility (nvim)"
_COMMIT=a2d44c9af6d899273205fa9a9b0ee048823ea476 _COMMIT=a667972568f7de0eb06c1cc9ee3dd3ff8dd6f5c9
TERMUX_PKG_VERSION=0.2.0.201702071500 TERMUX_PKG_VERSION=0.2.0.201702200040
TERMUX_PKG_SRCURL=https://github.com/neovim/neovim/archive/${_COMMIT}.zip TERMUX_PKG_SRCURL=https://github.com/neovim/neovim/archive/${_COMMIT}.zip
TERMUX_PKG_SHA256=28035a2b7bfb36b1560decee3dab65fd5ba2199c9a87b84afe6db51918b2fa11
TERMUX_PKG_DEPENDS="libuv, libmsgpack, libandroid-support, libvterm, libtermkey, libutil" TERMUX_PKG_DEPENDS="libuv, libmsgpack, libandroid-support, libvterm, libtermkey, libutil"
TERMUX_PKG_FOLDERNAME="neovim-$_COMMIT" TERMUX_PKG_FOLDERNAME="neovim-$_COMMIT"
TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_HOSTBUILD=true

1
packages/neovim/sysinit.vim

@ -1,4 +1,5 @@
" Scroll only one line for mouse wheel events to get smooth scrolling on touch screens " Scroll only one line for mouse wheel events to get smooth scrolling on touch screens
set mouse=a
map <ScrollWheelUp> <C-Y> map <ScrollWheelUp> <C-Y>
imap <ScrollWheelUp> <C-X><C-Y> imap <ScrollWheelUp> <C-X><C-Y>
map <ScrollWheelDown> <C-E> map <ScrollWheelDown> <C-E>

Loading…
Cancel
Save