sponsor Vim development Vim logo Vim Book Ad

SmartX : Smart deletion of \X escapes with the x/X/Backspace/Delete keys

 script karma  Rating 0/0, Downloaded by 506    Comments, bugs, improvements  Vim wiki

created by
Christian J. Robinson
script type
This script will autmatically delete \X escapes when the cursor is on the \ and you press X in normal mode or after the X and you press backspace in insert mode.  X and the delete key in normal mode and the delete key in insert mode also work.
install details
The mappings are buffer-local so you need to source it from a filetype plugin, for example, put it in ~/.vim and put "runtime SmartX.vim" in ~/.vim/ftplugin/perl.vim.

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
SmartX.vim 0.1 2007-07-16 7.0 Christian J. Robinson 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