Commit 7098ae78c09426d4f1418d573d8f0ae1bf0ecf20

Define |, - and c tmux mappings more cleanly
Use single quotes to avoid escaping, make comments more accurate.
Author: xaizek
Author date (UTC): 2025-09-12 17:09
Committer name: xaizek
Committer date (UTC): 2025-09-12 17:09
Parent(s): 76ae0fef3a4673b9ef3c6318cee3e1dc9406e955
Signing key: 99DC5E4DB05F6BE2
Tree: d9362518a7e163c17c12d26addcb19ceaa2e5bc0
File Lines added Lines deleted
tmux.conf 3 2
File tmux.conf changed (mode: 100644) (index b093c58..f5aea3d)
... ... bind -T copy-mode-vi 'y' send-keys -X copy-selection
34 34 bind r source ~/.tmux.conf \; \ bind r source ~/.tmux.conf \; \
35 35 display "Configuration reloaded!" display "Configuration reloaded!"
36 36
37 # rebind vertical and horizontal splitting shortcuts
37 # rebind vertical and horizontal splitting shortcuts and preserve CWD
38 38 unbind % unbind %
39 unbind '"'
39 40 bind | split-window -c "#{pane_current_path}" -h bind | split-window -c "#{pane_current_path}" -h
40 unbind "\""
41 41 bind - split-window -c "#{pane_current_path}" -v bind - split-window -c "#{pane_current_path}" -v
42 # redefine a window creation to preserve CWD
42 43 bind c new-window -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}"
43 44
44 45 # duplicate prefix+n/p keys with prefix+<c-n>/<c-p> # duplicate prefix+n/p keys with prefix+<c-n>/<c-p>
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