More spacemacs. Adding some node packages to home-manager. More tmux plugins

master
Dustin Swan 6 years ago
parent dbc66cfd36
commit f6939a13c2
Signed by: dustinswan
GPG Key ID: AB49BD6B2B3A6377

@ -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 = {

@ -39,7 +39,8 @@ This function should only modify configuration layer settings."
;; Uncomment some layer names and press `SPC f e R' (Vim style) or ;; Uncomment some layer names and press `SPC f e R' (Vim style) or
;; `M-m f e R' (Emacs style) to install them. ;; `M-m f e R' (Emacs style) to install them.
;; ---------------------------------------------------------------- ;; ----------------------------------------------------------------
ivy ; ivy
(helm :variables helm-no-header t)
csv csv
(version-control :variables (version-control :variables
version-control-diff-side 'left version-control-diff-side 'left

Loading…
Cancel
Save