added some stuff
This commit is contained in:
parent
98546c37f6
commit
0b028b2809
3 changed files with 65 additions and 5 deletions
|
@ -109,7 +109,7 @@ font:
|
|||
style: Medium Italic
|
||||
|
||||
# Point size
|
||||
size: 16.0
|
||||
size: 14.0
|
||||
|
||||
# Offset is the extra space around each character. `offset.y` can be thought of
|
||||
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
|
||||
|
@ -307,7 +307,7 @@ shell:
|
|||
program: /bin/zsh
|
||||
args:
|
||||
- -c
|
||||
- tmux
|
||||
- tmux -l
|
||||
|
||||
# Key bindings
|
||||
#
|
||||
|
@ -388,8 +388,8 @@ shell:
|
|||
# - ~AppKeypad
|
||||
# - AppKeypad
|
||||
key_bindings:
|
||||
- { key: V, mods: Control|Shift, action: Paste }
|
||||
- { key: C, mods: Control|Shift, action: Copy }
|
||||
- { key: V, mods: Command|Shift, action: Paste }
|
||||
- { key: C, mods: Command|Shift, action: Copy }
|
||||
- { key: Paste, action: Paste }
|
||||
- { key: Copy, action: Copy }
|
||||
- { key: Q, mods: Command, action: Quit }
|
||||
|
|
|
@ -1,2 +1,54 @@
|
|||
set -g default-terminal "screen-256color"
|
||||
# set default terminal
|
||||
set -g default-terminal "tmux-256color"
|
||||
# set mouse/history stuff
|
||||
set -g mouse on
|
||||
set -g history-limit 20000
|
||||
|
||||
# rebind prefix
|
||||
set -g prefix C-a
|
||||
|
||||
# always renumber windows
|
||||
set -g renumber-windows on
|
||||
|
||||
# tile all windows
|
||||
unbind =
|
||||
bind = select-layout tiled
|
||||
|
||||
# make window/pane index start with 1
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
|
||||
# Set titles
|
||||
set-option -g set-titles on
|
||||
set-option -g set-titles-string "#T - #W"
|
||||
|
||||
# Set status bar
|
||||
set -g status-bg black
|
||||
set -g status-fg white
|
||||
######################
|
||||
#### Key Bindings ####
|
||||
######################
|
||||
|
||||
# synchronize all panes in window
|
||||
bind y setw synchronize-panes
|
||||
|
||||
# pane movement shortcuts
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# vim-like copy-mode
|
||||
setw -g mode-keys vi
|
||||
unbind [
|
||||
bind Escape copy-mode
|
||||
unbind p
|
||||
bind p paste-buffer
|
||||
bind -Tcopy-mode-vi 'v' send -X begin-selection
|
||||
bind -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel "tmux save-buffer - | reattach-to-user-namespace pbcopy"
|
||||
|
||||
# split-windows
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
bind - split-window -v -c "#{pane_current_path}"
|
||||
|
||||
set -s escape-time 0
|
||||
|
|
|
@ -8,9 +8,17 @@ set number
|
|||
set relativenumber
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set smarttab
|
||||
set hidden
|
||||
set showtabline=1
|
||||
set termguicolors
|
||||
set ttyfast
|
||||
set wildmenu
|
||||
set title
|
||||
set list
|
||||
set listchars=tab:→\ ,eol:¬,trail:⋅,extends:❯,precedes:❮
|
||||
set showbreak=↪
|
||||
|
||||
|
||||
if has('nvim')
|
||||
set inccommand=split
|
||||
|
|
Loading…
Add table
Reference in a new issue