diff options
author | eug-vs <eug-vs@keemail.me> | 2021-07-21 15:53:52 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-07-21 16:04:10 +0300 |
commit | cf3eefda31e98d4725a64000861a388ba7708c62 (patch) | |
tree | 7e0028cede47398c74056c92af30c515bc8f9579 /tmux | |
parent | 26d393eacb0468edeed62befe365c1ae0752a680 (diff) | |
download | dotfiles-cf3eefda31e98d4725a64000861a388ba7708c62.tar.gz |
feat!: move to GNU Stow, remove wikifeat/stow
Diffstat (limited to 'tmux')
-rw-r--r-- | tmux/.config/tmuxinator/.template.yml | 9 | ||||
-rw-r--r-- | tmux/.tmux.conf | 31 |
2 files changed, 40 insertions, 0 deletions
diff --git a/tmux/.config/tmuxinator/.template.yml b/tmux/.config/tmuxinator/.template.yml new file mode 100644 index 0000000..5d3e4b0 --- /dev/null +++ b/tmux/.config/tmuxinator/.template.yml @@ -0,0 +1,9 @@ +name: <%= @settings["name"] %> +root: <%= @settings["root"] %> + +windows: + - editor: + layout: main-vertical + panes: + - vim + - null diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..d5a5fe3 --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,31 @@ +set -g default-terminal "screen-256color" + +# Remove nasty escape time +set -sg escape-time 0 + +# Enable mouse scroll +setw -g mouse on + +# Use C-a as prefix +unbind C-b +set-option -g prefix C-a +bind-key C-a send-prefix + +# Split panes using | and - +bind | split-window -h +bind - split-window -v +unbind '"' + +# Copy +bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'nbind % + +# Vi mode +set-window-option -g mode-keys vi + +set -g main-pane-width 156 + +# Plugins +set -g @plugin 'christoomey/vim-tmux-navigator' + +# Initialize Tmux Plugin Manager +run '~/.tmux/plugins/tpm/tpm' |