From 62c5fe9369da02e5085e64e07df842c6ea8aeed1 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 11 Dec 2015 01:40:39 +0000 Subject: Continue transition to mr --- .mutt/solarized | 1 - .passwords | 1 - .personal | 1 - .tmux.conf | 42 ++++++++++++++++++++++++++++++++++++++++++ .urxvt/ext | 1 - .vim/vim-plug | 1 - .zsh/zgen | 1 - tmux.conf | 42 ------------------------------------------ 8 files changed, 42 insertions(+), 48 deletions(-) delete mode 160000 .mutt/solarized delete mode 160000 .passwords delete mode 160000 .personal create mode 100644 .tmux.conf delete mode 160000 .urxvt/ext delete mode 160000 .vim/vim-plug delete mode 160000 .zsh/zgen delete mode 100644 tmux.conf diff --git a/.mutt/solarized b/.mutt/solarized deleted file mode 160000 index 3b23c55..0000000 --- a/.mutt/solarized +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3b23c55eb43849975656dd89e3f35dacd2b93e69 diff --git a/.passwords b/.passwords deleted file mode 160000 index 61c9ef7..0000000 --- a/.passwords +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 61c9ef7210acd2a42c334f8f7c3f5714881c8a63 diff --git a/.personal b/.personal deleted file mode 160000 index abedf22..0000000 --- a/.personal +++ /dev/null @@ -1 +0,0 @@ -Subproject commit abedf224272522a161ad2ba371335beec6411120 diff --git a/.tmux.conf b/.tmux.conf new file mode 100644 index 0000000..989a487 --- /dev/null +++ b/.tmux.conf @@ -0,0 +1,42 @@ +# set -g default-terminal "screen-256color" +set -g default-terminal screen +if "[[ ${TERM} =~ 256color || ${TERM} == fbterm ]]" 'set -g default-terminal screen-256color' + +set -g mode-mouse on +set -g mouse-resize-pane on +set -g mouse-select-pane on + +unbind C-b +set -g prefix C-s +bind s send-prefix + +unbind r +bind r source-file ~/.tmux.conf + +set -s escape-time 0 +set-option -g allow-rename off + +set -g @tpm_plugins ' \ + tmux-plugins/tpm \ + tmux-plugins/tmux-sensible \ + tmux-plugins/tmux-resurrect \ +' + +set -g @resurrect-strategy-vim 'session' +set -g @resurrect-save 'S' +set -g @resurrect-restore 'R' +set -g status off + +is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?)(diff)?$"' +bind -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L" +bind -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D" +bind -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U" +bind -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R" + +bind C-n next-window +bind C-p previous-window + +bind-key -n C-S-Left swap-window -t -1 +bind-key -n C-S-Right swap-window -t +1 + +run-shell '~/.tmux/plugins/tpm/tpm' diff --git a/.urxvt/ext b/.urxvt/ext deleted file mode 160000 index 537f2df..0000000 --- a/.urxvt/ext +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 537f2dfb68593822e66d19cb00a88b4bbe492c72 diff --git a/.vim/vim-plug b/.vim/vim-plug deleted file mode 160000 index ba97f44..0000000 --- a/.vim/vim-plug +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ba97f4458eae000143dc412a3c4479bb7777aec8 diff --git a/.zsh/zgen b/.zsh/zgen deleted file mode 160000 index 3a0f26e..0000000 --- a/.zsh/zgen +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3a0f26ed2f2d0b7b2f34fa5bac3c3a58d58cfc59 diff --git a/tmux.conf b/tmux.conf deleted file mode 100644 index 989a487..0000000 --- a/tmux.conf +++ /dev/null @@ -1,42 +0,0 @@ -# set -g default-terminal "screen-256color" -set -g default-terminal screen -if "[[ ${TERM} =~ 256color || ${TERM} == fbterm ]]" 'set -g default-terminal screen-256color' - -set -g mode-mouse on -set -g mouse-resize-pane on -set -g mouse-select-pane on - -unbind C-b -set -g prefix C-s -bind s send-prefix - -unbind r -bind r source-file ~/.tmux.conf - -set -s escape-time 0 -set-option -g allow-rename off - -set -g @tpm_plugins ' \ - tmux-plugins/tpm \ - tmux-plugins/tmux-sensible \ - tmux-plugins/tmux-resurrect \ -' - -set -g @resurrect-strategy-vim 'session' -set -g @resurrect-save 'S' -set -g @resurrect-restore 'R' -set -g status off - -is_vim='echo "#{pane_current_command}" | grep -iqE "(^|\/)g?(view|n?vim?)(diff)?$"' -bind -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L" -bind -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D" -bind -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U" -bind -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R" - -bind C-n next-window -bind C-p previous-window - -bind-key -n C-S-Left swap-window -t -1 -bind-key -n C-S-Right swap-window -t +1 - -run-shell '~/.tmux/plugins/tpm/tpm' -- cgit v1.2.3