Skip to content

Commit

Permalink
Merge pull request #136 from rctay/rc/bookmark-no-space
Browse files Browse the repository at this point in the history
'<*> jumps to first non-whitespace character on line
  • Loading branch information
Sublime HQ Pty Ltd committed Jul 19, 2012
2 parents eedf53a + 6b567ec commit 6fca78e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions vintage.py
Original file line number Diff line number Diff line change
Expand Up @@ -1025,11 +1025,7 @@ class ViSelectBookmark(sublime_plugin.TextCommand):
def run(self, edit, character, select_bol=False):
self.view.run_command('select_all_bookmarks', {'name': "bookmark_" + character})
if select_bol:
sels = list(self.view.sel())
self.view.sel().clear()
for r in sels:
start = self.view.line(r.a).begin()
self.view.sel().add(sublime.Region(start, start))
self.view.run_command('vi_move_to_first_non_white_space_character')

g_macro_target = None

Expand Down

0 comments on commit 6fca78e

Please sign in to comment.