Skip to content

Commit

Permalink
Misc enhancements
Browse files Browse the repository at this point in the history
* Use set in tmux.conf
* Add script to unzoom tmux
  • Loading branch information
Mathew Glodack committed Sep 12, 2017
1 parent d4b209e commit b5b7873
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions aliases
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ case "$OSTYPE" in
esac

alias vim='nvim'

tmux_unzoom() {
if $(tmux list-panes -F '#{?window_zoomed_flag,true,false}' | head -n 1); then
tmux resize-pane -Z
fi
}
1 change: 1 addition & 0 deletions nvim/plugins.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
call plug#begin('~/.config/nvim/plugged')

" vim + tmux
Plug 'tmux-plugins/vim-tmux-focus-events'
Plug 'jgdavey/tslime.vim'

"fuzzy finding
Expand Down
2 changes: 1 addition & 1 deletion tmux.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# improve colors
set-option -g default-terminal "screen-256color"
set -g default-terminal "screen-256color"

# pane traversal
bind-key h select-pane -L
Expand Down

0 comments on commit b5b7873

Please sign in to comment.