aboutsummaryrefslogtreecommitdiff
path: root/Common/vimrc
diff options
context:
space:
mode:
authorJakob Stendahl <jakobste@uio.no>2020-08-27 09:16:27 +0200
committerJakob Stendahl <jakobste@uio.no>2020-08-27 09:16:27 +0200
commit67c181b213519205fe0e7bac4646349652835dbb (patch)
treee6986d8761e0f6fbfce7e92916679c1d284bf61f /Common/vimrc
parent80985a3f817074537bb5d997fc4923294a0c3993 (diff)
downloaddotfiles-67c181b213519205fe0e7bac4646349652835dbb.tar.gz
dotfiles-67c181b213519205fe0e7bac4646349652835dbb.zip
Update to p10k, and do some small updates
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