1
0
Fork 0

window titles for tmux

This commit is contained in:
Von Random 2018-06-28 19:58:52 +03:00
parent 7cfec077c1
commit adeeeb95de
3 changed files with 16 additions and 12 deletions

8
vimrc
View file

@ -12,9 +12,10 @@ set noerrorbells visualbell t_vb=
set tabstop=3 softtabstop=4 shiftwidth=4 smarttab expandtab
" termcap fixes
set t_Co=256 t_ut= termencoding=utf-8 encoding=utf-8
" status line
" status line and title
set wildmenu showcmd ruler laststatus=2
set statusline=[%F]\ %R%H%W%M\ %=[%{&fenc}/%{&ff}]\ %y\ [%4l/%L:%3v]
set title titlestring=[%{hostname()}]\ %t\ -\ vim
" enable case indentation
let g:sh_indent_case_labels=1
" version specific settings
@ -52,6 +53,11 @@ noremap q <NOP>
nnoremap <Leader>q :q<CR>
nnoremap <Leader>s :w<CR>
if $TERM =~ '^\(screen\|tmux\)'
set t_ts=k
set t_fs=\
endif
if v:version >= 800
set breakindent