Created
November 1, 2023 20:53
-
-
Save sarfarazahmad89/3903c97b6a80c5d5dde4c2286bd002ed to your computer and use it in GitHub Desktop.
dotfiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g status-bg black | |
set -g status-fg white | |
bind -n M-Left prev | |
bind -n M-Right next | |
bind -n M-Down select-pane -R | |
bind -n M-Up select-pane -L | |
#bind -n M-d detach | |
set -sg escape-time 0 | |
bind -n M-n new-window | |
bind -n M-c kill-window | |
bind -n C-M-x kill-session | |
# Deprecated | |
#set-window-option -g window-status-current-fg white | |
#set-window-option -g window-status-current-bg colour04 | |
#set-window-option -g window-status-current-attr bright | |
set-window-option -g window-status-current-style "fg=black,bg=white" | |
set -g status-style bg=colour67,fg=white,bright | |
#set -sg escape-time 0 #https://superuser.com/questions/942677/consequences-of-escape-time-0-tmux-setting | |
set-option -g history-limit 300000 | |
set-option -g mouse on | |
set -ga terminal-overrides ',xterm*:smcup@:rmcup@' | |
# Enable copy-mode-vi | |
set-window-option -g mode-keys vi | |
# Don't touch the standard prefix key add yours as secondary | |
set-option -g prefix2 C-Space | |
set -s escape-time 0 | |
# Enable tpm | |
#set -g @plugin 'tmux-plugins/tpm' | |
#set -g @plugin 'tmux-plugins/tmux-sensible' | |
# Enable tmux-yank for easier copying | |
#set -g @plugin 'tmux-plugins/tmux-yank' | |
#bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard" | |
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
#run '~/.tmux/plugins/tpm/tpm' | |
bind -T copy-mode-vi v send -X begin-selection | |
bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel | |
bind P paste-buffer | |
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection-and-cancel | |
set -g default-terminal "screen-256color" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set t_Co=256 | |
packloadall | |
syntax on | |
set background=dark | |
"colorscheme monokai-phoenix | |
"colorscheme DimGrey | |
colorscheme 0x7A69_dark | |
:let mapleader = "" | |
nnoremap <C-n> :tabnew<cr> | |
nnoremap <C-p> :tabnext<cr> | |
nnoremap <C-o> :tabprevious<cr> | |
nnoremap <C-m> :tabmove<cr> | |
nnoremap <C-c> :tabclose<cr> | |
nnoremap <C-t> :NERDTreeToggle<CR> | |
nnoremap <F8> :call NextColor(1)<CR> | |
nnoremap <F9> :call NextColor(-1)<CR> | |
nnoremap <A-F8> :call NextColor(0)<CR> | |
set tabstop=4 sts=4 sw=4 et ai | |
set nu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment