Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Commit

Permalink
Fixed error in jump_to_line - key binding was set to command, but sho…
Browse files Browse the repository at this point in the history
…uld be set to control. Added synonym 'spring' to 'line' command.
  • Loading branch information
J. S. Nickerson authored and dwiel committed Mar 28, 2020
1 parent 4b45591 commit 15ed1e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/vscode.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def jump_to_line(m):
if line_number == 0:
line_number = 1

press("cmd-g")
press("ctrl-g")
Str(str(line_number))(None)
press("enter")

Expand Down Expand Up @@ -66,8 +66,8 @@ def select_lines_function(m):
# Clipboard
"clone": Key("alt-shift-down"),
# Navigation
"line" + optional_numerals: jump_to_line,
"Go to line": Key("cmd-g"),
("line | spring") + optional_numerals: jump_to_line,
"Go to line": Key("ctrl-g"),
"line up" + optional_numerals: repeat_function(2, "alt-up"),
"line down" + optional_numerals: repeat_function(2, "alt-down"),
# Navigating Interface
Expand Down

0 comments on commit 15ed1e7

Please sign in to comment.