~vonfry/dotfiles

24f20d5cfb00c2ff2419e080e4f889c4a4aad15e — Vonfry 5 months ago 6bba024
emacs/org: add some org-ql bindings for global and set the ones only worked under org-mode only in mode map
M etc/nixos/modules/user/files/emacs.d/modules/lang/org/packages.el => etc/nixos/modules/user/files/emacs.d/modules/lang/org/packages.el +7 -4
@@ 61,7 61,7 @@
    "o t d" 'org-clock-display
    "o t j" 'org-clock-goto)
  (nvmap-mode :keymaps 'org-mode-map
    "/"   'org-occur
    "?"   'org-occur
    "g"   'org-goto
    "L"   'org-store-link
    "@"   'org-set-tags-command


@@ 165,10 165,13 @@

(use-package org-ql
  :general
  (nmap-leader
    "o /" 'org-ql-search
    "o T" 'org-ql-view-sidebar
    "o t" 'org-ql-view)
  (nmap-mode :keymaps 'org-mode-map
    "." 'org-ql-search
    "," 'org-ql-view
    ";" 'org-ql-sparse-tree))
    ";" 'org-ql-sparse-tree
    "/" 'org-ql-find))

(use-package org-roam
  :init

M etc/nixos/modules/x.nix => etc/nixos/modules/x.nix +7 -0
@@ 75,8 75,15 @@ in {
        lockerCommand = "${lockCommand} -n";
      };
      qt5ct.enable = true;
      weylus = {
        enable = true;
        openFirewall = true;
        users = [ "vonfry" ];
      };
    };

    hardware.uinput.enable = true;

    systemd = {
      # Make screen locker in system due to security consider.
      user.services = {