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 {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.emacs30;
|
package = pkgs.emacs;
|
||||||
extraPackages = epkgs: with epkgs; [
|
extraPackages = epkgs: with epkgs; [
|
||||||
org-noter-pdftools
|
org-noter-pdftools
|
||||||
org-pdftools
|
org-pdftools
|
||||||
|
@ -22,21 +22,11 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins.telescope.keymaps = lib.mkMerge [
|
keymaps =
|
||||||
(lib.mkIf telescopeExtensions.frecency.enable {
|
lib.optionals telescopeExtensions.live-grep-args.enable (lib.singleton {
|
||||||
"<leader>fp" = {
|
mode = "n";
|
||||||
mode = "n";
|
key = "<leader>fG";
|
||||||
options.desc = "List projects";
|
options.desc = "Live grep (with args) for the whole project";
|
||||||
action = helpers.mkRaw "require('telescope').extensions.project.project{}";
|
action = helpers.mkRaw "require('telescope').extensions.live_grep_args.live_grep_args";
|
||||||
};
|
});
|
||||||
})
|
|
||||||
|
|
||||||
(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";
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
@ -34,9 +34,6 @@ in
|
|||||||
]
|
]
|
||||||
++ lib.optionals userCfg.programs.browsers.firefox.enable [
|
++ lib.optionals userCfg.programs.browsers.firefox.enable [
|
||||||
firefox-devtools.vscode-firefox-debug
|
firefox-devtools.vscode-firefox-debug
|
||||||
]
|
|
||||||
++ lib.optionals userCfg.programs.browsers.edge.enable [
|
|
||||||
#ms-edgedevtools.vscode-edge-devtools
|
|
||||||
];
|
];
|
||||||
|
|
||||||
userSettings = {
|
userSettings = {
|
||||||
|
Loading…
Reference in New Issue
Block a user