This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
emacsclient --alternate-editor='' -nw |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is also documented on the weechat pluging repository | |
# except for the first step which took me a minute to figure out | |
/set script.scripts.download_enabled on | |
/script install slack.py | |
/slack register |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for s in \$(tmux list-sessions | awk '{print \$1}' | rg ':' -r '' | fzy); do tmux kill-session -t \$s; done; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://waylonwalker.com/tmux-fzf-session-jump/ | |
bind-key -n M-z display-popup -E "\ | |
tmux list-sessions -F '#{?session_attached,,#{session_name}}' |\ | |
sed '/^$/d' |\ | |
fzf --reverse --header jump-to-session --preview 'tmux capture-pane -pt {}' |\ | |
xargs tmux switch-client -t" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install: https://github.com/BurntSushi/ripgrep#installation | |
# Use ripgrep instead of grep | |
set-option global grepcmd 'rg -Hn --no-heading' |
OlderNewer