From 7d6a4f057f8d7f8a8be472ca7d969dd38ec9a78a Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 4 Jul 2017 16:30:06 -0400 Subject: Show terminal title in statusline --- home/.config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'home/.config/nvim') diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index 32d3caab..32341c60 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -20,6 +20,7 @@ command! W w colorscheme trivial +autocmd TermOpen * setlocal statusline=%{b:term_title} autocmd BufEnter term://* startinsert autocmd BufNewFile,BufRead *.asm,*.mac setfiletype nasm autocmd FileType sh,zsh,ruby setlocal shiftwidth=2 -- cgit 1.4.1