diff options
author | Max Christian Pohle | 2024-05-12 21:01:00 +0200 |
---|---|---|
committer | Max Christian Pohle | 2024-05-12 21:01:00 +0200 |
commit | eec48ff71881d8757b79dcd95aac9dac4d71bf72 (patch) | |
tree | 8e21c80a8fecbcf7a6b36c3db1d2aa061bda1959 /plugin/max-set-window-title.vim | |
parent | f3eb203b4ad79090e36982e7b417c0cf0de52646 (diff) | |
download | vim-eec48ff71881d8757b79dcd95aac9dac4d71bf72.tar.bz2 vim-eec48ff71881d8757b79dcd95aac9dac4d71bf72.zip |
tidied this repo up and uploaded my new nvim from scratch config
Diffstat (limited to 'plugin/max-set-window-title.vim')
-rw-r--r-- | plugin/max-set-window-title.vim | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/plugin/max-set-window-title.vim b/plugin/max-set-window-title.vim deleted file mode 100644 index 1838f03..0000000 --- a/plugin/max-set-window-title.vim +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | |||
2 | |||
3 | augroup SET_WINDOW_TITLE | ||
4 | set title | ||
5 | set titlelen=40 | ||
6 | |||
7 | " set window title for screen(3) | ||
8 | " if &term == "screen" || &term == "xterm" | ||
9 | if &term == "screen" | ||
10 | set t_ts=k | ||
11 | set t_fs=\ | ||
12 | endif | ||
13 | |||
14 | " autocmd BufEnter * let &titlestring = hostname() . "[vim(" . expand("%:t") . ")]" | ||
15 | " autocmd CursorHold * let &titlestring = "%t %y ".$USER."@".hostname().":%{expand("%:~:.:h")}" | ||
16 | set titlestring=\ %F | ||
17 | " Fix terminal title ================================================================================================= | ||
18 | " autocmd VimEnter * let &t_EI .= "\<Esc>[0 q" | ||
19 | " autocmd VimEnter * let &t_SI = "\<Esc>]12;green\x7" | ||
20 | autocmd VimLeave * silent !echo -ne "\033]112\007" | ||
21 | augroup END | ||
22 | |||