|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
bat wget silver-searcher tree ranger nodejs yarn mu mosh newsboat msmtp w3m urlview nmap rtv gnupg youtube-dl
|
|
|
|
bat wget silver-searcher tree ranger nodejs yarn mu mosh newsboat msmtp w3m urlview nmap rtv gnupg youtube-dl nodePackages.tern nodePackages.eslint nodePackages.javascript-typescript-langserver nodePackages.js-beautify nodePackages.prettier nodePackages.dat
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
home.sessionVariables = {
|
|
|
|
home.sessionVariables = {
|
|
|
@ -85,7 +85,8 @@
|
|
|
|
keyMode = "vi";
|
|
|
|
keyMode = "vi";
|
|
|
|
baseIndex = 1;
|
|
|
|
baseIndex = 1;
|
|
|
|
newSession = true;
|
|
|
|
newSession = true;
|
|
|
|
plugins = with pkgs.tmuxPlugins; [ sensible resurrect pain-control continuum copycat open urlview yank ];
|
|
|
|
plugins = with pkgs.tmuxPlugins; [ sensible resurrect pain-control continuum copycat open fzf-tmux-url maildir-counter yank ];
|
|
|
|
|
|
|
|
# urlview
|
|
|
|
extraConfig = ''
|
|
|
|
extraConfig = ''
|
|
|
|
set -g set-titles on
|
|
|
|
set -g set-titles on
|
|
|
|
set -g set-titles-string "#H (#S)"
|
|
|
|
set -g set-titles-string "#H (#S)"
|
|
|
@ -112,6 +113,10 @@
|
|
|
|
set-window-option -g window-status-separator " "
|
|
|
|
set-window-option -g window-status-separator " "
|
|
|
|
set-window-option -g clock-mode-colour white
|
|
|
|
set-window-option -g clock-mode-colour white
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set -g status-right 'FastMail: #{maildir_counter_1}, IOCOM: #{maildir_counter_2} | %a %Y-%m-%d %H:%M'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set -g @maildir_counters '~/Mail/FastMail/INBOX/new|~/Mail/IOCOM/INBOX/new'
|
|
|
|
|
|
|
|
|
|
|
|
# remove when tmux-plugin-navigator plugin is added
|
|
|
|
# remove when tmux-plugin-navigator plugin is added
|
|
|
|
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
|
|
|
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
|
|
|
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
|
|
|
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
|
|
@ -146,9 +151,9 @@
|
|
|
|
srsync = "rsync --rsync-path='sudo rsync'";
|
|
|
|
srsync = "rsync --rsync-path='sudo rsync'";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
# for MacOS
|
|
|
|
# for MacOS
|
|
|
|
initExtra = ''
|
|
|
|
# initExtra = ''
|
|
|
|
source ~/.nix-profile/etc/profile.d/nix.sh
|
|
|
|
# source ~/.nix-profile/etc/profile.d/nix.sh
|
|
|
|
'';
|
|
|
|
# '';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
programs.fzf = {
|
|
|
|
programs.fzf = {
|
|
|
|