sublimetext2 - Replace characters by key binding in sublime text 2 -
how write key binding replace specific character one?
for example want replace "[" , "]" empty string "".
unfortunately, make custom key binding need write plugin in python finding , replacing, there no built-in commands doing so. however, want accomplished using find -> replace...
dialog. make sure regular expressions button selected, put \[|\]
in find what:
box, , nothing in replace with:
box (it's best put cursor in there , delete everything, in case there invisible characters such spaces or tabs there). hit replace replace characters 1 @ time, or replace all replace of them in 1 go.
Comments
Post a Comment