mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +00:00
org fragtog + fzf
This commit is contained in:
parent
c83a6109d1
commit
91637f5dea
5 changed files with 90 additions and 82 deletions
|
@ -39,6 +39,7 @@ in
|
|||
|
||||
programs.zsh.shellAliases = mkIf stdenv.isDarwin ({
|
||||
drs = "darwin-rebuild switch --flake ${config.home.homeDirectory}/.config/dotfiles.nix#";
|
||||
f = "open \"$(${config.programs.fzf.package}/bin/fzf)\"";
|
||||
o = "open";
|
||||
oa = "open -a";
|
||||
pinentry = "pinentry-mac";
|
||||
|
|
|
@ -616,6 +616,11 @@ in {
|
|||
hook = [ "(dired-mode-hook . org-download-enable)" ];
|
||||
};
|
||||
|
||||
org-fragtog ={
|
||||
enable = true;
|
||||
hook = [ "(org-mode-hook . org-fragtog-mode)" ];
|
||||
};
|
||||
|
||||
org-ref = {
|
||||
enable = true;
|
||||
init = ''
|
||||
|
|
|
@ -29,7 +29,6 @@ in
|
|||
docker-compose
|
||||
fd
|
||||
findutils
|
||||
fzf
|
||||
gawk
|
||||
gnuplot
|
||||
graphviz
|
||||
|
|
|
@ -49,6 +49,12 @@
|
|||
];
|
||||
};
|
||||
|
||||
fzf = {
|
||||
enable = true;
|
||||
defaultCommand = "${pkgs.fd}/bin/fd . ${config.home.homeDirectory}";
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
|
||||
git = {
|
||||
enable = true;
|
||||
delta = { enable = true; };
|
||||
|
|
|
@ -41,9 +41,6 @@
|
|||
|
||||
programs.man.enable = true;
|
||||
|
||||
programs.zsh.enableFzfCompletion = true;
|
||||
programs.zsh.enableFzfGit = true;
|
||||
programs.zsh.enableFzfHistory = true;
|
||||
programs.zsh.loginShellInit = ''
|
||||
reexec() {
|
||||
unset __NIX_DARWIN_SET_ENVIRONMENT_DONE
|
||||
|
|
Loading…
Add table
Reference in a new issue