Skip to content

Commit

Permalink
update terminal and file explorer behaviors, remove homophone, and ad…
Browse files Browse the repository at this point in the history
…d extra symbol command
  • Loading branch information
chrisnicollo committed Mar 10, 2024
1 parent 0c9c64a commit 79e027d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/powershell/powershell_win.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
app: windows_terminal
and win.title: /PowerShell/
"""
ctx.tags = ["user.file_manager"] # chrisnicollo EDIT: Activate file manager commands within PowerShell

directories_to_remap = {}
directories_to_exclude = {}
Expand Down
1 change: 1 addition & 0 deletions apps/windows_explorer/windows_explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def file_manager_show_properties():
def file_manager_open_directory(path: str):
"""opens the directory that's already visible in the view"""
actions.key("ctrl-l")
actions.sleep("50ms") # chrisnicollo EDIT: pause to select directory bar before editing
actions.insert(path)
actions.key("enter")

Expand Down
3 changes: 3 additions & 0 deletions core/application_matches.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@
apps.windows_terminal = """
os: windows
and app.exe: WindowsTerminal.exe
os: windows
and app.name: WindowsTerminal.exe
"""
# chrisnicollo EDIT: update windows terminal match properties

mod.apps.windows_power_shell = """
os: windows
Expand Down
2 changes: 1 addition & 1 deletion core/homophones/homophones.csv
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ way,weigh,whey
we,wee
where,wear,ware
were,whir,we're
whether,weather,wether
whether,weather
we'd,weed
week,weak
weekly,weakly
Expand Down
3 changes: 2 additions & 1 deletion plugin/symbols/symbols.talon
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ inside (squares | square brackets | list): user.insert_between("[", "]")
inside (bracket | braces): user.insert_between("{", "}")
inside percent: user.insert_between("%", "%")
inside (quotes | string): user.insert_between("'", "'")
inside (double quotes | dub quotes): user.insert_between('"', '"')
# chrisnicollo EDIT: add inside dub string
inside (double quotes | dub quotes | dub string): user.insert_between('"', '"')
inside (graves | back ticks): user.insert_between("`", "`")
# chrisnicollo EDIT START
inside angles: user.insert_between("<", ">")
Expand Down

0 comments on commit 79e027d

Please sign in to comment.