diff --git a/home.nix b/home.nix index 83266b3..9199976 100644 --- a/home.nix +++ b/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"; diff --git a/home/config/jj/config.toml b/home/config/jj/config.toml new file mode 100644 index 0000000..0b3cd6c --- /dev/null +++ b/home/config/jj/config.toml @@ -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..@)-"]