Commit 41971beb349e9376853973bbd955c2d69e6756ff

Be more accurate about tmux' mode-keys option
It's only about copy mode.

Also move it after setting prefix.
Author: xaizek
Author date (UTC): 2025-09-13 10:29
Committer name: xaizek
Committer date (UTC): 2025-09-13 10:29
Parent(s): fb6e100f02751f814008d795a98efa7875540012
Signing key: 99DC5E4DB05F6BE2
Tree: 6bf9204f6875e84f05bbc3ba389b77b0ba7d2fb8
File Lines added Lines deleted
tmux.conf 3 3
File tmux.conf changed (mode: 100644) (index 0dcf5cc..251122c)
4 4 # set -> set-option # set -> set-option
5 5 # set -w -> set-window-option # set -w -> set-window-option
6 6
7 # use vi-like shortcuts in various modes
8 set -gw mode-keys vi
9
10 7 # use ctrl-s as prefix key # use ctrl-s as prefix key
11 8 set -g prefix C-s set -g prefix C-s
12 9 unbind C-b unbind C-b
13 10 bind C-s send-prefix bind C-s send-prefix
14 11
12 # use vi-like shortcuts in copy modes
13 set -gw mode-keys vi
14
15 15 # don't wait for the next character after escape key # don't wait for the next character after escape key
16 16 set -g escape-time 0 set -g escape-time 0
17 17
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/dotfiles

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/dotfiles

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master