No window on $EDITOR and some other stuff

This commit is contained in:
Anthony Cicchetti 2021-01-11 15:32:03 -05:00
parent 1703a2bde7
commit 33d2b7bc9f
2 changed files with 27 additions and 34 deletions

View file

@ -33,17 +33,20 @@
'(display-line-numbers-type 'visual) '(display-line-numbers-type 'visual)
'(display-line-numbers-width-start t) '(display-line-numbers-width-start t)
'(evil-cross-lines t) '(evil-cross-lines t)
'(global-whitespace-mode t)
'(package-archives '(package-archives
'(("gnu" . "https://elpa.gnu.org/packages/") '(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/") ("melpa" . "https://melpa.org/packages/")
("org" . "https://orgmode.org/elpa/"))) ("org" . "https://orgmode.org/elpa/")))
'(package-selected-packages '(package-selected-packages
'(avy editorconfig org-crypt tree-sitter-langs tree-sitter centaur-tabs dashboard page-break-lines clipetty wakatime-mode super-save ox-pandoc evil-surround evil-collection undo-tree toc-org evil-org org-plus-contrib evil-goggles evil-expat evil-commentary auto-package-update lispy smartparens which-key git-gutter rainbow-delimiters auto-complete-distel auto-complete evil magit evil-magit)) '(flycheck origami groovy-mode avy editorconfig org-crypt tree-sitter-langs tree-sitter centaur-tabs dashboard page-break-lines wakatime-mode super-save ox-pandoc evil-surround evil-collection undo-tree toc-org evil-org org-plus-contrib evil-goggles evil-expat evil-commentary auto-package-update lispy smartparens which-key git-gutter rainbow-delimiters auto-complete-distel auto-complete evil magit evil-magit))
'(ring-bell-function 'ignore) '(ring-bell-function 'ignore)
'(undo-tree-auto-save-history t) '(undo-tree-auto-save-history t)
'(undo-tree-history-directory-alist '(("." . "~/.undohist-emacs"))) '(undo-tree-history-directory-alist '(("." . "~/.undohist-emacs")))
'(undo-tree-visualizer-diff t) '(undo-tree-visualizer-diff t)
'(undo-tree-visualizer-timestamps t)) '(undo-tree-visualizer-timestamps t)
'(whitespace-style
'(face tabs spaces newline space-mark tab-mark newline-mark)))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
@ -57,7 +60,8 @@
'(evil-goggles-undo-redo-change-face ((t (:inherit diff-changed)))) '(evil-goggles-undo-redo-change-face ((t (:inherit diff-changed))))
'(evil-goggles-undo-redo-remove-face ((t (:inherit diff-removed)))) '(evil-goggles-undo-redo-remove-face ((t (:inherit diff-removed))))
'(evil-goggles-yank-face ((t (:inherit diff-changed)))) '(evil-goggles-yank-face ((t (:inherit diff-changed))))
'(italic ((t (:slant italic :family "Dank Mono"))))) '(italic ((t (:slant italic :family "Dank Mono"))))
'(whitespace-tab ((t (:inherit default :foreground "#65737d")))))
;; auto-package-update ;; auto-package-update
(use-package auto-package-update (use-package auto-package-update
@ -179,13 +183,16 @@
(editorconfig-mode 1)) (editorconfig-mode 1))
;; Wakatime ;; Wakatime
(use-package wakatime-mode ;; (use-package wakatime-mode
:hook (after-init . global-wakatime-mode)) ;; :hook (after-init . global-wakatime-mode))
;; ;; Clipetty (clipboard stuff) ;; Groovy-mode
;; (use-package clipetty (use-package groovy-mode
;; :ensure t )
;; :hook (after-init . global-clipetty-mode))
;; Origamimode
(use-package origami
:config (global-origami-mode t))
;; Page-break-lines ;; Page-break-lines
(use-package page-break-lines (use-package page-break-lines
@ -250,33 +257,19 @@
(use-package ox-pandoc (use-package ox-pandoc
:after (org)) :after (org))
;; Don't use system clipboard by default (use-package flycheck
(setq-default :init (global-flycheck-mode))
interprogram-cut-function nil
interprogram-paste-function nil
x-select-enable-clipboard nil)
(setq cider-font-lock-dynamically '(macro core function var)) (setq cider-font-lock-dynamically '(macro core function var))
;; These don't work yet? ;; These don't work yet?
;; (define-key evil-insert-state-map (kbd "C-\\") 'cider-eval-defun-up-to-point) ;; (define-key evil-insert-state-map (kbd "C-\\") 'cider-eval-defun-up-to-point)
;; (define-key evil-normal-state-map (kbd "C-\\") 'cider-eval-defun-up-to-point) ;; (define-key evil-normal-state-map (kbd "C-\\") 'cider-eval-defun-up-to-point)
;; Extra things (progn
; (global-whitespace-mode 1) (setq whitespace-style (quote (face spaces tabs newline space-mark tab-mark newline-mark )))
; (progn (setq whitespace-display-mappings
;; Make whitespace-mode with very basic background coloring for whitespaces. (quote (
;; http://ergoemacs.org/emacs/whitespace-mode.html (space-mark 32 [8227] [183] [46])
; (setq whitespace-style (quote (face spaces tabs newline space-mark tab-mark newline-mark ))) (newline-mark 10 [172 10] [182 10])
(tab-mark 9 [8594 32 32 32] [8614])))))
;; Make whitespace-mode and whitespace-newline-mode use “¶” for end of line char and “▷” for tab.
; (setq whitespace-display-mappings
;; all numbers are unicode codepoint in decimal. e.g. (insert-char 182 1)
; (quote (
; (space-mark 32 [183] [46]) ; SPACE 32 「 」, 183 MIDDLE DOT 「·」, 46 FULL STOP 「.」
; (newline-mark 10 [182 10]) ; LINE FEED,
; (tab-mark 9 [8614]) ; tab
; )
; )
; )
; )

View file

@ -36,8 +36,8 @@ zle -N down-line-or-beginning-search
export COMPLETION_WAITING_DOTS="true" export COMPLETION_WAITING_DOTS="true"
export VISUAL='emacsclient -c' export VISUAL='emacsclient -cn'
export EDITOR='emacsclient -c' export EDITOR='emacsclient -cn'
path=("$HOME/bin" "$HOME/go/bin" $path) path=("$HOME/bin" "$HOME/go/bin" $path)
zstyle ':znap:*' auto-compile no zstyle ':znap:*' auto-compile no