1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00

Fix issue with i3-wm

when open a split window, get `<80><fd>a` shown in the cmdline.
This commit is contained in:
wsdjeg 2017-02-23 23:15:56 +08:00
parent dc438eee1e
commit c23199317c
2 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,6 @@ function! SpaceVim#autocmds#init() abort
autocmd FocusLost * call system('synclient touchpadoff=0') autocmd FocusLost * call system('synclient touchpadoff=0')
autocmd FocusGained * call s:reload_touchpad_status() autocmd FocusGained * call s:reload_touchpad_status()
endif endif
autocmd VimResized * wincmd =
autocmd BufWritePost *.vim call s:generate_doc() autocmd BufWritePost *.vim call s:generate_doc()
autocmd FileType * set scrolloff=7 autocmd FileType * set scrolloff=7
augroup END augroup END

View File

@ -52,6 +52,8 @@ let g:terminal_color_14 = "#8ec07c"
" light4 + light1 " light4 + light1
let g:terminal_color_7 = "#a89984" let g:terminal_color_7 = "#a89984"
let g:terminal_color_15 = "#ebdbb2" let g:terminal_color_15 = "#ebdbb2"
nnoremap <FocusGained> <Nop>
nnoremap <FocusLost> <Nop>
augroup Terminal augroup Terminal
au! au!
au TermOpen * let g:last_terminal_job_id = b:terminal_job_id | IndentLinesDisable au TermOpen * let g:last_terminal_job_id = b:terminal_job_id | IndentLinesDisable