Compare commits
No commits in common. "fc0655dc043e672c0cfcb114341ccceebe5890e5" and "6b49d383078297cabe3193fa159f7851eaf58297" have entirely different histories.
fc0655dc04
...
6b49d38307
1 changed files with 1 additions and 20 deletions
21
init.el
21
init.el
|
@ -112,7 +112,6 @@
|
|||
:config
|
||||
(evil-collection-init '(magit ibuffer)))
|
||||
|
||||
(use-package crux)
|
||||
|
||||
;; Avy (jump to char)
|
||||
(use-package avy
|
||||
|
@ -323,13 +322,6 @@
|
|||
:mode "\\.nix\\'"
|
||||
:hook (nix-mode . disable-tabs))
|
||||
|
||||
;; QML Support
|
||||
(setq qml-ts-mode-indent-offset 2)
|
||||
(use-package qml-ts-mode
|
||||
:config
|
||||
(add-hook 'qml-ts-mode-hook
|
||||
(lambda () (setq-local electric-indent-chars '(?\n ?\( ?\) ?{ ?} ?\[ ?\] ?\; ?,)))))
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-ts-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.ts\\'" . typescript-ts-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.tsx\\'" . typescript-ts-mode))
|
||||
|
@ -339,15 +331,9 @@
|
|||
(add-hook 'c++-ts-mode-hook #'lsp-deferred)
|
||||
(add-hook 'typescript-ts-mode-hook #'lsp-deferred)
|
||||
|
||||
;; Fix indent
|
||||
(add-hook 'rust-ts-mode-hook
|
||||
(lambda () (setq-local electric-indent-chars '(?\n ?\( ?\) ?{ ?} ?\[ ?\] ?\; ?,))))
|
||||
|
||||
(setq gc-cons-threshold (* 1024 1024 100)
|
||||
read-process-output-max (* 1024 1024))
|
||||
|
||||
;; Misc keybinds
|
||||
|
||||
;; hy3 retardation
|
||||
(use-package frames-only-mode
|
||||
:config
|
||||
|
@ -365,12 +351,7 @@
|
|||
(hyprctl "hy3:makegroup" "h, ephemeral")
|
||||
(make-frame-command)))
|
||||
|
||||
(define-key evil-normal-state-map (kbd "C-w a")
|
||||
(lambda () (interactive)
|
||||
(hyprctl "hy3:makegroup" "tab, ephemeral")
|
||||
(make-frame-command)))
|
||||
|
||||
(define-key evil-normal-state-map (kbd "C-w r") #'make-frame-command)
|
||||
(define-key evil-normal-state-map (kbd "C-w a") #'make-frame-command)
|
||||
|
||||
(advice-add #'evil-window-left :override
|
||||
(lambda (&optional count file) (hyprctl "hy3:movefocus" "l")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue