Re: [dev] st: different keybindings not in man page

2017-04-09 Thread Greg Reagle
On Sun, Apr 9, 2017, at 22:53, Greg Reagle wrote:
> If someone can confirm that the man page should be updated to reflect
> the new keybindings, I will submit a patch of st.1.  The man page still
> has "Alt".

Never mind.  I didn't have the patience to wait for confirmation.  I
sent patch to hack...@suckless.org.



[dev] st: different keybindings not in man page

2017-04-09 Thread Greg Reagle
If someone can confirm that the man page should be updated to reflect
the new keybindings, I will submit a patch of st.1.  The man page still
has "Alt".

commit 20f713548de451b67db3306cf8cf7b2f38fee05c
Author: Roberto E. Vargas Caballero 
Date:   Wed Jan 25 19:17:38 2017 +0100

Change default keybindings

CTRL+SHIFT is an impossible combination in the terminal world
(0x20 | x & 0x1F), so it is perfect to be used for internals
shortcuts of terminals, and being a double combination
reduces the prossibility of having comflicts.



Re: [dev] [announce] mle: a small terminal-based text editor

2017-04-09 Thread S. Gilles
On 2017-03-29T19:00:03+, Cág wrote:
> Wolfgang Corcoran-Mathe wrote:
> 
> > mle is too complex for my taste (scripting and syntax highlighting
> > seem unecessary, though I’m in the grumpy minority here)
> 
> Personally I'd like to see more of something like mg or busybox' vi.
> Unfortunately they both don't support UTF-8. nvi is pretty good as
> well.

I wrote a patch[0] for mg which sort of adds Unicode support a while
back via wchar_t. Upstream interest was low, as they were just about
to release 6.0 and I got the impression they'd rather write it
themselves, but as far as I can tell it works. At the very least,
it could be used as a guide towards which parts of mg need to be
ripped out and rewritten.

[0] https://github.com/hboetes/mg/tree/display-wide-characters

-- 
S. Gilles



Re: [dev] [announce] mle: a small terminal-based text editor

2017-04-09 Thread robin
On Wed, Mar 29, 2017 at 07:00:03PM +, Cág wrote:
> 
> Personally I'd like to see more of something like mg or busybox' vi.
> Unfortunately they both don't support UTF-8. nvi is pretty good as
> well.
> 
> -- 
> caóc
> 

I wrote a vi like editor in <1k lines.
Fairly shitty, but maybe it inspires to something.

https://github.com/byllgrim/svi