tREADME: mention the mappings, marks, and buffers unavailable in vi - neatvi - [fork] simple vi-type editor with UTF-8 support (HTM) git clone git://src.adamsgaard.dk/neatvi (DIR) Log (DIR) Files (DIR) Refs (DIR) README --- (DIR) commit 3846d47a04c5febd2c81aa1668832f56960f1617 (DIR) parent 722ca21e37945ee1f8a7fb91022425f7ea8fcf3d (HTM) Author: Ali Gholami Rudi <ali@rudi.ir> Date: Tue, 3 May 2016 23:16:29 +0430 README: mention the mappings, marks, and buffers unavailable in vi Diffstat: M README | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) --- (DIR) diff --git a/README b/README t@@ -3,6 +3,9 @@ NEATVI Neatvi is a vi/ex editor. It can edit bidirectional UTF-8 text. +CONFIGURATION +------------- + Edit conf.h to adjust syntax highlighting rules and text direction patterns. To define a new keymap, create a new array in kmap.h, like kmap_fa, and add it to kmaps array in the same header (the first entry t@@ -11,6 +14,9 @@ changed using :cm ex command. When in input mode, ^e changes to the English kaymap and ^f changes to the alternate keymap (the last keymap specified with :cm). +COMMANDS +-------- + Commands not available in ex(1): :cm[ap][!] [kmap] t@@ -22,6 +28,17 @@ Commands not available in ex(1): When filetype is specified, set the file type of the current ex buffer. +New key mappings: +^a in normal mode, searches for the word under the cursor +^p in insert mode, inserts the contents of the default yank buffer + +OPTIONS +------- + +To improve neatvi's performance, shaping, character reordering, and +syntax highlighting can be disabled by defining the EXINIT environment +variable as "set noshape | set noorder | set nohl | set td=+2". + Options supported by neatvi: td, textdirection t@@ -45,6 +62,14 @@ aw, autowrite ic, ignorecase As in vi(1). -Shaping, character reordering, and syntax highlighting can -be disabled by defining the EXINIT environment variable as: - "set noshape | set noorder | set nohl | set td=+2" +MARKS AND BUFFERS +----------------- + +Special marks: +* the position of the previous change +[ the first line of the previous change +] the last line of the previous change + +Special yank buffers: +/ the previous search keyword +: the previous ex command