Start tmux window in /Users/ianks/.yadr
This commit is contained in:
parent
22ed9e5143
commit
5e9a35eae3
@ -8,10 +8,10 @@ set -g default-terminal screen-256color
|
|||||||
bind-key ^D detach-client
|
bind-key ^D detach-client
|
||||||
|
|
||||||
# Create splits and vertical splits
|
# Create splits and vertical splits
|
||||||
bind-key v split-window -h
|
bind-key v split-window -h -c "#{pane_current_path}"
|
||||||
bind-key ^V split-window -h
|
bind-key ^V split-window -h -c "#{pane_current_path}"
|
||||||
bind-key s split-window
|
bind-key s split-window -c "#{pane_current_path}"
|
||||||
bind-key ^S split-window
|
bind-key ^S split-window -c "#{pane_current_path}"
|
||||||
|
|
||||||
# Pane resize in all four directions using vi bindings.
|
# Pane resize in all four directions using vi bindings.
|
||||||
# Can use these raw but I map them to shift-ctrl-<h,j,k,l> in iTerm.
|
# Can use these raw but I map them to shift-ctrl-<h,j,k,l> in iTerm.
|
||||||
@ -68,5 +68,12 @@ bind C-a last-window
|
|||||||
# Bigger history
|
# Bigger history
|
||||||
set -g history-limit 10000
|
set -g history-limit 10000
|
||||||
|
|
||||||
|
# New windows/pane in $PWD
|
||||||
|
bind c new-window -c "#{pane_current_path}"
|
||||||
|
|
||||||
|
# force a reload of the config file
|
||||||
|
unbind r
|
||||||
|
bind r source-file ~/.tmux.conf \; display "Reloaded!"
|
||||||
|
|
||||||
# Local config
|
# Local config
|
||||||
if-shell "[ -f ~/.tmux.conf.user ]" 'source ~/.tmux.conf.user'
|
if-shell "[ -f ~/.tmux.conf.user ]" 'source ~/.tmux.conf.user'
|
||||||
|
Loading…
Reference in New Issue
Block a user