A blog dedicated to text editing and general exploration of computing knowledge
Hi !Your blog is very cool, it made me use H J K and L keys rater than the arrow keys in vim ^^ !To remove blank lines, you can also do:%g/^$/dSince sometimes, \n does not work (I saw that once on AIX with vi)...
Wow, that's great! Glad you're enjoying the blog and thanks for the tip.
Really a nice blog, so much tips about vim, great, thanks.Outside vim:$ grep -v '^$' file$ grep '.' file$ sed '/^$/d' file$ sed -n '/^$/!p' file$ awk NF file$ awk '/./' filehttp://unstableme.blogspot.com
Post a Comment