Added home-manager/modules/tmux

This commit is contained in:
fleaz 2023-08-15 14:43:46 +02:00
parent b7ba7391c1
commit 59bab9db3f
3 changed files with 130 additions and 4 deletions

View file

@ -138,10 +138,6 @@
" neoformat
let g:neoformat_python_black = { 'args': ['-l 120'] }
" Set name of tmux pane
autocmd BufReadPost,FileReadPost,BufNewFile,BufEnter * call system("tmux rename-window 'vim " . expand("%:t") . "'")
autocmd VimLeave * call system("tmux rename-window 'tmux'")
" Enter goyo mode
nmap <Leader>gy :Goyo 50%x100%<CR>