mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-22 17:32:19 +00:00
Compare commits
3 commits
64edab11a2
...
68c6923f11
Author | SHA1 | Date | |
---|---|---|---|
68c6923f11 | |||
4dafacdf9f | |||
61980dfb87 |
2 changed files with 9 additions and 0 deletions
|
@ -40,6 +40,12 @@ in
|
|||
};
|
||||
|
||||
interactiveShellInit =
|
||||
# Launch tmux
|
||||
''
|
||||
if not set -q TMUX
|
||||
tmux attach-session -t $(hostname -s) || tmux new-session -s $(hostname -s)
|
||||
end
|
||||
'' +
|
||||
# Open command buffer in vim when alt+e is pressed
|
||||
''
|
||||
bind \ee edit_command_buffer
|
||||
|
|
|
@ -34,6 +34,9 @@
|
|||
bind -n M-j previous-window # alt+j
|
||||
bind -n M-k next-window # alt+k
|
||||
|
||||
# display up to 20 chars of session name
|
||||
set-option -g status-left-length 20
|
||||
|
||||
# default statusbar colors
|
||||
set-option -g status-style fg=yellow,bg=black
|
||||
|
||||
|
|
Loading…
Reference in a new issue