From ecc10aa745690ed3c7b536c86c698a09e95c52d2 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Wed, 10 Apr 2024 15:16:44 -0400 Subject: [PATCH] Fix some of the comments --- readme.md | 2 +- tmux.normal.conf | 6 +++--- tmux.powerline.conf | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/readme.md b/readme.md index 7650e35..26ed23a 100644 --- a/readme.md +++ b/readme.md @@ -24,7 +24,7 @@ | Key(s) | Behaviour | |-----------------------------------------|--------------------------------------------------------------------| | `c` and `c` | Create a new pane and create a new pane in the current directory | -| `[` and `]` | Split the window vertically and horizontally | +| `[` and `]` | Create a new pane to the right and below the current one | | `-` and `=` | Select an even layout vertically and horizontally | | `_` and `+` | Rotate the panes clockwise and counter-clockwise | | `S` | Swap the current pane with the marked one (`M` to mark) | diff --git a/tmux.normal.conf b/tmux.normal.conf index 07cbfd0..924e944 100644 --- a/tmux.normal.conf +++ b/tmux.normal.conf @@ -53,15 +53,15 @@ bind -T root MouseDown3Pane send-keys -M # send right clicks to the application # KEY BINDINGS # -# c and c to create a new pane in the current path and in home +# c to create a new window in ~ and c to create a new window in the path of the current pane bind C-c new-window -c "#{pane_current_path}" bind c new-window # -# [ and ] to splitting the window into top/bottom and left/right +# [ to create a new pane to the right and ] to create a new pane below bind [ split-window -v -c "#{pane_current_path}" bind ] split-window -h -c "#{pane_current_path}" # -# - and = to evenly laying out the panes top->bottom and left->right +# - to evenly stack panes top-to-bottom and = to evenly place panes left-to-right bind - select-layout even-vertical bind = select-layout even-horizontal # diff --git a/tmux.powerline.conf b/tmux.powerline.conf index 250290b..0bcb1f7 100644 --- a/tmux.powerline.conf +++ b/tmux.powerline.conf @@ -53,15 +53,15 @@ bind -T root MouseDown3Pane send-keys -M # send right clicks to the application # KEY BINDINGS # -# c and c to create a new pane in the current path and in home +# c to create a new window in ~ and c to create a new window in the path of the current pane bind C-c new-window -c "#{pane_current_path}" bind c new-window # -# [ and ] to splitting the window into top/bottom and left/right +# [ to create a new pane to the right and ] to create a new pane below bind [ split-window -v -c "#{pane_current_path}" bind ] split-window -h -c "#{pane_current_path}" # -# - and = to evenly laying out the panes top->bottom and left->right +# - to evenly stack panes top-to-bottom and = to evenly place panes left-to-right bind - select-layout even-vertical bind = select-layout even-horizontal #