Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
fa4e86d
a few personal changes
Dec 10, 2021
bc3e9c9
added 'fresh tab' for browser, ruby commands
Feb 18, 2022
057efd2
a few personal changes
Mar 18, 2022
1caa53b
added:
Apr 1, 2022
57881fa
added my_vscode and my_ruby changes
Jun 9, 2022
2fe01ce
updated markdown.talon and my_ruby_terminal.talon
Jun 21, 2022
33d5eaa
updates to markdown, my_ruby. branch: ghouston-master
Aug 11, 2022
e06b84c
markdown, kubectl, vs code changes
Oct 3, 2022
f018d59
updates for google_meet, slack_mac, my_ruby, chrome_mac
ghouston Dec 10, 2022
5c79a99
add warp.talon for mac support
ghouston Feb 10, 2023
46c7909
update slack, messaging, and warp
ghouston Feb 10, 2023
7616077
2023-05-19 personalized talon tweaks
ghouston May 19, 2023
6733cb7
personal tweaks for vscode, warp, ruby
ghouston May 27, 2023
2e0c65c
add binding break to my_ruby
ghouston Jun 14, 2023
9188e24
restore default user.mouse_enable_pop_click setting
ghouston Jun 14, 2023
03d1d19
updated warp `last speck` command
ghouston Aug 29, 2023
8247c9f
added 'pop sibling' to my_vscode.talon
ghouston Aug 31, 2023
c694789
add comment about project name in vscode
ghouston Sep 14, 2023
ee17d0f
2023-09-27
ghouston Sep 27, 2023
a9a61b8
add "key <name>" to ruby.talon
ghouston Sep 28, 2023
3f8f86f
improve git --force-if-includes; vscode copilot suggest
ghouston Nov 10, 2023
0b7bd6f
a few personal changes
Dec 10, 2021
9700e64
added 'fresh tab' for browser, ruby commands
Feb 18, 2022
9854713
added:
Apr 1, 2022
ca8dfbe
added my_vscode and my_ruby changes
Jun 9, 2022
010d978
add warp.talon for mac support
ghouston Feb 10, 2023
f4c682e
2023-05-19 personalized talon tweaks
ghouston May 19, 2023
56e492f
personal tweaks for vscode, warp, ruby
ghouston Jan 7, 2025
eb1e6e8
restore default user.mouse_enable_pop_click setting
ghouston Jun 14, 2023
fc7938e
2023-09-27
ghouston Jan 7, 2025
3f26433
improve git --force-if-includes; vscode copilot suggest
ghouston Jan 7, 2025
3736c2b
added ruby 'define <phrase>'
ghouston Jan 11, 2024
96d0118
add vscode copilot and open link commands
ghouston Jan 7, 2025
725a2e8
2024-04-19 added parrot cluck, other minor changes
ghouston Apr 19, 2024
3af7a47
2024-09-05
ghouston Jan 7, 2025
7ca43c3
automated update to tags, and add cursorless_use_community_snippets
ghouston Jan 7, 2025
51bfbe7
add switch foam and switch view for vscode
ghouston Jan 7, 2025
523d202
2025-03-28
ghouston Mar 28, 2025
5d12f59
2025-07-21 remove pop to wake, add settings/*.csv files
ghouston Jul 21, 2025
f4c5488
add slack commands
ghouston Jul 21, 2025
c369dcb
2025-12-09 various small changes
ghouston Dec 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions apps/git/git.talon
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,21 @@ git stash [push] [<user.git_arguments>] message [<user.prose>]:

# Optimistic execution for frequently used commands that are harmless (don't
# change repository or index state).
git status$: "git status\n"
git add patch$: "git add --patch\n"
git show head$: "git show HEAD\n"
git diff$: "git diff\n"
git diff (cached | cashed)$: "git diff --cached\n"
git status$:
"git status"
key(enter)
git add patch$:
"git add --patch"
key(enter)
git show head$:
"git show HEAD"
key(enter)
git diff$:
"git diff"
key(enter)
git diff (cached | cashed)$:
"git diff --cached"
key(enter)

# Convenience
git clone clipboard:
Expand Down
2 changes: 2 additions & 0 deletions apps/git/git_argument.talon-list
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ fast forward only: --ff-only
force: --force
force create: --force-create
force with lease: --force-with-lease
force if includes: --force-if-includes
force safely: --force-with-lease --force-if-includes
global: --global
global: --global
hard: --hard
Expand Down
16 changes: 16 additions & 0 deletions apps/google_meet/google_meet.talon
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
app: Google Meet

-

# Google Meet is a Desktop version of Meet.
# Its a "Progressice Web App" which is installable on the desktop.
# Installation instructions are found at https://support.google.com/meet/answer/10708569?hl=en

tag(): browser

# not a lot of keyboard short cuts are available.
# so you probably want to use something like the
# vimium extension for more controls.
([toggle] mute | unmute): key(super-d)
toggle (video | camera): key(super-e)
(raise | lower | toggle) hand: key(ctrl-super-h)
5 changes: 5 additions & 0 deletions apps/kubectl/kubectl.talon
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,8 @@ cube detach:
key("ctrl-p")
key("ctrl-q")
cube shell: user.insert_between("kubectl exec -it ", " -- /bin/bash")

cube pod name: "export POD_NAME=$(kubectl get pods -o go-template --template '{{{{range .items}}}}{{{{.metadata.name}}}}{{{{\"\\n\"}}}}{{{{end}}}}') && echo Name of the Pod: $POD_NAME"
cube pod environment: "kubectl exec $POD_NAME -- env"
cube pod (shell|bash): "kubectl exec -ti $POD_NAME -- bash"
cube node port: "export NODE_PORT=$(kubectl get services/kubernetes-bootcamp -o go-template='{{{{(index .spec.ports 0).nodePort}}}}') && echo NODE_PORT=$NODE_PORT"
4 changes: 4 additions & 0 deletions apps/kubernetes_minikube/minikube.talon
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-
mini cube: "minikube "
mini cube version: "minikube version "
mini cube start: "minikube start "
3 changes: 3 additions & 0 deletions apps/my_generic_browser.talon
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tag: browser
-
fresh tab:app.tab_open()
19 changes: 18 additions & 1 deletion apps/slack/slack.talon
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ workspace <number>: user.slack_open_workspace(number)
# Channel
(slack | lack) [channel] info: user.slack_show_channel_info()
focus (move | next): key(ctrl-`)
# mac
channel (next|down): key(alt-down)
channel (previous|up): key(alt-up)
(section | zone) [next]: user.slack_section_next()
(section | zone) (previous | last): user.slack_section_previous()
(slack | lack) (starred [items] | stars): user.slack_open_starred_items()
Expand All @@ -25,6 +28,12 @@ add line: key(shift-enter)
(element | bit) [next]: key(tab)
(element | bit) (previous | last): key(shift-tab)

(slack | lack) jump: key(cmd-k)
(slack | lack) jump to [<phrase>]:
key(cmd-k)
sleep(100ms)
{phrase}
(slack | lack) home: key(ctrl-1)
(slack | lack) (my stuff | activity): user.slack_open_activity()
(slack | lack) directory: user.slack_open_directory()

Expand All @@ -43,7 +52,8 @@ bold: user.slack_toggle_bold()
(strike | strikethrough): user.slack_toggle_strikethrough()
(slack | lack) snippet: user.slack_create_snippet()
# Calls
(slack | lack) huddle: user.slack_huddle()
# (slack | lack) huddle: user.slack_huddle()
(slack | lack) (later): key(ctrl-4)
([toggle] mute | unmute): key(m)
(slack | lack) ([toggle] video): key(v)
(slack | lack) invite: key(a)
Expand All @@ -53,6 +63,10 @@ emote <user.text>: ":{text}:"
(slack | lack) shortcuts: user.slack_open_keyboard_shortcuts()
toggle left sidebar: user.slack_toggle_left_sidebar()
toggle right sidebar: user.slack_toggle_right_sidebar()
toggle left [sidebar | bar]: user.slack_toggle_left_sidebar()
toggle right [sidebar | bar]: user.slack_toggle_right_sidebar()
bar switch [left]: user.slack_toggle_left_sidebar()
bar switch right: user.slack_toggle_right_sidebar()

# DEPRECATED
(move | next) focus:
Expand All @@ -70,3 +84,6 @@ toggle right sidebar: user.slack_toggle_right_sidebar()
(previous | last) (element | bit):
app.notify("please use the voice command 'element last' instead of 'last element'")
key(shift-tab)

# not sure if this works correctly...
format message: key(ctrl-shift-f)
2 changes: 1 addition & 1 deletion apps/teams/teams_mac.talon
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ start audio call: key(super-shift-c)
start video call: key(super-shift-u)
toggle mute: key(super-shift-m)
starch screen share session: key(super-shift-e)
toggle video: key(super-shift-o)
toggle (video | camera): key(super-shift-o)
[go] [to] sharing toolbar: key(super-shift-space)
decline screen share: key(super-shift-d)
accept screen share: key(super-shift-a)
Expand Down
102 changes: 102 additions & 0 deletions apps/vscode/my_vscode.talon
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
#custom vscode commands go here
# app: vscode
# -
# tag(): user.find_and_replace
# tag(): user.line_commands
# tag(): user.multiple_cursors
# tag(): user.splits
# tag(): user.tabs
# tag(): user.cursorless_experimental_snippets
app: vscode
-
tag(): user.find_and_replace
tag(): user.line_commands
tag(): user.multiple_cursors
tag(): user.splits
tag(): user.tabs

file (search|forage):
user.vscode("workbench.action.findInFiles")

file path:
user.vscode("copyRelativeFilePath")

# from https://talonvoice.slack.com/archives/C026KPTJE6T/p1649511384551359?thread_ts=1649423777.038099&cid=C026KPTJE6T
search next: user.vscode("search.action.focusNextSearchResult")
search last: user.vscode("search.action.focusPreviousSearchResult")
search file remove: user.vscode("search.searchEditor.action.deleteFileResults")
search remove: user.vscode("search.action.remove")
# search include:
# user.mouse_helper_position_save()
# user.mouse_helper_move_image_relative("2022-04-07_10.37.15.839419.png", 0, 0, 35)
# sleep(0.05)
# mouse_click(0)
# sleep(0.05)
# user.mouse_helper_position_restore()
# key(cmd-a)
# search exclude:
# user.mouse_helper_position_save()
# user.mouse_helper_move_image_relative("2022-04-07_10.41.48.462607.png", 0, 0, 35)
# sleep(0.05)
# mouse_click(0)
# sleep(0.05)
# user.mouse_helper_position_restore()
# key(cmd-a)


# Bookmarks. Requires Bookmarks plugin
go marks: user.vscode("workbench.view.extension.bookmarks")
toggle mark: user.vscode("bookmarks.toggle")
go next mark: user.vscode("bookmarks.jumpToNext")
go last mark: user.vscode("bookmarks.jumpToPrevious")

# alternatives to Bookmarks in vscode.talon
# go marks
bar mark: user.vscode("workbench.view.extension.bookmarks")
# go next mark
mark next: user.vscode("bookmarks.jumpToNext")
# go last mark
mark previous: user.vscode("bookmarks.jumpToPrevious")
# toggle mark
mark toggle: user.vscode("bookmarks.toggle")
(toggle mark|mark toggle) label:
key(alt-cmd-h)

(tab pin|pin toggle):
key(cmd-k)
key(shift-enter)

# requires the extension: https://marketplace.visualstudio.com/items?itemName=testdouble.vscode-alternate-alternate-file
pop sibling:
user.vscode("workbench.action.showCommands")
insert("alternate file")
sleep(100ms)
key(enter)

tab hunt <user.text>:
user.vscode("workbench.action.quickOpen")
insert("edt ")
insert(user.text or "")


suggest:
user.vscode("editor.action.inlineSuggest.trigger")

(toggle bookmark|bookmark toggle):
key(alt-cmd-k)
bookmark toggle label:
key(alt-cmd-h)
(go to | follow) link:
user.vscode('editor.action.openLink')

key(ctrl+d):
user.disable_talon_mic()

# this adds the spoken forms `scout all`, `scout all say <phrase>`, `scout all poke` (e.g. paste)
# the cursorless form `scout all <target>` still works!
scout all:
app.notify("scout all")
user.vscode("workbench.action.findInFiles")

scout:
user.vscode("actions.find")
68 changes: 68 additions & 0 deletions apps/vscode/my_vscode_mac.talon
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#custom vscode commands go here
app: vscode
os: mac
-
tag(): user.find_and_replace
tag(): user.line_commands
tag(): user.multiple_cursors
tag(): user.splits
tag(): user.tabs

# note: change vscode preferences window title to `[${rootName}] ${activeEditorShort}${separator}${activeFolderMedium}${separator}${activeRepositoryBranchName}${separator}focus:[${focusedView}]`
# so that project name is first and inside [].
switch talon:
key('ctrl-w')
sleep(100ms)
"talon"
key('enter')

switch dendron:
key('ctrl-w')
sleep(100ms)
"dendron"
key('enter')

switch foam:
key('ctrl-w')
sleep(100ms)
"foam"
key('enter')

switch user:
key('ctrl-w')
sleep(100ms)
"user"
key('enter')

switch view:
key('ctrl-w')
sleep(100ms)
"doximity-client-vue"
key('enter')

# bar (copilot | chat):
# user.vscode("workbench.panel.chat.view.copilot.focus")

# copilot switch:
# user.vscode("workbench.panel.chat.view.copilot.focus")
# sleep(100ms)
# insert("@workspace ")
# #user.vscode("type", { text: "@workspace " })

# copilot code switch:
# user.vscode("workbench.panel.chat.view.copilot.focus")
# sleep(100ms)
# insert("@vscode ")

# copilot explain:
# user.vscode("github.copilot.interactiveEditor.explain")

# copilot fix this:
# user.vscode("github.copilot.interactiveEditor.fix")

# copilot inline:
# user.vscode("inlineChat.start")
# # user.vscode("editor.action.inlineSuggest.trigger")

# copilot search:
# user.vscode("github.copilot.executeSearch")
29 changes: 29 additions & 0 deletions apps/vscode/my_vscode_win.talon
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#custom vscode commands go here
app: vscode
os: windows
-
tag(): user.find_and_replace
tag(): user.line_commands
tag(): user.multiple_cursors
tag(): user.splits
tag(): user.tabs

# TODO: get this working... i need to learn about captures
# switch <phrase>:
# key('alt-`')
# sleep(100ms)
# user.parse_phrase(phrase)
# key('enter')

switch user:
key('alt-`')
sleep(100ms)
"user"
key('enter')

# on my windows, i am running dendron in a docker dev environment
switch (docker|dendron):
key('alt-`')
sleep(100ms)
"docker"
key('enter')
2 changes: 1 addition & 1 deletion apps/vscode/vscode.talon
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bar extensions: user.vscode("workbench.view.extensions")
bar outline: user.vscode("outline.focus")
bar run: user.vscode("workbench.view.debug")
bar search: user.vscode("workbench.view.search")
bar source: user.vscode("workbench.view.scm")
bar (source|git) [control]: user.vscode("workbench.view.scm")
bar test: user.vscode("workbench.view.testing.focus")
bar switch: user.vscode("workbench.action.toggleSidebarVisibility")

Expand Down
34 changes: 33 additions & 1 deletion apps/warp/warp.talon
Original file line number Diff line number Diff line change
@@ -1,9 +1,41 @@
os: mac
app: dev.warp.Warp-Stable
app: warp
-
tag(): terminal
# todo: filemanager support
#tag(): user.file_manager
tag(): user.generic_unix_shell
tag(): user.git
tag(): user.kubectl
tag(): user.tabs
tag(): user.file_manager
tag(): user.readline

^last speck:
key(cmd-l)
"spec"
key(ctrl-r)

# ^last <phrase>:
# key(cmd-l)
# mimic(phrase)
# key(ctrl-r)

# ^command [<phrase>]:
# key(cmd-l)
# mimic(phrase or "")
# # user.parse_phrase(phrase or "")

last one:
key(cmd-l)
key(up)
key(enter)

# note, this shortcut will leave a charcode when looking at logs
scroll bottom:
key(cmd-shift-down)

find puts:
key(cmd-f)
">>>>>"
key(enter)
Loading