Linux Today: Linux News On Internet Time.

Open Source Software Scripting in Vim

Aug 10, 2010, 16:06 (0 Talkback[s])
(Other stories by Juliet Kemp)

"I've been using the open source editor Vim for an alarming number of years now, but I only very recently encountered its scripting capabilities. Here I'll look at writing a quick script in Vim's built-in scripting language. You can also use another scripting language if you prefer.

"Vimscript is function-based. Here's an example of a function to put in your ~/.vimrc that puts a single text underline (a row of dashes) under the current line. Note that function names must start with a capital letter to distinguish them from built-in functions."

Complete Story

Related Stories: