:ensure t
:custom
(word-wrap t)
- (visual-fill-column-enable-sensible-window-split t)
- :config
- (global-visual-line-mode t))
+ (visual-fill-column-enable-sensible-window-split t))
+
+(add-hook 'visual-line-mode-hook 'visual-fill-column-mode)
#+END_SRC
Also make a defun/binding to toggle it as needed.
:PROPERTIES:
:ID: 32d9a1c6-7890-4d05-b241-5dcb83e9b848
:END:
-I don't want emacs to beep or blink at me, I want y/n instead of the default yes/no, I don't care for clicking on things in the minibuffer, I like seeing my commands echoed almost immediately, I want history to only show me unique commands, and I want case-insensitive buffer switching.
+I don't want emacs to beep or blink at me, I want y/n instead of the default yes/no, I don't care for clicking on things in the minibuffer, I like seeing things echoed almost immediately, for keystrokes and eldoc. I want eldoc to stick to one line. I want history to only show me unique commands, and I want case-insensitive buffer switching.
#+BEGIN_SRC emacs-lisp
(setq ring-bell-function 'ignore
use-short-answers t
use-file-dialog nil
echo-keystrokes 0.1
+ eldoc-idle-delay 0
+ eldoc-echo-area-use-multiline-p nil
read-buffer-completion-ignore-case t
history-delete-duplicates t)
#+END_SRC
:PROPERTIES:
:ID: 225b0716-b552-4166-b71f-0b54256a08a8
:END:
+**** Prettify Symbols
+:PROPERTIES:
+:ID: f221ed0a-d6ec-4182-a80c-76d6bf186d0f
+:END:
I want nice symbols to look at
#+BEGIN_SRC emacs-lisp
(setq prettify-symbols-alist '(("lambda" . 955)
(global-prettify-symbols-mode t)
#+END_SRC
+**** Visual Line Mode indicators
+:PROPERTIES:
+:ID: 16667fd4-a437-4bc1-9d84-3f5cd622ece6
+:END:
+Show arrows when a line wraps
+#+BEGIN_SRC emacs-lisp
+(setq visual-line-fringe-indicators '(left-curly-arrow right-curly-arrow))
+#+END_SRC
+
*** Parens
:PROPERTIES:
:ID: de1b05fb-6127-485d-a4f2-2d2476e0fc4c
(keymap-global-set "C-S-S" 'isearch-forward-regexp)
(keymap-global-set "C-S-R" 'isearch-backward-regexp)
#+END_SRC
+
+**** Insert Key
+:PROPERTIES:
+:ID: cf443c0b-3799-4fe7-817f-a35f614fe336
+:END:
+I keep accidentally enabling ~overwrite-mode~, so disable the ~insert~ key
+#+BEGIN_SRC emacs-lisp
+(keymap-global-set "<insert>" nil)
+#+END_SRC
+
*** Elisp/Eval bindings
:PROPERTIES:
:ID: 05c8bf80-e35f-49bc-97b0-b6caccb63ab6
:PROPERTIES:
:ID: d7161d70-f42c-43da-b454-974604d2b005
:END:
-Don't split my line, just make a new one, follow links with return, export tables as csvs, and use an absolute path for other links (while shortening home to ~).
+Don't split my line, just make a new one, follow links with return, export tables as csvs, set the default export backends, and use an absolute path for other links (while shortening home to ~).
#+BEGIN_SRC emacs-lisp
(setq org-M-RET-may-split-line nil
org-return-follows-link t
org-table-export-default-format "orgtbl-to-csv"
+ org-export-backends '(ascii html latex md)
org-link-file-path-type 'absolute)
#+END_SRC
:PROPERTIES:
:ID: e7426184-8474-45d8-b0c4-a4a2ed99101d
:END:
-Don't open links in another window, just use the current one. This variable is otherwise as default.
+Don't open links in another window, just use the current one.
#+BEGIN_SRC emacs-lisp
-(setq org-link-frame-setup '((vm . vm-visit-folder-other-frame)
- (vm-imap . vm-visit-imap-folder-other-frame)
- (gnus . org-gnus-no-new-news)
- (file . find-file)
- (wl . wl-other-frame)))
+(setq org-link-frame-setup '((file . find-file)))
#+END_SRC
*** Directories
:PROPERTIES:
(defun ielm-send-on-close-paren ()
"Makes ielm act somewhat like genera.
Makes a closing paren execute the sexp."
+ (interactive)
(send-on-close-paren 'ielm-send-input))
#+END_SRC
*** Persistent command history