Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


Top White Papers

  • It's time high-level executives and IT compliance officers recognize and acknowledge the danger of malicious insiders, an increased attack surface and...
    Download

  • A help desk is critical to the operations of an IT services business. As a centralized intake location for technical issues, it allows for a responsive...
    Download

More on LinuxToday


Matching Newlines in Vim

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

"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:

/w
/ (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: