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