Tuesday, April 14, 2020

Re: indent file from command line without blinking

On Mo, 13 Apr 2020, Peng Yu wrote:

> I use the following command to indent file in command line. But it blinks. Is there a way to let it not blink? Thanks.
>
> vim -n -X -E -c 'normal gg=G' -c 'x' file.sh < /dev/tty

What blinks?


Best,
Christian
--
An Grundsätzen hält man nur fest, solange sie nicht auf die Probe
gestellt werden; geschieht das, so wirft man sie fort wie der Bauer
die Pantoffeln und läuft, wie einem die Beine nach der Natur gewachsen
sind.
-- Otto von Bismarck

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200414080113.GH25035%40256bit.org.

No comments:

Post a Comment