It's too active and autocompletes normal text (don't!). Also it completes on RET, which is annoying when I finish a sentence with RET and company "completes" it to a longer word
- Line wrapping
Is there a way to wrap lines and keep the indent?
* Update config in a running config
Two options:
@ -136,14 +134,28 @@ Various stuff
#+begin_src emacs-lisp
(show-paren-mode t)
(column-number-mode t)
(global-visual-line-mode)
(diminish 'visual-line-mode)
(setq uniquify-buffer-name-style 'forward)
#+end_src
* Prettier Line Wraps
By default there is no line wrapping. M-q actually modifies the buffer, which might not be wanted.
So: enable visual wrapping and keep indentation if there are any.
#+begin_src emacs-lisp
(global-visual-line-mode)
(diminish 'visual-line-mode)
(use-package adaptive-wrap
:ensure t
:init
(when (fboundp 'adaptive-wrap-prefix-mode)
(defun my-activate-adaptive-wrap-prefix-mode ()
"Toggle `visual-line-mode' and `adaptive-wrap-prefix-mode' simultaneously."