💾 Archived View for cugi.ie › aminet › 1685236904.gmi captured on 2023-09-08 at 16:31:09. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-06-14)
-=-=-=-=-=-=-
Author: ali at rudi.ir (Ali Gholami Rudi) Uploader: polluks+aminet sdf lonestar org (Stefan Haubenthal) Type: text/edit Version: 11 Architecture: ppc-morphos URL: http://litcave.rudi.ir Date: 2023-05-27 Readme: http://aminet.net/text/edit/neatvi.readme Downloads: 309
http://aminet.net/text/edit/neatvi.lha
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
of the new array specifies its name). The current keymap may be
changed with :cm ex command. When in input mode, ^e activates the
English keymap and ^f switches to the alternate keymap (the last
keymap specified with :cm).
Sadly, VTE-based terminals such as GNOME's implement a
backward-incompatible extension of virtual terminal escape codes to
render bidirectional text by default. When using these terminal, the
value of LNPREF macro in conf.h needs to be edited.
COMMANDS
--------
Commands not available in ex(1):
:cm[ap][!] [kmap]
Without kmap, prints the current keymap name.
When kmap is specified, sets the alternate keymap to
kmap and, unless ! is given, switches to this keymap.
:ft [filetype]
Without filetype, prints the current file type.
When filetype is specified, sets 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.
zL, zl, zr, and zR in normal mode: change the value of td option.
^e and ^f in insert mode: switch to the English and alternate keymap.
ze and zf in normal mode: switch to the English and alternate keymap.
gu, gU, and g~ in normal mode: switch character case.
^l in normal mode: updates terminal dimensions (after resizing it).
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 in neatvi:
td, textdirection
Current direction context. The following values are meaningful:
* +2: always left-to-right.
* +1: follow conf.h's dircontexts[]; left-to-right for others.
* -1: follow conf.h's dircontexts[]; right-to-left for others.
* -2: always right-to-left.
shape
If set (default), performs Arabic/Farsi letter shaping.
order
If set, reorder characters based on the rules defined
in conf.h.
hl, highlight
If set (default), text will be highlighted based on syntax
highlighting rules in conf.h.
hll, highlightline
If set, highlight current line.
lim, linelimit
Lines longer than this value are not reordered or highlighted.
ai, autoindent
As in vi(1).
aw, autowrite
As in vi(1).
ic, ignorecase
As in vi(1).
MARKS AND BUFFERS
-----------------
Special marks:
[ 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
PERMISSION UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME ---------- ----------- ------- ------- ------ ---------- ------------ ---------- [generic] 1004 2808 35.8% -lh5- f472 Feb 27 21:44 neatvi-11/cmd.c [generic] 568 1884 30.1% -lh5- 1ae2 Feb 27 21:44 neatvi-11/conf.c [generic] 2378 6296 37.8% -lh5- 5ff6 Feb 27 21:44 neatvi-11/conf.h [generic] 1114 3005 37.1% -lh5- 0e08 Feb 27 21:44 neatvi-11/dir.c [generic] 5937 20802 28.5% -lh5- cb40 Feb 27 21:44 neatvi-11/ex.c [generic] 2209 6880 32.1% -lh5- 344f Feb 27 21:44 neatvi-11/kmap.h [generic] 2475 8526 29.0% -lh5- 625c Feb 27 21:44 neatvi-11/lbuf.c [generic] 3007 9295 32.4% -lh5- 2670 Feb 27 21:44 neatvi-11/led.c [generic] 183 278 65.8% -lh5- d683 Feb 27 21:44 neatvi-11/Makefile [generic] 1520 5227 29.1% -lh5- 98eb Feb 27 21:44 neatvi-11/mot.c [generic] 1297 2880 45.0% -lh5- 40b9 Feb 27 21:44 neatvi-11/README [generic] 382 816 46.8% -lh5- f855 Feb 27 21:44 neatvi-11/reg.c [generic] 3908 13827 28.3% -lh5- d849 Feb 27 21:44 neatvi-11/regex.c [generic] 236 481 49.1% -lh5- 937b Feb 27 21:44 neatvi-11/regex.h [generic] 1120 3628 30.9% -lh5- 8889 Feb 27 21:44 neatvi-11/ren.c [generic] 1220 3355 36.4% -lh5- 9c3e Feb 27 21:44 neatvi-11/rset.c [generic] 957 2419 39.6% -lh5- 8cac Feb 27 21:44 neatvi-11/rstr.c [generic] 657 1724 38.1% -lh5- 77e7 Feb 27 21:44 neatvi-11/sbuf.c [generic] 948 2469 38.4% -lh5- c6c4 Feb 27 21:44 neatvi-11/syn.c [generic] 1344 3557 37.8% -lh5- 082a Feb 27 21:44 neatvi-11/term.c [generic] 210 368 57.1% -lh5- 162c Feb 27 21:44 neatvi-11/test.sh [generic] 92 162 56.8% -lh5- 221c Feb 27 21:44 neatvi-11/test/e0a.sh [generic] 109 259 42.1% -lh5- 9062 Feb 27 21:44 neatvi-11/test/e0b.sh [generic] 115 341 33.7% -lh5- 2ade Feb 27 21:44 neatvi-11/test/e0c.sh [generic] 119 310 38.4% -lh5- c4cb Feb 27 21:44 neatvi-11/test/e0d.sh [generic] 117 202 57.9% -lh5- 1dfa Feb 27 21:44 neatvi-11/test/e0e.sh [generic] 99 187 52.9% -lh5- b511 Feb 27 21:44 neatvi-11/test/e0f.sh [generic] 43 43 100.0% -lh0- 80b0 Feb 27 21:44 neatvi-11/test/e00.sh [generic] 82 131 62.6% -lh5- 7052 Feb 27 21:44 neatvi-11/test/e01.sh [generic] 93 184 50.5% -lh5- b0d3 Feb 27 21:44 neatvi-11/test/e02.sh [generic] 86 191 45.0% -lh5- 1ba7 Feb 27 21:44 neatvi-11/test/e03.sh [generic] 104 241 43.2% -lh5- 975c Feb 27 21:44 neatvi-11/test/e04.sh [generic] 98 212 46.2% -lh5- 7dab Feb 27 21:44 neatvi-11/test/e05.sh [generic] 110 271 40.6% -lh5- 0fe5 Feb 27 21:44 neatvi-11/test/e06.sh [generic] 119 289 41.2% -lh5- bebb Feb 27 21:44 neatvi-11/test/e07.sh [generic] 115 198 58.1% -lh5- f223 Feb 27 21:44 neatvi-11/test/e08.sh [generic] 98 172 57.0% -lh5- d0d3 Feb 27 21:44 neatvi-11/test/e09.sh [generic] 105 197 53.3% -lh5- 382c Feb 27 21:44 neatvi-11/test/e10.sh [generic] 96 183 52.5% -lh5- 2e1a Feb 27 21:44 neatvi-11/test/e11.sh [generic] 120 213 56.3% -lh5- bec8 Feb 27 21:44 neatvi-11/test/v0a.sh [generic] 118 236 50.0% -lh5- 2808 Feb 27 21:44 neatvi-11/test/v0b.sh [generic] 108 186 58.1% -lh5- 5bf5 Feb 27 21:44 neatvi-11/test/v0c.sh [generic] 114 178 64.0% -lh5- 0152 Feb 27 21:44 neatvi-11/test/v0d.sh [generic] 133 250 53.2% -lh5- d3bb Feb 27 21:44 neatvi-11/test/v0e.sh [generic] 112 191 58.6% -lh5- 2a25 Feb 27 21:44 neatvi-11/test/v0f.sh [generic] 92 123 74.8% -lh5- d3af Feb 27 21:44 neatvi-11/test/v00.sh [generic] 109 165 66.1% -lh5- 5170 Feb 27 21:44 neatvi-11/test/v01.sh [generic] 123 214 57.5% -lh5- 8be0 Feb 27 21:44 neatvi-11/test/v02.sh [generic] 97 145 66.9% -lh5- a3d2 Feb 27 21:44 neatvi-11/test/v03.sh [generic] 133 212 62.7% -lh5- 91d5 Feb 27 21:44 neatvi-11/test/v04.sh [generic] 113 172 65.7% -lh5- 8c93 Feb 27 21:44 neatvi-11/test/v05.sh [generic] 131 238 55.0% -lh5- 5e71 Feb 27 21:44 neatvi-11/test/v06.sh [generic] 107 208 51.4% -lh5- 567b Feb 27 21:44 neatvi-11/test/v07.sh [generic] 99 168 58.9% -lh5- 76e1 Feb 27 21:44 neatvi-11/test/v08.sh [generic] 114 197 57.9% -lh5- ec6d Feb 27 21:44 neatvi-11/test/v09.sh [generic] 108 183 59.0% -lh5- 1efa Feb 27 21:44 neatvi-11/test/v1a.sh [generic] 100 171 58.5% -lh5- 1752 Feb 27 21:44 neatvi-11/test/v1b.sh [generic] 111 196 56.6% -lh5- fa8d Feb 27 21:44 neatvi-11/test/v1c.sh [generic] 94 154 61.0% -lh5- 636e Feb 27 21:44 neatvi-11/test/v1d.sh [generic] 107 181 59.1% -lh5- aa4b Feb 27 21:44 neatvi-11/test/v1e.sh [generic] 96 153 62.7% -lh5- ae03 Feb 27 21:44 neatvi-11/test/v1f.sh [generic] 122 249 49.0% -lh5- bffa Feb 27 21:44 neatvi-11/test/v10.sh [generic] 119 214 55.6% -lh5- 7a57 Feb 27 21:44 neatvi-11/test/v11.sh [generic] 115 223 51.6% -lh5- 6424 Feb 27 21:44 neatvi-11/test/v12.sh [generic] 140 276 50.7% -lh5- 5e9f Feb 27 21:44 neatvi-11/test/v13.sh [generic] 123 219 56.2% -lh5- f120 Feb 27 21:44 neatvi-11/test/v14.sh [generic] 109 201 54.2% -lh5- 8620 Feb 27 21:44 neatvi-11/test/v15.sh [generic] 120 275 43.6% -lh5- 418f Feb 27 21:44 neatvi-11/test/v16.sh [generic] 113 227 49.8% -lh5- f085 Feb 27 21:44 neatvi-11/test/v17.sh [generic] 91 148 61.5% -lh5- 3edd Feb 27 21:44 neatvi-11/test/v18.sh [generic] 99 180 55.0% -lh5- 0c56 Feb 27 21:44 neatvi-11/test/v19.sh [generic] 96 168 57.1% -lh5- 8146 Feb 27 21:44 neatvi-11/test/v20.sh [generic] 86 147 58.5% -lh5- a2aa Feb 27 21:44 neatvi-11/test/v21.sh [generic] 96 217 44.2% -lh5- a6eb Feb 27 21:44 neatvi-11/test/v22.sh [generic] 112 269 41.6% -lh5- b5ca Feb 27 21:44 neatvi-11/test/v23.sh [generic] 6806 21648 31.4% -lh5- dd61 Feb 27 21:44 neatvi-11/uc.c [generic] 7837 29732 26.4% -lh5- d0d2 Feb 27 21:44 neatvi-11/vi.c [generic] 1912 6644 28.8% -lh5- 9ffc Feb 27 21:44 neatvi-11/vi.h [generic] 59186 132340 44.7% -lh5- c8c0 May 28 02:03 neatvi-11/vi ---------- ----------- ------- ------- ------ ---------- ------------ ---------- Total 79 files 114195 301809 37.8% May 28 01:21
Aminet © 1992-2023 Urban Müller and the Aminet team. Aminet contact address: <aminet aminet net>