diff options
author | June McEnroe <curtis@hopper.com> | 2017-07-04 16:30:06 -0400 |
---|---|---|
committer | June McEnroe <curtis@hopper.com> | 2017-07-04 16:30:06 -0400 |
commit | f2571450bb64f3cd6c8a25df4a3df4b0767b14e2 (patch) | |
tree | 2db0923c6d6d3fa8be08cfd213508c25a891cd92 /curtis/.config/nvim | |
parent | Add nvim terminal mappings (diff) | |
download | src-f2571450bb64f3cd6c8a25df4a3df4b0767b14e2.tar.gz src-f2571450bb64f3cd6c8a25df4a3df4b0767b14e2.zip |
Show terminal title in statusline
Diffstat (limited to 'curtis/.config/nvim')
-rw-r--r-- | curtis/.config/nvim/init.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/curtis/.config/nvim/init.vim b/curtis/.config/nvim/init.vim index 32d3caab..32341c60 100644 --- a/curtis/.config/nvim/init.vim +++ b/curtis/.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 |