Le 06/06/2023 à 02:58, Gary Johnson a écrit :
if line("$") == 1 && empty(getline(1))

that's nice

if last line is the first one, and  first line is empty

thank you.

--
--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/e6c33afc-39b0-4dad-8794-1597c1d3539f%40sfr.fr.

Reply via email to