hbin / smart-shift

Smart shift text left/right by current major mode indentation width.
28 stars 7 forks source link

continuously shifting with single keystroke #3

Closed danielwuz closed 10 years ago

danielwuz commented 10 years ago

Make continuously shifting easier. After invoking the two shift commands the first time, user can continuously shifting region or line by simply hitting [ or ]; hitting anything else will just be transparent therefore not get in the way of editing.

danielwuz commented 10 years ago

@hbin Hi hbin, how do you think? I personally feel this is handy than keep hitting C-c [, in fact, I stoled this idea from [https://github.com/doitian/iy-go-to-char]. In iy-go-to-char, after first search, user can repeatedly hitting a char for next match.

hbin commented 10 years ago

Sorry for delay, thanks! :+1: