Wednesday, March 30, 2022

How to suppress screen message when using indentation in command line?

Hi,

I see the message like "4 lines indented ... 60B written". I do not see to this message. Besides piping it to /dev/null, is there a way to configure vim so that vim doesn't print it in the first place?

$ vim -n --cmd ':set t_ti= t_te=' -X -E -c 'normal gg=G' -c x /tmp/mktemp/tmp.6CgoYSnUWk.sh < /dev/tty
4 lines indented
"/private/tmp/mktemp/tmp.6CgoYSnUWk.sh" 4L, 60B written

--
--
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/42d3d43b-2998-4374-80a1-01182988fe05n%40googlegroups.com.

No comments:

Post a Comment