README.markdown (1818B)
1 # rsi.vim 2 3 You know Readline key bindings? Of course you do, they're in your shell, your 4 REPL, and perhaps even the GUI for your OS. They're similar to Emacs 5 key bindings (C-a for home), but with several concessions for UNIX (C-w for 6 delete word). 7 8 With rsi.vim, I've taken that same concession philosophy and extended it to 9 Vim. Get the most useful of the ubiquitous key bindings without blindly 10 overriding built-in Vim functionality. 11 12 ## Features 13 14 * Readline mappings are provided in insert mode and command line mode. Normal 15 mode is deliberately omitted. 16 * Important Vim key bindings (like insert mode's C-n and C-p completion) are 17 not overridden. 18 * Meta key bindings are provided in a way that works in the terminal without 19 the perils of remapping escape. 20 * C-d, C-e, and C-f are mapped such that they perform the Readline behavior in 21 the middle of the line and the Vim behavior at the end. (Think about it.) 22 23 ## Installation 24 25 If you don't have a preferred installation method, I recommend 26 installing [pathogen.vim](https://github.com/tpope/vim-pathogen), and 27 then simply copy and paste: 28 29 cd ~/.vim/bundle 30 git clone git://github.com/tpope/vim-rsi.git 31 32 Once help tags have been generated, you can view the manual with 33 `:help rsi`. 34 35 ## Contributing 36 37 See the contribution guidelines for 38 [pathogen.vim](https://github.com/tpope/vim-pathogen#readme). 39 40 ## Self-Promotion 41 42 Like rsi.vim? Follow the repository on 43 [GitHub](https://github.com/tpope/vim-rsi) and vote for it on 44 [vim.org](http://www.vim.org/scripts/script.php?script_id=4359). And if 45 you're feeling especially charitable, follow [tpope](http://tpo.pe/) on 46 [Twitter](http://twitter.com/tpope) and 47 [GitHub](https://github.com/tpope). 48 49 ## License 50 51 Copyright © Tim Pope. Distributed under the same terms as Vim itself. 52 See `:help license`.