Skip to content

Instantly share code, notes, and snippets.

@tehmoon
Last active July 27, 2018 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tehmoon/3a59bf398433fd1014b7a32139954583 to your computer and use it in GitHub Desktop.
Save tehmoon/3a59bf398433fd1014b7a32139954583 to your computer and use it in GitHub Desktop.
dot files
unbind [
unbind p
bind Escape copy-mode
bind p paste-buffer
bind-key -Tcopy-mode-vi 'v' send -X begin-selection
bind-key -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel "xclip -se c -i"
bind-key -Tcopy-mode-vi Escape send -X cancel
set-option -s set-clipboard off
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -se c -i"
set -g history-limit 10000
set-option -g repeat-time 175
set -g pane-active-border-style fg=green
set -g status-bg green
set -g status-right '#(sysctl vm.loadavg) #(date)'
set -g status-right-length 75
set -g status-interval 2
set -g mouse on
setw -g window-status-current-attr underscore
setw -g mode-keys vi
set -g default-shell $SHELL
syn on
se nu
se clipboard=unnamed
se iskeyword==,_,/,\",],[,:,\',.,\,,\(,\),{,}
se nofixendofline
se ts=2
se noexpandtab
set cindent
set paste
autocmd Filetype json setlocal sw=2 expandtab
autocmd Filetype yaml setlocal sw=2 expandtab
autocmd Filetype python setlocal sw=2 ts=4 expandtab
autocmd Filetype markdown setlocal sw=2 expandtab
autocmd Filetype gitcommit setlocal sw=2 expandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment