summaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-03-08 12:41:09 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-03-08 12:41:09 -0700
commit7c585d4e43c4665b185953f96c1ce21871ad4a75 (patch)
treec07319533013a7d412744eb50a5aa8853ada2548 /.tmux.conf
parentb2de6d0fa691b87d0de3821b8743d89b2777a767 (diff)
downloaddotfiles-7c585d4e43c4665b185953f96c1ce21871ad4a75.tar.gz
add grepcopy shell alias as a tmux binding
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 4769adbf..eda32269 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -36,6 +36,7 @@ bind "C-\\" last-window
# bind c new-window -c "#{pane_current_path}"
bind C new-window -c "#{pane_current_path}"
+bind G new-window -c "#{pane_current_path}" "grep --color=always -Eir '(copyright|©)' * | less -R"
# # my launcher shortcuts: mnemonic is h for host and e for emacs/editor
# # E for e-mail