Added a few scripts to make my life a tiny bit easier; updated some things (i forgor)
This commit is contained in:
parent
7ac1098ec5
commit
c4ebdccebe
6 changed files with 62 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
;; -*- lexical-binding: nil -*-
|
||||
;; -*- lexical-binding: nil; -*-
|
||||
|
||||
;; Keybind reminder for self:
|
||||
;; C-x C-f : enter a file / find one
|
||||
|
|
@ -15,6 +15,7 @@
|
|||
;; M-x cd : change dir duh
|
||||
;; M-y : to paste into vterm or generally
|
||||
;; M-x package-list-packages RET Ux : updates packages
|
||||
;; M-x eglot-inlay-hints-mode : cool info for code
|
||||
;; M-ESC : Escapes corfu prompt
|
||||
;; C-g : Escapes emacs command line
|
||||
|
||||
|
|
@ -64,7 +65,6 @@
|
|||
;; Vterm
|
||||
(use-package vterm
|
||||
:config
|
||||
(setq vterm-shell 'bash)
|
||||
(add-hook 'vterm-mode-hook (lambda () (setq evil-default-state 'emacs)))
|
||||
:ensure t)
|
||||
|
||||
|
|
@ -72,7 +72,11 @@
|
|||
(use-package qml-mode :ensure t)
|
||||
|
||||
;; LSP / Eglot
|
||||
|
||||
(setq eglot-ignored-server-capabilities '(:documentOnTypeFormattingProvider :documentFormattingProvider :documentRangeFormattingProvider))
|
||||
|
||||
;; (add-hook 'nix-mode-hook #'eglot-ensure) ;;(for nix)
|
||||
(add-hook 'eglot-managed-mode-hook (lambda () (eglot-inlay-hints-mode -1)))
|
||||
(add-hook 'c-mode-hook 'eglot-ensure)
|
||||
(add-hook 'c++-mode-hook 'eglot-ensure)
|
||||
(add-hook 'qml-mode-hook 'eglot-ensure)
|
||||
|
|
@ -143,21 +147,21 @@
|
|||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(base16-theme-highlight-mode-line 'box)
|
||||
'(eglot-ignored-server-capabilities
|
||||
'(:documentFormattingProvider :documentRangeFormattingProvider))
|
||||
'(package-selected-packages '(evil)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
|
||||
;; Removing ass boxes and making theme be "smooth"
|
||||
'(default ((t (:box nil :background "#1e0a28" :foreground "#ffffff"))))
|
||||
'(font-lock-comment-face ((t (:foreground "#656565"))))
|
||||
'(font-lock-comment-delimiter-face ((t (:foreground "#656565"))))
|
||||
'(ansi-color-fast-blick ((t (:box nil))))
|
||||
'(ansi-color-slow-blick ((t (:box nil))))
|
||||
'(corfu-border ((t (:background nil))))
|
||||
'(cursor ((t (:inherit t :background "#506050" :foreground "#000000"))))
|
||||
'(font-lock-comment-delimiter-face ((t (:foreground "#656565"))))
|
||||
'(font-lock-comment-face ((t (:foreground "#656565"))))
|
||||
'(fringe ((t nil)))
|
||||
'(help-key-binding ((t (:box nil))))
|
||||
'(line-number ((t (:foreground "#504050" :background "#1e0a28"))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue