changeset 171:c7d57d158331

x
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Thu, 28 Jul 2022 15:33:21 +0100
parents b41425a5e2f6
children 72b0420167dc
files .hgignore .tmux.conf
diffstat 2 files changed, 24 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Wed Jul 20 19:48:11 2022 +0100
+++ b/.hgignore	Thu Jul 28 15:33:21 2022 +0100
@@ -9,7 +9,9 @@
 \.parallel
 \.python_history
 \.dbus
-\.gnupg/pubring.gpg .gnupg/secring.gpg .gnupg/trustdb.gpg
+\.gnupg/pubring.gpg
+.gnupg/secring.gpg
+.gnupg/trustdb.gpg
 lib/perl5
 src/usr/lib/python3.6
 src/apache.*
@@ -81,3 +83,11 @@
 .singularity
 .saves-*
 .lesshst
+.bashrc_2021
+bootstrap-prefix.sh
+cdx2sql
+atest
+cdx_segment
+cdx_tab
+cdx_tab1
+ezip
--- a/.tmux.conf	Wed Jul 20 19:48:11 2022 +0100
+++ b/.tmux.conf	Thu Jul 28 15:33:21 2022 +0100
@@ -1,5 +1,17 @@
-# scroll-bar?  see https://superuser.com/questions/310251/use-terminal-scrollbar-with-tmux
+
+A# scroll-bar?  see https://superuser.com/questions/310251/use-terminal-scrollbar-with-tmux
 set -ga terminal-overrides ',xterm*:smcup@:rmcup@'
 
 # mousewheel scrolling
 set -g mouse on
+
+# edit mode
+setw -g mode-keys emacs
+
+# cut-paste outside tmux.  see https://linuxhint.com/copy-paste-clipboard-tmux/
+bind C-c run "tmux save-buffer - | xclip -i -sel clipboard"
+bind C-v run 'tmux set-buffer "$(xclip -o -sel clipboard)"; tmux paste-buffer'
+
+# https://superuser.com/questions/1098077/how-to-keep-terminal-window-title-in-sync-with-tmux-window
+set-option -g set-titles on
+set-option -g set-titles-string "#S		#T"
\ No newline at end of file