File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,13 @@ set -g prefix C-a
35
35
# 'C-a' + 'C-a' to use 'C-a' (e.g. necessary to use shortcut inside emacs)
36
36
bind-key C-a send-prefix
37
37
38
- # create a new window with C-a C-c or C-t; default to home directory
39
- bind c new-window -c " ~" \; display-message " Consider using C-t to create a new window"
40
- bind -n C-t new-window -c " ~"
38
+ # create a new window with C-a C-c or C-t; default to home directory, & with
39
+ # empty name
40
+ bind c new-window -c " ~" -n " " \; display-message " Consider using C-t to create a new window"
41
+ bind -n C-t new-window -c " ~" -n " "
42
+
43
+ # close a window with C-w
44
+ bind -n C-w kill-window
41
45
42
46
# split panes using | and -; new pane defaults to current directory
43
47
bind | split-window -h -c " #{pane_current_path}"
You can’t perform that action at this time.
0 commit comments