This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-03
Channels
- # bangalore-clj (1)
- # beginners (16)
- # boot (23)
- # chestnut (5)
- # cljs-dev (3)
- # cljsjs (3)
- # clojure (115)
- # clojure-conj (3)
- # clojure-italy (17)
- # clojure-russia (22)
- # clojurescript (20)
- # core-async (11)
- # events (3)
- # fulcro (91)
- # funcool (5)
- # heroku (7)
- # hoplon (5)
- # leiningen (3)
- # off-topic (2)
- # om (1)
- # onyx (9)
- # parinfer (1)
- # protorepl (2)
- # re-frame (3)
- # slack-help (2)
- # spacemacs (5)
- # unrepl (1)
Does anyone know how to get org-mode to automatically wrap lines at the word once they reach 80 characters in length?
@U1C03090C - Do you mean wrapping in the sense of g q q
, where it inserts line breaks into your file, or in the sense of visually wrapping the text around without changing the file, as @U0G75ARHC's SPC t l
command does?
The former doesn't always work for me in org-mode (though it does sometimes). I'm not sure why. I suspect either there's a bug/missing feature somewhere in the org/evil combination, or else there's some org-mode convention or format that would be violated by wrapping that way. I haven't taken the time to look into it, but if you figure it out I'd be interested to know it!
@U1C03090C the command SPC t l
toggles truncate-lines
in a buffer, the same as wrap lines in other editors. truncate-lines
will wrap at what ever size the buffer window is.
I think this is off by default, as org-table can look weird in org-mode with truncate lines on. There may be some other minor conflicts
If truncate-line
is what you want and wish to have it on by default, you can add the following to .spacemacs
in the dotspacemacs/user-config
section:
(add-hook 'org-mode-hook (lambda () (setq truncate-lines t)))