fix setting &titlestring
This commit is contained in:
parent
3eabe33eeb
commit
ace69fef9d
2
vimrc
2
vimrc
@ -49,7 +49,6 @@ if has("gui_running")
|
|||||||
set nomousehide
|
set nomousehide
|
||||||
hi ColorColumn guibg=#220000
|
hi ColorColumn guibg=#220000
|
||||||
set showtabline=2
|
set showtabline=2
|
||||||
let &titlestring=tolower(substitute(v:servername, "\\d$", "", "")) . ": %t%m (%{expand('%:p:h')})"
|
|
||||||
else
|
else
|
||||||
" console-specific settings
|
" console-specific settings
|
||||||
set scrolloff=4
|
set scrolloff=4
|
||||||
@ -132,6 +131,7 @@ if has("autocmd")
|
|||||||
autocmd BufEnter * if bufname('%') == '' | set bufhidden=wipe | endif
|
autocmd BufEnter * if bufname('%') == '' | set bufhidden=wipe | endif
|
||||||
|
|
||||||
if has("gui_running")
|
if has("gui_running")
|
||||||
|
let &titlestring="%{tolower(substitute(v:servername, '\\d$', '', ''))}: %t%m (%{expand('%:p:h')})"
|
||||||
autocmd WinLeave * set nocursorline nocursorcolumn
|
autocmd WinLeave * set nocursorline nocursorcolumn
|
||||||
autocmd WinEnter * set cursorline cursorcolumn
|
autocmd WinEnter * set cursorline cursorcolumn
|
||||||
set cursorline cursorcolumn
|
set cursorline cursorcolumn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user