summaryrefslogtreecommitdiffstats
path: root/init.org (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [emacs] use-package projectileAmin Bandali2018-08-231-0/+21
|
* [emacs] use the standard C-c as my prefix, instead of M-mAmin Bandali2018-08-231-44/+27
| | | | at least for now
* [emacs] remove evil; back to using vanilla emacsAmin Bandali2018-08-231-201/+95
|
* [emacs] work around org source block indentation issue with evilAmin Bandali2018-08-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | happens due to (setq org-src-tab-acts-natively t) another less-elegant workaround is to unbind TAB: (define-key evil-motion-state-map (kbd "TAB") nil) --- excerpt of conversation with wasamasa on #evil-mode about the issue: │12:15:00 aminb | wasamasa: mannaged to pinpoint the cause: │12:15:05 aminb | i had (setq org-src-tab-acts-natively t) in my config │12:15:22 wasamasa | what does that do? │12:15:23 aminb | which, for some reason, messes with indentation, and it only happens when evil is enabled │12:15:26 aminb | give it a shot │12:15:43 aminb | Documentation: │12:15:43 aminb | If non-nil, the effect of TAB in a code block is as if it were │12:15:43 aminb | issued in the language major mode buffer. │12:15:57 wasamasa | sounds magic │12:16:11 aminb | i can't notice any difference, at least not with emacs-lisp blocks │12:16:23 aminb | except that it fucks with evil somehow │12:19:12 wasamasa | ah, now I get fun behavior │12:19:19 wasamasa | unless I unbind C-i :P │12:20:56 aminb | wasamasa: :p so if you unbind C-i, indentation works fine even with that var set? │12:21:28 wasamasa | I suspect that's why it works normally in my customized session, as opposed to the minimal one (where the block is indented with two spaces for each line) │12:21:57 aminb | hmm │12:22:11 wasamasa | ok, it's a bit more complicated │12:22:35 wasamasa | org looks up the command for the pressed key (evil-jump-forward), executes that in the buffer, then does reformatting │12:22:56 wasamasa | evil-jump-forward does no indentation, but the reformatting adds indentation unless you customized that │12:23:10 wasamasa | which I did │12:23:16 aminb | ha │12:23:20 aminb | is there anyway to 'fix' this? │12:23:22 wasamasa | I also unbound TAB and bound C-i separately from that │12:23:24 wasamasa | well, not really │12:23:49 aminb | hm okay │12:23:49 wasamasa | org tries to do the smart thing, but didn't anticipate there's evil where keybindings resolve to something different depending on the state │12:24:14 aminb | right │12:26:02 wasamasa | try (define-key evil-motion-state-map (kbd "TAB") nil) │12:26:29 wasamasa | but as noted, that will kill C-i │12:27:47 aminb | wasamasa: yup, that seems to do it │12:27:50 wasamasa | looking at the source of org-babel-do-in-edit-buffer you could do some hack so that the edit buffer comes up in insert state │12:28:04 wasamasa | then TAB would be looked up correctly │12:29:10 aminb | i see │12:42:41 wasamasa | well indeed, try (add-hook 'org-src-mode-hook 'evil-insert-state) (excerpt included with permission)
* [emacs][wip] adapt to evil-collection-notmuch bindings etcAmin Bandali2018-08-231-33/+24
|
* [emacs] further evil-related enhancementsAmin Bandali2018-08-221-18/+29
|
* [emacs] switch back to evilAmin Bandali2018-08-221-96/+145
|
* [emacs] change my conventions prefix from ab to aminAmin Bandali2018-08-221-26/+25
|
* [emacs] remove Org html export related stuffAmin Bandali2018-08-221-9/+1
| | | | might want to bring some back later again
* [emacs/notmuch] bind "e" in notmuch-hello-mode-mapAmin Bandali2018-08-181-5/+9
|
* [emacs] disable time and battery on modelineAmin Bandali2018-08-171-1/+3
|
* [emacs,rc] update my gnu addressAmin Bandali2018-08-171-0/+1
|
* [emacs,rc] add my new gnu addressAmin Bandali2018-08-041-1/+2
| | | | also remove my long uw address, at least for now
* [emacs] remove key-seq and only use key-chord, decrease delayAmin Bandali2018-07-231-6/+3
| | | | | the delay on j was annoying, even if only 0.075s. switch to key-chord so order won't matter, and bring delay down to 0.005s.
* [emacs] add "jk" key sequence using key-seq (uses key-chord) for ryoAmin Bandali2018-07-231-0/+15
|
* [emacs] add more ryo bindings, including some for borg actionsAmin Bandali2018-07-231-0/+10
|
* [emacs] adjust my preferred undo mechanismAmin Bandali2018-07-221-3/+5
| | | | | | have undo tree save history, and leave emacs' undo intact, for cases when undo tree's history gets corrupt at least i'd have functioning undo for the changes i made in the current session
* [emacs] add more bindings, from the awesome crux and mwimAmin Bandali2018-07-221-5/+31
|
* [emacs] enable auto-revert and always use 4 spaces for indentationAmin Bandali2018-07-221-0/+19
|
* [emacs] more bindingsAmin Bandali2018-07-221-5/+14
|
* [emacs] add more ryo-modal bindingsAmin Bandali2018-07-221-24/+34
|
* [emacs] ditch evil in favour of ryo-modalAmin Bandali2018-07-221-126/+105
| | | | | also, rebind sway resize from s-r to s-S-r so that it won't clash with my counsel-recentf binding
* [emacs] set name, email address, and message fqdnAmin Bandali2018-07-191-1/+8
|
* [{emacs,rc}/notmuch] add `latest' tag for newest batch of emailsAmin Bandali2018-07-191-0/+4
| | | | and bind l on notmuch-hello for tag:latest
* [emacs] add scaffolding for ox-hugoAmin Bandali2018-07-171-0/+8
|
* [emacs/notmuch] set notmuch-message-headers and add link to bugAmin Bandali2018-07-161-0/+4
| | | | | https://notmuchmail.org/pipermail/notmuch/2018/026781.html https://www.mail-archive.com/notmuch@notmuchmail.org/msg46658.html
* [emacs] assimilate org (from source)Amin Bandali2018-07-161-0/+2
| | | | and bring in org-notmuch from contrib/
* [emacs] add and switch to eink themeAmin Bandali2018-07-151-1/+7
|
* [emacs/notmuch] don't insert the two blank lines in the beginningAmin Bandali2018-07-141-6/+6
|
* [emacs/supercite] add jwiegley's supercite config as a referenceAmin Bandali2018-07-141-0/+51
| | | | from https://github.com/jwiegley/dot-emacs/blob/f3dd82ba7fdcd8f63603e7e7a9acb078f70de8fe/dot-gnus.el#L477
* [emacs/org] modern html5 exportAmin Bandali2018-07-141-1/+5
|
* [emacs/notmuch] display more characters of authorsAmin Bandali2018-07-071-1/+7
|
* [emacs] add some header linksAmin Bandali2018-07-071-6/+6
|
* [emacs] remove vestigial EXWM configurationAmin Bandali2018-07-071-226/+0
|
* [emacs] assimilate doom-modeline and tao-theme (and their deps)Amin Bandali2018-07-061-0/+18
|
* [emacs] assimilate Proof General (for Coq)Amin Bandali2018-07-061-0/+7
|
* [emacs/alloy-mode] use indentation offset of 2 (instead of 3)Amin Bandali2018-07-061-1/+2
|
* [emacs] add alloy-modeAmin Bandali2018-07-041-0/+6
|
* [emacs] some convenience bindingsAmin Bandali2018-06-271-1/+2
|
* [emacs] org: export html5, add htmlize for syntax highlightingAmin Bandali2018-06-271-1/+4
|
* [emacs] add evil{,-escape} and general and some keybindingsAmin Bandali2018-06-241-1/+74
|
* [emacs] change message fqdn, remove webmasters tag as well when spamAmin Bandali2018-06-191-3/+3
|
* [emacs] don't enable multiple themes at the same timeAmin Bandali2018-05-131-0/+8
|
* [emacs] properly build and use notmuch along with my settingsAmin Bandali2018-05-131-0/+184
|
* [emacs] enable company-mode globallyAmin Bandali2018-05-071-0/+19
|
* [emacs] assimilate and enable dante and its dependency, lcrAmin Bandali2018-05-071-0/+9
|
* [emacs] assimilate and enable which-keyAmin Bandali2018-05-061-0/+13
|
* [emacs] assimilate flycheck-haskellAmin Bandali2018-05-051-1/+153
| | | | | | | Only use 'haskell-hlint checker and disable the other two. Also, add a copy of hs-lint.el, but leave it disabled (I tried it before deciding to use flycheck-haskell).
* [emacs] add flycheck's missing deps (pkg-info & epl) & configure itAmin Bandali2018-05-051-0/+11
|
* [emacs] assimilate hlint-refactorAmin Bandali2018-05-051-1/+17
|