sponsor Vim development Vim logo Vim Book Ad

readline.vim : Readline-style bindings for command mode

 script karma  Rating 5/2, Downloaded by 82    Comments, bugs, improvements  Vim wiki

created by
Elias Åström
script type
Readline is a library used for implementing line editing across many command-line tools (including bash and other shells and interpreters).  Readline ships with a default set of key-bindings that you are probably already familiar with.

The readline default bindings is a mixture of traditional UNIX and EMACS bindings. Here are some examples:

- CTRL-A cursor to start of line
- CTRL-E cursor to end of line
- CTRL-B cursor forward
- CTRL-F cursor forward
- CTRL-U delete to start of line
- CTRL-K delete to end of line

This plugins implements a subset of readline's default keyboard commands to Vim's command-mode. Mappings available include deletion and navigation by words and other useful stuff. By using this plugin you get the same interface when editing command-lines in Vim as you do in your favorite shell!

Follow the development at http://github.com/ryvnf/readline.vim. Report bugs or request features by creating issues at the github repository.
install details
Extract the zip file into your ~/.vim directory (vimfiles on Windows):

<in unix shell>
$ unzip <zip-folder> ~/.vim/

Run helptags command so you can access help page using `:h readline`:

<in vim>
:helptags ~/.vim/doc

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
readline.zip 1.4 2018-03-20 7.0 Elias Åström Improved documentation
readline.zip 1.2 2017-12-27 7.0 Elias Åström Bugfix
readline.zip 1.1 2017-12-26 7.0 Elias Åström Fixed a few bugs in mappings
readline.zip 1.0 2017-12-26 7.0 Elias Åström Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo