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>

View file

@ -0,0 +1,16 @@
{ pkgs, ... }: {
programs.tmux = {
enable = true;
keyMode = "vi";
escapeTime = 0;
plugins = [
pkgs.tmuxPlugins.gruvbox
];
shell = "/home/felix/.nix-profile/bin/zsh";
terminal = "xterm-256color";
extraConfig = ''
'';
};
}