From bfacabf6225edde1093dc7ca1c9c0a14b457d68d Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Thu, 3 Dec 2020 23:07:13 -0500 Subject: [PATCH] STEUFF --- home-cli.nix | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/home-cli.nix b/home-cli.nix index 3dcffc9..6cb6156 100644 --- a/home-cli.nix +++ b/home-cli.nix @@ -8,7 +8,7 @@ home.sessionVariables = { EDITOR = "vim"; MANPAGER = "sh -c 'col -bx | bat -l man -p'"; - PATH = "$PATH:${builtins.getEnv "HOME"}/.emacs.d/bin"; + PATH = "$PATH:${builtins.getEnv "HOME"}/.emacs.d/bin:${builtins.getEnv "HOME"}/.radicle/bin"; P4USER = "dswan"; P4PORT = "humu.iocom.com:1666"; @@ -25,6 +25,7 @@ keyMode = "vi"; baseIndex = 1; clock24 = true; + newSession = true; secureSocket = false; plugins = with pkgs.tmuxPlugins; [ sensible @@ -49,6 +50,11 @@ ''; }; + programs.lsd = { + enable = true; + enableAliases = true; + }; + programs.zsh = { enable = true; enableAutosuggestions = true; @@ -57,18 +63,18 @@ plugins = [ "git" ]; }; shellAliases = { - l = "ls -la"; + # l = "ls -la"; n = "nnn"; - ta = "tmux attach -d"; + t = "tmux attach -d"; er = "rm -rf logs; unzip -o"; srsync = "rsync --rsync-path='sudo rsync'"; }; }; - programs.dircolors = { - enable = true; - enableZshIntegration = true; - }; + # programs.dircolors = { + # enable = true; + # enableZshIntegration = true; + # }; programs.direnv = { enable = true; @@ -132,8 +138,8 @@ vimAlias = true; withNodeJs = true; withPython3 = true; - # unimpaired endwise textobj-word-column MatchTag vim-matchmaker vim-vertical-move stdtabs matchit splitjoin vimade floaterm fuzzymenu vim-markdown - plugins = with pkgs.vimPlugins; [ nord-vim vim-airline vim-airline-themes vim-sensible vim-repeat vim-surround vim-fugitive vim-speeddating jdaddy-vim ale vim-snippets fzf-vim vim-tmux-navigator vim-multiple-cursors vim-easymotion vim-sneak nerdcommenter emmet-vim undotree vim-signature vim-easy-align vim-better-whitespace vim-signify vim-expand-region vim-exchange argtextobj-vim goyo vim-orgmode vim-polyglot vim-devicons vim-startify vim-abolish vim-peekaboo vim-table-mode tabular coc-nvim coc-css coc-html coc-eslint coc-tsserver coc-json coc-fzf coc-snippets vim-highlightedyank vim-which-key]; + # unimpaired endwise textobj-word-column MatchTag vim-matchmaker vim-vertical-move stdtabs matchit splitjoin vimade fuzzymenu vim-markdown + plugins = with pkgs.vimPlugins; [ nord-vim vim-airline vim-airline-themes vim-sensible vim-repeat vim-surround vim-fugitive vim-speeddating jdaddy-vim ale vim-snippets fzf-vim vim-tmux-navigator vim-multiple-cursors vim-easymotion vim-sneak nerdcommenter emmet-vim undotree vim-signature vim-easy-align vim-better-whitespace vim-signify vim-expand-region vim-exchange argtextobj-vim goyo vim-orgmode vim-polyglot vim-devicons vim-startify vim-abolish vim-peekaboo vim-table-mode tabular coc-nvim coc-css coc-html coc-eslint coc-tsserver coc-json coc-fzf coc-snippets vim-highlightedyank vim-which-key vim-floaterm]; extraConfig = '' set expandtab set tabstop=2 @@ -153,6 +159,8 @@ let g:EasyMotion_smartcase = 1 + let g:NERDSpaceDelims = 1 + let g:coc_snippet_next = '' let g:coc_snippet_prev = '' @@ -180,7 +188,7 @@ nnoremap f :Files nnoremap b :Buffers nnoremap w :Windows - nnoremap c :Commands + nnoremap C :Commands nnoremap hf :History nnoremap hc :History: nnoremap hs :History/ @@ -197,6 +205,9 @@ imap (fzf-complete-path) imap (fzf-complete-file-ag) imap (fzf-complete-line) + + nnoremap n :FloatermNew nnn + nnoremap T :FloatermNew ''; };