mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
users/foo-dogsquared/programs: update editor configs
This commit is contained in:
parent
90712b8c32
commit
86faa62f42
@ -17,7 +17,7 @@ in
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacs30;
|
||||
package = pkgs.emacs;
|
||||
extraPackages = epkgs: with epkgs; [
|
||||
org-noter-pdftools
|
||||
org-pdftools
|
||||
|
@ -22,21 +22,11 @@ in
|
||||
enable = true;
|
||||
};
|
||||
|
||||
plugins.telescope.keymaps = lib.mkMerge [
|
||||
(lib.mkIf telescopeExtensions.frecency.enable {
|
||||
"<leader>fp" = {
|
||||
mode = "n";
|
||||
options.desc = "List projects";
|
||||
action = helpers.mkRaw "require('telescope').extensions.project.project{}";
|
||||
};
|
||||
})
|
||||
|
||||
(lib.mkIf telescopeExtensions.live-grep-args.enable {
|
||||
"<leader>fG" = {
|
||||
mode = "n";
|
||||
options.desc = "Live grep (with args) for the whole project";
|
||||
action = helpers.mkRaw "require('telescope').extensions.live_grep_args.live_grep_args";
|
||||
};
|
||||
})
|
||||
];
|
||||
keymaps =
|
||||
lib.optionals telescopeExtensions.live-grep-args.enable (lib.singleton {
|
||||
mode = "n";
|
||||
key = "<leader>fG";
|
||||
options.desc = "Live grep (with args) for the whole project";
|
||||
action = helpers.mkRaw "require('telescope').extensions.live_grep_args.live_grep_args";
|
||||
});
|
||||
}
|
||||
|
@ -34,9 +34,6 @@ in
|
||||
]
|
||||
++ lib.optionals userCfg.programs.browsers.firefox.enable [
|
||||
firefox-devtools.vscode-firefox-debug
|
||||
]
|
||||
++ lib.optionals userCfg.programs.browsers.edge.enable [
|
||||
#ms-edgedevtools.vscode-edge-devtools
|
||||
];
|
||||
|
||||
userSettings = {
|
||||
|
Loading…
Reference in New Issue
Block a user