diff options
Diffstat (limited to 'vim.dot.link/plugin/window_title.vim')
-rw-r--r-- | vim.dot.link/plugin/window_title.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vim.dot.link/plugin/window_title.vim b/vim.dot.link/plugin/window_title.vim index bb82977..b602af1 100644 --- a/vim.dot.link/plugin/window_title.vim +++ b/vim.dot.link/plugin/window_title.vim @@ -18,10 +18,10 @@ augroup END " " Thanks to http://stackoverflow.com/questions/1673649/vimrc-action-onclose function! ResetTitle(title) - " disable vim's ability to set the title - exec "set title t_ts='' t_fs=''" + " disable vim's ability to set the title + exec "set title t_ts='' t_fs=''" - " and restore it - "exec ":!echo -e '\033kbash\033\\'\<CR>" - exec ":!xtitle -q " a:title + " and restore it + "exec ":!echo -e '\033kbash\033\\'\<CR>" + exec ":!xtitle -q " a:title endfunction |