diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 13d8d54..65431b1 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -283,6 +283,8 @@ let g:ale_linters = { " PLUGIN: TMUXLINE let g:airline_powerline_fonts=1 let g:airline_theme='raven' + +let g:gruvbox_italic=1 colorscheme gruvbox " disable automatically refreshing the mux statusbar since it breaks tmux diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 0284ad6..96463cd 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -25,7 +25,7 @@ set -g terminal-overrides "xterm*:XT:smcup@:rmcup@" set-window-option -g automatic-rename on set-option -g set-titles on set -g mouse on -set -g default-terminal screen-256color +set -g default-terminal xterm-256color set -g status-keys vi set -g history-limit 10000 diff --git a/.config/vifm/vifmrc b/.config/vifm/vifmrc index 662442a..9e0d307 100644 --- a/.config/vifm/vifmrc +++ b/.config/vifm/vifmrc @@ -411,6 +411,7 @@ nmap Q :q " for now they use space for my leader key - so we can't switch panels with " space, use tab for that nnoremap +nnoremap t " Start shell in current directory nnoremap s :shell @@ -428,11 +429,17 @@ nnoremap o :!nvim " Open file in the background using its default program nnoremap gb :file &l -" Yank current directory path into the clipboard -nnoremap yd :!echo %d | xclip %i +" yank current directory path into the clipboard +nnoremap yd :!echo -n %d | xclip -selection "clipboard" %i -" Yank current file path into the clipboard -nnoremap yf :!echo %c:p | xclip %i +" yank current file path into the clipboard +nnoremap yf :!echo -n %c:p | xclip -selection "clipboard" %i + +" yank current filename without path into the clipboard +nnoremap yn :!echo -n %c | xclip -selection "clipboard" %i + +" yank root of current file's name into the clipboard +nnoremap yr :!echo -n %c:r | xclip -selection "clipboard" %i " Mappings for faster renaming nnoremap I cw