RosettaGit

  • Tasks
  • Drafts
  • Languages

Contributing

  • Code on GitHub
  • Issues
  • Changelog

Special Pages

  • Similar Sites
  • Online Execution

Vim Script

Vim Script is the language for scripting the popular Vim text editor ( a Vi-clone ).

It is also sometimes called VimL.

External Links

  • vim.org - official site
  • Vim's script repository
  • "Write a Vim Script" - intro to Vim Script in the Vim documentation
  • Learn Vimscript the Hard Way - an online book for learning Vim Script

Tasks

  • Apply a callback to an array
  • Arithmetic/Integer
  • Arrays
  • Associative array/Creation
  • Associative array/Iteration
  • Averages/Arithmetic mean
  • Binary digits
  • Boolean values
  • Character codes
  • Collections
  • Comments
  • Compound data type
  • Copy a string
  • Count in octal
  • Create a two-dimensional array at runtime
  • Empty program
  • Factorial
  • FizzBuzz
  • Generate lower case ASCII alphabet
  • Greatest element of a list
  • Hello world!
  • Hello world/Newline omission
  • Hello world/Text
  • Hostname
  • Langton's ant
  • Largest int from concatenated ints
  • Literals/Floating point
  • Literals/String
  • Loops/For with a specified step
  • Loops/Foreach
  • Loops/N plus one half
  • Loops/While
  • Remove duplicate elements
  • Y combinator

Created by Adrian Sieber and contributors with Zola

Licensed under the GFDL-1.3-or-later