Questions Columns Rows
GitHub icon

Vim script

Vim script - Programming language

< >

Vim script is an open source programming language created in 1991.

#430on PLDB 32Years Old 4kRepos

Try now: Riju

Vim (; a contraction of Vi IMproved) is a clone, with additions, of Bill Joy's vi text editor program for Unix. It was written by Bram Moolenaar based on source for a port of the Stevie editor to the Amiga and first released publicly in 1991. Vim is designed for use both from a command-line interface and as a standalone application in a graphical user interface. Read more on Wikipedia...

Example from Riju:
:echo "Hello, world!"
Example from hello-world:
echo "Hello World"
Example from Linguist:
" Name: Solarized vim colorscheme " Author: Ethan Schoonover <> " URL: " (see this url for latest release & screenshots) " License: OSI approved MIT license (see end of this file) " Created: In the middle of the night " Modified: 2011 May 05 " " Usage "{{{ " " --------------------------------------------------------------------- " ABOUT: " --------------------------------------------------------------------- " Solarized is a carefully designed selective contrast colorscheme with dual " light and dark modes that runs in both GUI, 256 and 16 color modes. " " See the homepage above for screenshots and details. " " --------------------------------------------------------------------- " OPTIONS: " --------------------------------------------------------------------- " See the "solarized.txt" help file included with this colorscheme (in the " "doc" subdirectory) for information on options, usage, the Toggle Background " function and more. If you have already installed Solarized, this is available " from the Solarized menu and command line as ":help solarized" " " --------------------------------------------------------------------- " INSTALLATION: " --------------------------------------------------------------------- " Two options for installation: manual or pathogen " " MANUAL INSTALLATION OPTION: " --------------------------------------------------------------------- " " 1. Download the solarized distribution (available on the homepage above) " and unarchive the file. " 2. Move `solarized.vim` to your `.vim/colors` directory. " 3. Move each of the files in each subdirectories to the corresponding .vim " subdirectory (e.g. autoload/togglebg.vim goes into your .vim/autoload " directory as .vim/autoload/togglebg.vim). " " RECOMMENDED PATHOGEN INSTALLATION OPTION: " --------------------------------------------------------------------- " " 1. Download and install Tim Pope's
Example from Wikipedia:
" This is the Hello World program in Vim script. echo "Hello, world!" " This is a simple while loop in Vim script. let i = 1 while i < 5 echo "count is" i let i += 1 endwhile

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Stats Sponsor Traffic Traffic Today Day 267 Logout