Introduction
Introduction Statistics Contact Development Disclaimer Help
tvi.c: add qq binding for :q - neatvi - [fork] simple vi-type editor with UTF-8…
git clone git://src.adamsgaard.dk/neatvi
Log
Files
Refs
README
---
commit fbbc19bee1ef46a35cc4c76bd921f2f7af2284a9
parent 6fa27203398ab76f336189d917da39de687082b4
Author: Anders Damsgaard <[email protected]>
Date: Sat, 21 May 2022 06:37:58 +0200
vi.c: add qq binding for :q
Diffstat:
M vi.c | 5 +++++
1 file changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/vi.c b/vi.c
t@@ -1298,6 +1298,11 @@ static void vi(void)
vi_back('y');
vc_motion('y');
break;
+ case 'q':
+ k = vi_read();
+ if (k == 'q')
+ ex_command("q");
+ break;
case 'Z':
k = vi_read();
if (k == 'Z')
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.