Tmux and Vimrc updates

This commit is contained in:
Rob Watson 2021-01-19 09:54:13 +01:00
parent 3a4d049f5f
commit 71ffda55b9
2 changed files with 9 additions and 2 deletions

View File

@ -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..."

10
vimrc
View File

@ -96,7 +96,7 @@ map <leader>h :split<cr>file browser
map <leader>! <esc>:only<cr>
" ctrl-c to unload a buffer
nnoremap <silent> <c-q> :bp\|bd #<cr>
nnoremap <silent> br :GoDebugBreakpoint<cr>
nnoremap <silent> dr :GoDebugBreakpoint<cr>
nnoremap <silent> d! :GoDebugStart<cr>
nnoremap <silent> dc :GoDebugContinue<cr>
nnoremap <silent> dq :GoDebugStop<cr>
@ -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