aboutsummaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2024-07-23 16:03:05 +0100
committerAkshay <[email protected]>2024-07-23 16:03:05 +0100
commit3099f8b97a5be7b35b2eb03506adf1167270878e (patch)
tree04676fd7ce30549c48e9787de0d9d9478dbaf569 /programs
parent1ebd3b990bdfb462a98a1432ffae7f4e739eeb44 (diff)
stuff
Diffstat (limited to 'programs')
-rw-r--r--programs/atuin.nix6
-rw-r--r--programs/default.nix3
-rw-r--r--programs/git.nix13
-rw-r--r--programs/init.vim4
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
56syntax on 56syntax on
57 57
58set nocursorline
58set omnifunc=syntaxcomplete#Complete 59set omnifunc=syntaxcomplete#Complete
59set completefunc=LanguageClient#complete 60set completefunc=LanguageClient#complete
60set list 61set list
@@ -76,6 +77,7 @@ set path+=**
76set backspace=indent,eol,start 77set backspace=indent,eol,start
77set hidden 78set hidden
78set wildmenu 79set wildmenu
80set pumheight=8
79set complete=.,w,b,i,u,t, 81set complete=.,w,b,i,u,t,
80set background=dark 82set background=dark
81set mouse=a 83set mouse=a
@@ -83,7 +85,7 @@ set conceallevel=0
83set nonumber 85set nonumber
84set grepprg=rg\ --vimgrep\ --no-heading 86set grepprg=rg\ --vimgrep\ --no-heading
85set grepformat=%f:%l:%c:%m,%f:%l:%m 87set grepformat=%f:%l:%c:%m,%f:%l:%m
86set cmdheight=2 88set cmdheight=1
87set shortmess+=c 89set shortmess+=c
88set updatetime=300 90set updatetime=300
89set signcolumn=yes 91set signcolumn=yes