aboutsummaryrefslogtreecommitdiff
path: root/Common/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'Common/vimrc')
-rw-r--r--Common/vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/Common/vimrc b/Common/vimrc
index c2d766c..d2cab00 100644
--- a/Common/vimrc
+++ b/Common/vimrc
@@ -331,6 +331,11 @@ map <leader>x :e ~/buffer.md<cr>
" Toggle paste mode on and off
map <leader>pp :setlocal paste!<cr>
+" Send title of files to tmux
+autocmd BufEnter * let &titlestring = ' ' . expand("%:t")
+autocmd BufEnter * let &titlestring = expand("%t")
+set title
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Helper functions