Your Name преди 1 година
ревизия
12d829e892
променени са 9 файла, в които са добавени 79 реда и са изтрити 0 реда
  1. 1 0
      plugins/tmux-continuum
  2. 1 0
      plugins/tmux-net-speed
  3. 1 0
      plugins/tmux-power
  4. 1 0
      plugins/tmux-resurrect
  5. 1 0
      plugins/tmux-sensible
  6. 1 0
      plugins/tmux-yank
  7. 1 0
      plugins/tpm
  8. 1 0
      plugins/vim-tmux-navigator
  9. 71 0
      tmux.conf

+ 1 - 0
plugins/tmux-continuum

@@ -0,0 +1 @@
+Subproject commit 0698e8f4b17d6454c71bf5212895ec055c578da0

+ 1 - 0
plugins/tmux-net-speed

@@ -0,0 +1 @@
+Subproject commit bc91d6ea3b3b6c4d5f9367f0b543f0ae890ce521

+ 1 - 0
plugins/tmux-power

@@ -0,0 +1 @@
+Subproject commit 16bbde801378a70512059541d104c5ae35be32b9

+ 1 - 0
plugins/tmux-resurrect

@@ -0,0 +1 @@
+Subproject commit cff343cf9e81983d3da0c8562b01616f12e8d548

+ 1 - 0
plugins/tmux-sensible

@@ -0,0 +1 @@
+Subproject commit 25cb91f42d020f675bb0a2ce3fbd3a5d96119efa

+ 1 - 0
plugins/tmux-yank

@@ -0,0 +1 @@
+Subproject commit acfd36e4fcba99f8310a7dfb432111c242fe7392

+ 1 - 0
plugins/tpm

@@ -0,0 +1 @@
+Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946

+ 1 - 0
plugins/vim-tmux-navigator

@@ -0,0 +1 @@
+Subproject commit 5b3c701686fb4e6629c100ed32e827edf8dad01e

+ 71 - 0
tmux.conf

@@ -0,0 +1,71 @@
+# sudo ln -s /usr/local/bin/tmux /usr/bin/tmux
+# set-option -sa terminal-overrides ",xterm*:Tc"
+set -g default-terminal screen-256color
+set -g mouse on
+unbind C-b
+set -g prefix C-Space
+bind C-Space send-prefix
+
+set-option -g detach-on-destroy off
+# Vim style pane selection
+bind h select-pane -L
+bind j select-pane -D 
+bind k select-pane -U
+bind l select-pane -R
+
+# Start windows and panes at 1, not 0
+set -g base-index 1
+set -g pane-base-index 1
+set-window-option -g pane-base-index 1
+set-option -g renumber-windows on
+
+# Use Alt-arrow keys without prefix key to switch panes
+# bind -n M-H select-pane -L
+# bind -n M-L select-pane -R
+# bind -n M-J select-pane -U
+# bind -n M-K select-pane -D
+
+# Shift arrow to switch windows
+# bind -n S-Left  previous-window
+# bind -n S-Right next-window
+
+# Shift Alt vim keys to switch windows
+bind -n M-H previous-window
+bind -n M-L next-window
+
+# set -g @catppuccin_flavour 'mocha'
+
+set -g @plugin 'wfxr/tmux-power'
+set -g @plugin 'tmux-plugins/tpm'
+set -g @plugin 'tmux-plugins/tmux-sensible'
+set -g @plugin 'christoomey/vim-tmux-navigator'
+# set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
+# 
+set -g @plugin 'tmux-plugins/tmux-yank'
+set -g @plugin 'tmux-plugins/tmux-resurrect'
+set -g @plugin 'tmux-plugins/tmux-continuum'
+
+set -g @tmux_power_theme 'gold'
+set -g @plugin 'wfxr/tmux-net-speed'
+
+# set vi-mode
+set-window-option -g mode-keys vi
+# keybindings
+bind-key -T copy-mode-vi v send-keys -X begin-selection
+bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
+bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
+
+bind '"' split-window -v -c "#{pane_current_path}"
+bind % split-window -h -c "#{pane_current_path}"
+
+
+set -g @tmux_power_show_upload_speed    true
+set -g @tmux_power_show_download_speed  true
+set -g @tmux_power_show_web_reachable   true
+# set -g @tmux_power_right_arrow_icon     ''
+# set -g @tmux_power_left_arrow_icon      ''
+set -g @tmux_power_upload_speed_icon    '󰕒'
+set -g @tmux_power_download_speed_icon  '󰇚'
+set -g @tmux_power_prefix_highlight_pos 'R'
+
+run '~/.config/tmux/plugins/tpm/tpm'