Vim / tmux integration

This commit is contained in:
Ian Keane 2021-03-15 19:09:16 +00:00
parent acd1b988eb
commit 42b6817e39
2 changed files with 13 additions and 10 deletions

View file

@ -1,8 +1,9 @@
set-option -g default-shell /bin/zsh
set -g default-terminal "rxvt-unicode-256color"
set -g default-terminal "screen-256color"
# set-window-option -g mode-keys vi
set-window-option -g automatic-rename on
set-window-option mode-keys vi
bind h split-window -h -c "#{pane_current_path}"
bind v split-window -v -c "#{pane_current_path}"

View file

@ -43,12 +43,14 @@
Plug 'tpope/vim-fireplace'
Plug 'guns/vim-sexp'
Plug 'tpope/vim-sexp-mappings-for-regular-people'
Plug 'dylanaraps/wal.vim'
"Plug 'dylanaraps/wal.vim'
Plug 'alvan/vim-closetag'
Plug 'mattn/emmet-vim'
" Plug 'tpope/vim-salve'
Plug 'chrisbra/colorizer'
" cljfold
Plug 'christoomey/vim-tmux-navigator'
" " Todo:
" "
@ -170,7 +172,7 @@
nnoremap <leader>d k :r !date <cr>
nnoremap <leader>k :vert new ~/.vim/bindings.md <cr>
tnoremap <leader><esc> <C-\><C-n>
" tnoremap <leader><esc> <C-\><C-n>
"}}}
@ -237,13 +239,13 @@
nnoremap <C-c> :close <cr>
nnoremap <C-n> :bn <cr>
" Term mode
tnoremap <C-h> <C-w>h
tnoremap <C-j> <C-w>j
tnoremap <C-k> <C-w>k
tnoremap <C-l> <C-w>l
tnoremap <C-c> :close <cr>
tnoremap <C-n> :bn <cr>
tnoremap <Esc> <C-\><C-n>
" tnoremap <C-h> <C-w>h
" tnoremap <C-j> <C-w>j
" tnoremap <C-k> <C-w>k
" tnoremap <C-l> <C-w>l
" tnoremap <C-c> :close <cr>
" tnoremap <C-n> :bn <cr>
" tnoremap <Esc> <C-\><C-n>
" TODO: remap pane resize to something else (leader?)
" quick-scope