mirror of
https://github.com/fredrikr79/nixos.git
synced 2026-01-08 16:13:46 +01:00
add jj config to nixos home
This commit is contained in:
2
home.nix
2
home.nix
@@ -126,6 +126,7 @@ in
|
||||
# ".emacs.d".source = home/emacs.d;
|
||||
# ".config/emacs".source = home/config/emacs;
|
||||
".doom.d".source = home/doom.d;
|
||||
".config/jj".source = home/config/jj;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
@@ -1049,6 +1050,7 @@ in
|
||||
n = "nvim";
|
||||
e = "emacsclient -c -a 'emacs'";
|
||||
nnn = "nnn -e";
|
||||
jl = "jj l";
|
||||
};
|
||||
|
||||
defaultKeymap = "viins";
|
||||
|
||||
19
home/config/jj/config.toml
Normal file
19
home/config/jj/config.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[user]
|
||||
name = "fredrikr79"
|
||||
email = "fredrikrobertsen7@gmail.com"
|
||||
|
||||
[ui]
|
||||
paginate = "auto"
|
||||
default-command = "status"
|
||||
editor = "nvim"
|
||||
|
||||
[ui.streampager]
|
||||
interface = "quit-quickly-or-clear-output"
|
||||
|
||||
[[--scope]]
|
||||
--when.commands = ["status"]
|
||||
[--scope.ui]
|
||||
paginate = "never"
|
||||
|
||||
[aliases]
|
||||
l = ["log", "-r", "(main..@):: | (main..@)-"]
|
||||
Reference in New Issue
Block a user