Add nice things for WSL
This commit is contained in:
parent
663124a4f5
commit
8809e28a1c
3 changed files with 12 additions and 8 deletions
|
@ -171,6 +171,7 @@ Plug 'hail2u/vim-css3-syntax', {'for': ['styl', 'stylus', 'css', 'vue']}
|
|||
Plug 'kchmck/vim-coffee-script', {'for': ['coffee', 'coffeescript', 'vue']}
|
||||
Plug 'posva/vim-vue', {'for': ['vue']}
|
||||
Plug 'elixir-lang/vim-elixir', {'for': ['elixir', 'ex', 'exs']}
|
||||
Plug 'OrangeT/vim-csharp', {'for': ['cshtml', 'cshtml.html', 'cs', 'razor']}
|
||||
Plug 'vim-erlang/vim-erlang-runtime', {'for': ['erlang', 'erl']}
|
||||
Plug 'slashmili/alchemist.vim', {'for': ['elixir', 'ex', 'exs']}
|
||||
Plug 'mattn/emmet-vim', {'for': ['html']}
|
||||
|
|
|
@ -69,4 +69,7 @@ if [ "$PWD" = "$HOME" ]; then
|
|||
cd "$NICE_HOME"
|
||||
fi
|
||||
|
||||
LS_COLORS='ow=01;36;40'
|
||||
export LS_COLORS
|
||||
|
||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||
|
|
|
@ -32,6 +32,11 @@ bind-key h switch-client -p
|
|||
bind-key k switch-client -n
|
||||
bind-key l switch-client -n
|
||||
|
||||
bind-key T set-option -g mouse off
|
||||
bind-key G set-option -g mouse on
|
||||
|
||||
bind -n C-y run "tmux save-buffer - | /mnt/c/Windows/System32/clip.exe" \; display-message "Clipboard copied"
|
||||
|
||||
# message colors
|
||||
set -g message-bg colour0
|
||||
set -g message-fg colour7
|
||||
|
@ -44,14 +49,9 @@ set -g status-justify left
|
|||
set -g status-bg colour0
|
||||
set -g status-fg colour8
|
||||
|
||||
# don't show time or date or anything - we have a bar for that
|
||||
set -g status-left ''
|
||||
set -g status-right ''
|
||||
set -g status-right-length 20
|
||||
|
||||
set -g status-interval 1
|
||||
# set status-interval 1
|
||||
# set -g status-right '#[fg=colour4]#W #[fg=colour18]#[bg=default]|#[fg=colour7] #(#{DOTFILES_PATH}/scripts/bin/tmux-session-list #S)'
|
||||
set -g status-left '#[fg=colour18]#[bg=colour4] #(date +"%Y-%M-%d %H:%M:%S") #[fg=default]#[bg=default]'
|
||||
set -g status-left-length 80
|
||||
set -g status-right '#[fg=colour4]#W #[fg=colour18]#[bg=default]|#[fg=colour7] #(#{DOTFILES_PATH}/scripts/bin/tmux-session-list #S)'
|
||||
set -g status-right-length 200
|
||||
|
||||
|
@ -88,7 +88,7 @@ bind-key -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
|
|||
bind-key -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
|
||||
bind-key -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
|
||||
bind-key -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
|
||||
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||
# bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||
|
||||
bind-key -Tcopy-mode-vi 'C-h' send -X "cancel select-pane -L"
|
||||
bind-key -Tcopy-mode-vi 'y' send -X copy-selection
|
||||
|
|
Reference in a new issue