Perspective, disable company for orgmode
This commit is contained in:
parent
758b1a78ee
commit
2c754ac9b7
|
@ -2,6 +2,7 @@
|
||||||
"My custom configuration for 'org-mode'."
|
"My custom configuration for 'org-mode'."
|
||||||
(olivetti-mode)
|
(olivetti-mode)
|
||||||
(olivetti-set-width 80)
|
(olivetti-set-width 80)
|
||||||
|
(company-mode -1)
|
||||||
(setq cursor-type 'bar)
|
(setq cursor-type 'bar)
|
||||||
)
|
)
|
||||||
(add-hook 'org-mode-hook 'me/org-mode)
|
(add-hook 'org-mode-hook 'me/org-mode)
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
(setq auto-save-default nil)
|
(setq auto-save-default nil)
|
||||||
(setq make-backup-files nil)
|
(setq make-backup-files nil)
|
||||||
(cond ((find-font (font-spec :name "Jetbrains Mono"))
|
(cond ((find-font (font-spec :name "Jetbrains Mono"))
|
||||||
(set-face-attribute 'default nil :font "Jetbrains Mono" :height 120)))
|
(set-face-attribute 'default nil :font "Jetbrains Mono" :height 120)
|
||||||
|
(add-to-list 'default-frame-alist '(font . "Jetbrains Mono-14"))))
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||||
(scroll-bar-mode -1)
|
(scroll-bar-mode -1)
|
||||||
(tool-bar-mode -1)
|
(tool-bar-mode -1)
|
||||||
|
@ -14,7 +15,7 @@
|
||||||
(pixel-scroll-precision-mode t)
|
(pixel-scroll-precision-mode t)
|
||||||
(setq create-lockfiles nil)
|
(setq create-lockfiles nil)
|
||||||
|
|
||||||
(load-theme 'modus-vivendi)
|
(load-theme 'modus-vivendi-tinted)
|
||||||
|
|
||||||
(setq org-edit-src-content-indentation 0
|
(setq org-edit-src-content-indentation 0
|
||||||
org-src-tab-acts-natively t
|
org-src-tab-acts-natively t
|
||||||
|
@ -66,7 +67,15 @@
|
||||||
:bind (:map projectile-mode-map
|
:bind (:map projectile-mode-map
|
||||||
("s-p" . projectile-command-map)
|
("s-p" . projectile-command-map)
|
||||||
("C-c p" . projectile-command-map)))
|
("C-c p" . projectile-command-map)))
|
||||||
|
(use-package perspective
|
||||||
|
:straight t
|
||||||
|
:bind ("C-x C-b")
|
||||||
|
:custom (persp-mode-prefix-key (kbd "C-c C-p"))
|
||||||
|
:init (persp-mode)
|
||||||
|
:config
|
||||||
|
(setq persp-state-default-file "~/.emacs.d/.persp.el")
|
||||||
|
(add-hook 'kill-emacs-hook #'persp-state-save)
|
||||||
|
(add-hook 'emacs-startup-hook #'persp-state-load))
|
||||||
(use-package magit :straight t)
|
(use-package magit :straight t)
|
||||||
(use-package hide-mode-line :straight t)
|
(use-package hide-mode-line :straight t)
|
||||||
(add-hook 'org-mode-hook #'hide-mode-line-mode)
|
(add-hook 'org-mode-hook #'hide-mode-line-mode)
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
(display-buffer buff
|
(display-buffer buff
|
||||||
'(display-buffer-in-side-window . ((side . right))))
|
'(display-buffer-in-side-window . ((side . right))))
|
||||||
(with-current-buffer buff
|
(with-current-buffer buff
|
||||||
(insert (format "%s" (render-kustomize path)))
|
(erase-buffer)
|
||||||
|
(insert (render-kustomize path))
|
||||||
(if (fboundp 'k8s-mode) (k8s-mode) (yaml-mode)))))
|
(if (fboundp 'k8s-mode) (k8s-mode) (yaml-mode)))))
|
||||||
|
|
||||||
(global-set-key (kbd "C-c k") 'kustomize)
|
(global-set-key (kbd "C-c k") 'kustomize)
|
||||||
|
|
Loading…
Reference in a new issue