Linux Today: Linux News On Internet Time.

More on LinuxToday

Matching Newlines in Vim

Oct 14, 2009, 16:33 (0 Talkback[s])
(Other stories by Juliet Kemp)


How to Help Your Business Become an AI Early Adopter

"It's pleasingly straightforward: All you do is to add _ in front of the character class you want to match. This will then match the character class plus newline. So to search for a word character:

/ (from command mode) is the search command in vim, and w indicates a word character. So, to search for a word character or newline:"

Complete Story

Related Stories:

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.