diff options
Diffstat (limited to 'programs')
-rw-r--r-- | programs/atuin.nix | 6 | ||||
-rw-r--r-- | programs/default.nix | 3 | ||||
-rw-r--r-- | programs/git.nix | 13 | ||||
-rw-r--r-- | programs/init.vim | 4 |
4 files changed, 18 insertions, 8 deletions
diff --git a/programs/atuin.nix b/programs/atuin.nix new file mode 100644 index 0000000..2a501fc --- /dev/null +++ b/programs/atuin.nix | |||
@@ -0,0 +1,6 @@ | |||
1 | { | ||
2 | programs.atuin = { | ||
3 | enable = true; | ||
4 | enableBashIntegration = true; | ||
5 | }; | ||
6 | } | ||
diff --git a/programs/default.nix b/programs/default.nix index 482c02e..32eaf18 100644 --- a/programs/default.nix +++ b/programs/default.nix | |||
@@ -8,6 +8,7 @@ | |||
8 | { | 8 | { |
9 | 9 | ||
10 | imports = [ | 10 | imports = [ |
11 | ./atuin.nix | ||
11 | ./bash.nix | 12 | ./bash.nix |
12 | ./chromium.nix | 13 | ./chromium.nix |
13 | ./feh.nix | 14 | ./feh.nix |
@@ -16,9 +17,9 @@ | |||
16 | ./htop.nix | 17 | ./htop.nix |
17 | ./neovim.nix | 18 | ./neovim.nix |
18 | ./readline.nix | 19 | ./readline.nix |
20 | ./rofi.nix | ||
19 | ./tmux.nix | 21 | ./tmux.nix |
20 | ./zathura.nix | 22 | ./zathura.nix |
21 | ./rofi.nix | ||
22 | ]; | 23 | ]; |
23 | 24 | ||
24 | programs = { | 25 | programs = { |
diff --git a/programs/git.nix b/programs/git.nix index 69dd409..d4fac67 100644 --- a/programs/git.nix +++ b/programs/git.nix | |||
@@ -19,7 +19,13 @@ with theme; | |||
19 | syntax-theme = "none"; | 19 | syntax-theme = "none"; |
20 | zero-style = "8"; | 20 | zero-style = "8"; |
21 | navigate = "true"; | 21 | navigate = "true"; |
22 | line-numbers = "true"; | ||
22 | keep-plus-minus-markers = "true"; | 23 | keep-plus-minus-markers = "true"; |
24 | line-numbers-zero-style = "8"; | ||
25 | line-numbers-left-style = "8"; | ||
26 | line-numbers-right-style = "8"; | ||
27 | line-numbers-minus-style = "${base08}"; | ||
28 | line-numbers-plus-style = "${base0B}"; | ||
23 | decorations = { | 29 | decorations = { |
24 | file-decoration-style = "none"; | 30 | file-decoration-style = "none"; |
25 | whitespace-error-style = "22 reverse"; | 31 | whitespace-error-style = "22 reverse"; |
@@ -27,7 +33,7 @@ with theme; | |||
27 | minus-emph-style = "${base08} bold"; | 33 | minus-emph-style = "${base08} bold"; |
28 | plus-style = "${base0B}"; | 34 | plus-style = "${base0B}"; |
29 | plus-emph-style = "${base0B} bold"; | 35 | plus-emph-style = "${base0B} bold"; |
30 | file-style = "7 italic"; | 36 | file-style = "7 bold"; |
31 | hunk-header-style = "7"; | 37 | hunk-header-style = "7"; |
32 | hunk-header-decoration-style = "8 ul"; | 38 | hunk-header-decoration-style = "8 ul"; |
33 | }; | 39 | }; |
@@ -39,11 +45,6 @@ with theme; | |||
39 | }; | 45 | }; |
40 | }; | 46 | }; |
41 | }; | 47 | }; |
42 | # difftastic = { | ||
43 | # enable = true; | ||
44 | # background = "dark"; | ||
45 | # display = "inline"; | ||
46 | # }; | ||
47 | aliases = { | 48 | aliases = { |
48 | co = "checkout"; | 49 | co = "checkout"; |
49 | rb = "rebase"; | 50 | rb = "rebase"; |
diff --git a/programs/init.vim b/programs/init.vim index c62f419..af74f32 100644 --- a/programs/init.vim +++ b/programs/init.vim | |||
@@ -55,6 +55,7 @@ set dir=/tmp | |||
55 | 55 | ||
56 | syntax on | 56 | syntax on |
57 | 57 | ||
58 | set nocursorline | ||
58 | set omnifunc=syntaxcomplete#Complete | 59 | set omnifunc=syntaxcomplete#Complete |
59 | set completefunc=LanguageClient#complete | 60 | set completefunc=LanguageClient#complete |
60 | set list | 61 | set list |
@@ -76,6 +77,7 @@ set path+=** | |||
76 | set backspace=indent,eol,start | 77 | set backspace=indent,eol,start |
77 | set hidden | 78 | set hidden |
78 | set wildmenu | 79 | set wildmenu |
80 | set pumheight=8 | ||
79 | set complete=.,w,b,i,u,t, | 81 | set complete=.,w,b,i,u,t, |
80 | set background=dark | 82 | set background=dark |
81 | set mouse=a | 83 | set mouse=a |
@@ -83,7 +85,7 @@ set conceallevel=0 | |||
83 | set nonumber | 85 | set nonumber |
84 | set grepprg=rg\ --vimgrep\ --no-heading | 86 | set grepprg=rg\ --vimgrep\ --no-heading |
85 | set grepformat=%f:%l:%c:%m,%f:%l:%m | 87 | set grepformat=%f:%l:%c:%m,%f:%l:%m |
86 | set cmdheight=2 | 88 | set cmdheight=1 |
87 | set shortmess+=c | 89 | set shortmess+=c |
88 | set updatetime=300 | 90 | set updatetime=300 |
89 | set signcolumn=yes | 91 | set signcolumn=yes |