Clicking doesn't open file in tree half of the time
nonetrix opened this issue · 2 comments
nonetrix commented
For some reason in the tree half of the time my clicks aren't registered, seems random. I have to click repeatedly for a good minute for anything to happen, not sure what is casing it could be my fault but no idea what I am doing wrong exactly and reading though the documentation I couldn't find much in the mouse section
out.mp4
Here is my configs, it is in Nix but should be easy to read still since must of it is Lisp anyway
{ config, pkgs, ... }:
let
global = import ../global-var.nix;
in {
home-manager.users.${global.username} = { pkgs, ...}: {
programs.emacs = {
enable = true;
package = pkgs.emacs-gtk;
extraPackages = epkgs: [
epkgs.catppuccin-theme
epkgs.evil
epkgs.magit
epkgs.beacon
epkgs.treemacs
epkgs.treemacs-evil
epkgs.nix-mode
epkgs.doom-modeline
epkgs.linum-relative
epkgs.vterm
];
extraConfig = ''
(load-theme 'catppuccin t)
(set-frame-font "JetBrainsMono Nerd Font" nil t)
(require 'evil)
(evil-mode 1)
;(beacon-mode 1)
(require 'doom-modeline)
(doom-modeline-mode 1)
(scroll-bar-mode -1)
(with-eval-after-load 'treemacs
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action))
(global-set-key (kbd "<f2>") 'treemacs)
(add-hook 'prog-mode-hook
(lambda ()
(require 'linum-relative)
(setq linum-relative-backend 'display-line-numbers-mode)
(linum-relative-mode)
(setq display-line-numbers-type 'relative)))
'';
};
};
}
nonetrix commented
User error sorry for bothering, should be quick to make issues. But I think the documentation for evil mode could be more clear
(use-package treemacs-evil
:after treemacs evil)
Alexander-Miller commented
But I think the documentation for evil mode could be more clear
What's missing?