Skip to content

louygan/vimtouch

 
 

Repository files navigation

VimTouch

About

VimTouch is a open source VIM port on Android. It supports full vim syntax and finger touch gestures to help VIM much more usable with touch screens.

Features

  • Touch to move cursor
  • Fling to scroll
  • Swipe to zoom
  • Quick buttons
  • Unicode and multi-byte
  • Read email attachments
  • Single instance to open multiple files in vim windows
  • Real VIM runtime
  • Customizable VIM runtime (ex: can install syntax, doc, plugins)
  • Sliding File chooser
  • Backup/Restore your VIM runtime
  • Command History GUI by long press quick buttons

Screenshot

Screenshot Screenshot Screenshot Screenshot

Issues

https://github.com/momodalo/vimtouch/issues

Developer

How to compile the source code?

Before starting, you need the following prerequisites:

Get the source code:

git clone git://github.com/nwf/vimtouch.git && cd vimtouch

Now prepare the development environment:

ANDROID_SDK_HOME=~/path/to/android/sdk
ANDROID_NDK_ROOT=~/path/to/android/ndk
./prepare-clean-checkout.sh

You're ready to compile it!

${ANDROID_SDK_HOME}/tools/templates/gradle/wrapper/gradlew assembleDebug ${ANDROID_NDK_ROOT}/ndk-build; for i in libs/*; do cp $i/vim $i/libvim.so; done ${ANDROID_SDK_HOME}/tools/templates/gradle/wrapper/gradlew assembleDebug

Yes, we need to run the build loop twice at the moment. It is less than ideal, but it does produce an executable that can hobble along at least.

Packages

No packages published

Languages

  • Java 62.7%
  • C 29.0%
  • Shell 4.2%
  • C++ 2.7%
  • Makefile 1.2%
  • Vim Script 0.1%
  • HTML 0.1%