Browse Source

added tmux commands

master
Juni Kim 2 years ago
parent
commit
5d90602710
  1. 14
      lsp.vimrc
  2. 6
      minimal.vimrc

14
lsp.vimrc

@ -51,6 +51,7 @@ endif
call plug#begin()
Plug 'ap/vim-css-color'
Plug 'vim-python/python-syntax'
Plug 'bagrat/vim-buffet'
@ -165,7 +166,8 @@ nmap <leader>8 <Plug>BuffetSwitch(8)
nmap <leader>9 <Plug>BuffetSwitch(9)
nmap <leader>0 <Plug>BuffetSwitch(10)
nnoremap <leader>c :tabclose<CR>
nnoremap <leader>c :Bw<CR>
nnoremap <leader>C :Bw!<CR>
nnoremap <leader>b :wprev<CR>
nnoremap <leader>n :wnext<CR>
@ -174,6 +176,12 @@ nnoremap <leader>n :wnext<CR>
nnoremap <C-n> :20Lexplore<CR>
nnoremap <leader>pv :Explore<CR>
" tmux
let s:tmux=$TMUX
if s:tmux != ''
nnoremap <C-f> <cmd>!tmuxs<CR>
endif
" disable ex mode
nnoremap Q <nop>
@ -237,11 +245,9 @@ endif
autocmd! User GoyoEnter Limelight
autocmd! User GoyoLeave Limelight!
if has('gui')
set guifont=JetBrainsMono\ Nerd\ Font\ 13
endif
let g:airline_powerline_fonts = 1
"let g:airline#extensions#tabline#enabled = 1
nnoremap <leader>z :Goyo <CR>
nnoremap <leader>gs :Git <CR>

6
minimal.vimrc

@ -152,6 +152,12 @@ nnoremap <leader>n :wnext<CR>
nnoremap <C-n> :20Lexplore<CR>
nnoremap <leader>pv :Explore<CR>
" tmux
let s:tmux=$TMUX
if s:tmux != ''
nnoremap <C-f> <cmd>!tmuxs<CR>
endif
" disable ex mode
nnoremap Q <nop>

Loading…
Cancel
Save