From 71ffda55b9a665f63fc636ae1fc872fb68a4230e Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 19 Jan 2021 09:54:13 +0100 Subject: [PATCH] Tmux and Vimrc updates --- tmux.conf | 1 + vimrc | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tmux.conf b/tmux.conf index e92384d..a662dd3 100644 --- a/tmux.conf +++ b/tmux.conf @@ -58,4 +58,5 @@ bind -n C-S-Right swap-window -t +1\; select-window -t +1 bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard' +bind -n C-S-K send-keys -R \; clear-history bind r source-file ~/.tmux.conf \; display "Reloading config..." diff --git a/vimrc b/vimrc index 500b775..e45907b 100644 --- a/vimrc +++ b/vimrc @@ -96,7 +96,7 @@ map h :splitfile browser map ! :only " ctrl-c to unload a buffer nnoremap :bp\|bd # -nnoremap br :GoDebugBreakpoint +nnoremap dr :GoDebugBreakpoint nnoremap d! :GoDebugStart nnoremap dc :GoDebugContinue nnoremap dq :GoDebugStop @@ -238,7 +238,13 @@ let g:ale_fixers = { \ 'python': ['autopep8'], \ } +" load internal plugins: +runtime macros/matchit.vim + " load ALE only after configured: packadd! ale -runtime macros/matchit.vim +" load other plugins: +packadd! lightline.vim +packadd! vim-commentary +packadd! vim-surround