Getting emacs to lag less in wayland

This commit is contained in:
Emmet 2023-08-12 13:47:14 -05:00
parent ff55d91f0f
commit 260ff5fb64
5 changed files with 25 additions and 2 deletions

View file

@ -51,6 +51,9 @@
(bind-key* "C-l" #'evil-window-right)
(bind-key* "C-q" #'evil-window-delete)
(bind-key* "M-q" #'kill-current-buffer)
(bind-key* "M-w" #'+workspace/close-window-or-workspace)
(bind-key* "M-n" #'next-buffer)
(bind-key* "M-p" #'previous-buffer)
(bind-key* "M-z" #'+vterm/toggle)
(bind-key* (kbd "M-<return>") #'+vterm/here)

View file

@ -4,8 +4,10 @@ let
dashboardLogo = ./. + "/nix-" + themePolarity + ".png";
in
{
services.emacs.enable = true;
programs.doom-emacs = {
enable = true;
emacsPackage = pkgs.emacs28-gtk2;
doomPrivateDir = ./.;
# This block from https://github.com/znewman01/dotfiles/blob/be9f3a24c517a4ff345f213bf1cf7633713c9278/emacs/default.nix#L12-L34
# Only init/packages so we only rebuild when those change.

View file

@ -112,6 +112,9 @@ Doom Emacs is traditionally installed by cloning the repository ([[https://githu
(bind-key* "C-l" #'evil-window-right)
(bind-key* "C-q" #'evil-window-delete)
(bind-key* "M-q" #'kill-current-buffer)
(bind-key* "M-w" #'+workspace/close-window-or-workspace)
(bind-key* "M-n" #'next-buffer)
(bind-key* "M-p" #'previous-buffer)
(bind-key* "M-z" #'+vterm/toggle)
(bind-key* (kbd "M-<return>") #'+vterm/here)
@ -1474,8 +1477,10 @@ let
dashboardLogo = ./. + "/nix-" + themePolarity + ".png";
in
{
services.emacs.enable = true;
programs.doom-emacs = {
enable = true;
emacsPackage = pkgs.emacs28-gtk2;
doomPrivateDir = ./.;
# This block from https://github.com/znewman01/dotfiles/blob/be9f3a24c517a4ff345f213bf1cf7633713c9278/emacs/default.nix#L12-L34
# Only init/packages so we only rebuild when those change.