tmux and nvim copy to clipboard
This commit is contained in:
parent
98f17d3955
commit
5389f8d843
|
@ -54,6 +54,20 @@ highlight ColorColumn ctermbg=238
|
|||
nnoremap n nzzzv
|
||||
nnoremap N Nzzzv
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" CONFIGURACIÓN VARIOS
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" Disable visualbell
|
||||
set noerrorbells visualbell t_vb=
|
||||
if has('autocmd')
|
||||
autocmd GUIEnter * set visualbell t_vb=
|
||||
endif
|
||||
|
||||
"" Copy/Paste/Cut
|
||||
if has('unnamedplus')
|
||||
set clipboard=unnamed,unnamedplus
|
||||
endif
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" VIM-PLUG CORE
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
|
|
@ -1,10 +1,15 @@
|
|||
# default window title colors
|
||||
set-window-option -g window-status-fg colour245 # base0
|
||||
set-window-option -g window-status-bg default
|
||||
set-window-option -g window-status-style fg=white
|
||||
set-window-option -g window-status-style bg=default
|
||||
set-window-option -g window-status-style dim
|
||||
|
||||
# active window title colors
|
||||
set-window-option -g window-status-current-fg colour252 # orange
|
||||
set-window-option -g window-status-current-bg default
|
||||
set-window-option -g window-status-current-style fg=white
|
||||
set-window-option -g window-status-current-style bg=default
|
||||
set-window-option -g window-status-current-style bright
|
||||
|
||||
# Highlight active window
|
||||
set-window-option -g window-status-current-style bg=green
|
||||
|
||||
# clean status bar
|
||||
set -g status-right ''
|
||||
|
@ -15,4 +20,7 @@ set -g status-bg colour240
|
|||
setw -g mouse on
|
||||
|
||||
# weechat
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
#copy to clipboard on vi-mode
|
||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
||||
|
|
Loading…
Reference in New Issue