dgy
/
hexagons
Archived
1
0
Fork 0
This repository has been archived on 2021-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
hexagons/.config/nvim/after/ftplugin/terminal.vim

15 lines
497 B
VimL

setlocal nofoldenable foldcolumn=0
setlocal nonumber norelativenumber
setlocal signcolumn=no
setlocal wrap noruler
aug MyTerminal
au!
au TermOpen * set laststatus=0 noshowmode noshowcmd
" workaround for a segfault: https://github.com/neovim/neovim/issues/11548#issuecomment-583081783
" immediately enter insert mode when switching to a terminal
au BufEnter term://* startinsert!
au TermClose * set laststatus=2 showmode showcmd
au BufLeave term://* stopinsert
aug END