tpope / vim-rsi

rsi.vim: Readline style insertion
http://www.vim.org/scripts/script.php?script_id=4359
590 stars 36 forks source link

C-g in commandline mode #4

Closed losingkeys closed 10 years ago

losingkeys commented 11 years ago

It'd be nice to exit commandline mode with C-g just like in readline

losingkeys commented 11 years ago

At first I tried

cmap <script> <C-G> <Esc>

But it didn't seem to work (got an E492), do you know why? At any rate, this seems to work fine :)

tpope commented 10 years ago

Closing in favor of #6.