Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpope/vim-rsi
rsi.vim: Readline style insertion
https://github.com/tpope/vim-rsi
Last synced: 2 days ago
JSON representation
rsi.vim: Readline style insertion
- Host: GitHub
- URL: https://github.com/tpope/vim-rsi
- Owner: tpope
- Created: 2012-12-16T22:38:18.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2023-04-30T14:35:16.000Z (over 1 year ago)
- Last Synced: 2024-08-01T16:44:03.815Z (3 months ago)
- Language: Vim Script
- Homepage: http://www.vim.org/scripts/script.php?script_id=4359
- Size: 16.6 KB
- Stars: 579
- Watchers: 12
- Forks: 35
- Open Issues: 19
-
Metadata Files:
- Readme: README.markdown
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
- my-awesome-github-stars - tpope/vim-rsi - rsi.vim: Readline style insertion (Vim Script)
README
# rsi.vim
You know Readline key bindings? Of course you do, they're in your shell, your
REPL, and perhaps even the GUI for your OS. They're similar to Emacs
key bindings (C-a for home), but with several concessions for UNIX (C-w for
delete word).With rsi.vim, I've taken that same concession philosophy and extended it to
Vim. Get the most useful of the ubiquitous key bindings without blindly
overriding built-in Vim functionality.## Features
* Readline mappings are provided in insert mode and command line mode. Normal
mode is deliberately omitted.
* Important Vim key bindings (like insert mode's C-n and C-p completion) are
not overridden.
* Meta key bindings are provided in a way that works in the terminal without
the perils of remapping escape.
* C-d, C-e, and C-f are mapped such that they perform the Readline behavior in
the middle of the line and the Vim behavior at the end. (Think about it.)## Installation
If you don't have a preferred installation method, I recommend
installing [pathogen.vim](https://github.com/tpope/vim-pathogen), and
then simply copy and paste:cd ~/.vim/bundle
git clone git://github.com/tpope/vim-rsi.gitOnce help tags have been generated, you can view the manual with
`:help rsi`.## Contributing
See the contribution guidelines for
[pathogen.vim](https://github.com/tpope/vim-pathogen#readme).## Self-Promotion
Like rsi.vim? Follow the repository on
[GitHub](https://github.com/tpope/vim-rsi) and vote for it on
[vim.org](http://www.vim.org/scripts/script.php?script_id=4359). And if
you're feeling especially charitable, follow [tpope](http://tpo.pe/) on
[Twitter](http://twitter.com/tpope) and
[GitHub](https://github.com/tpope).## License
Copyright © Tim Pope. Distributed under the same terms as Vim itself.
See `:help license`.