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

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -