summaryrefslogtreecommitdiffstats
path: root/lib/mwim (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-08-23[emacs] use the standard C-c as my prefix, instead of M-mAmin Bandali1-44/+27
at least for now
2018-08-23[emacs] remove evil; back to using vanilla emacsAmin Bandali7-216/+95
2018-08-23[emacs] update 12 dronesAmin Bandali12-0/+0
lib/dante master 1.4-66-g8b3e799 lib/doom-modeline master 0.3.0-33-g9d15e92 lib/evil-collection master 5db4a9a lib/flycheck master 31-170-g10248d4b lib/ghub master v2.0.1-30-g48e91c0 lib/helm master v2.9.8-45-gc0449b96 lib/ivy master 0.10.0-387-g02537c9 lib/magit master 2.13.0-170-gce6bbc83 lib/org master release_9.1.14-897-g80d334085 lib/ox-hugo master v0.8-330-g35b7e1a lib/projectile master v1.0.0-22-ga4b447d lib/proof-site master v4.4-196-g95786256
2018-08-23[emacs] work around org source block indentation issue with evilAmin Bandali1-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)
2018-08-23[emacs][wip] adapt to evil-collection-notmuch bindings etcAmin Bandali1-33/+24
2018-08-22[emacs] further evil-related enhancementsAmin Bandali5-18/+38
2018-08-22[emacs] switch back to evilAmin Bandali7-102/+154
2018-08-22[emacs] change my conventions prefix from ab to aminAmin Bandali1-26/+25
2018-08-22[emacs] remove Org html export related stuffAmin Bandali3-12/+1
might want to bring some back later again
2018-08-22[rc/sway] fix rofi-pass bindingAmin Bandali1-1/+1
2018-08-18[emacs/notmuch] bind "e" in notmuch-hello-mode-mapAmin Bandali1-5/+9
2018-08-18[rc/i3status] add pulseaudio volume and adjust battery low_thresholdAmin Bandali1-3/+10
2018-08-17[emacs] disable time and battery on modelineAmin Bandali1-1/+3
2018-08-17[rc/i3status] customizationsAmin Bandali1-14/+25
2018-08-17[rc/{sway,tlp}] add rofi-pass binding, and plasma is now archyAmin Bandali1-2/+5
2018-08-17[rc] switch from i3gs to i3statusAmin Bandali1-4/+60
2018-08-17[rc] fix alphabetical order of Configs sectionsAmin Bandali1-142/+142
2018-08-17[rc] don't tangle some of the scripts I don't use anymoreAmin Bandali1-4/+4
2018-08-17[emacs] update 7 dronesAmin Bandali7-0/+0
lib/dante master 1.4-65-g94c46e8 lib/doom-modeline master 0.3.0-18-g70b1dd3 lib/magit master 2.13.0-168-g716dbaf9 lib/org master release_9.1.13-897-gab1f7712d lib/ox-hugo master v0.8-318-gefbb6ce lib/projectile master v1.0.0-21-g35be8e4 lib/proof-site master v4.4-178-gb7f17b7c
2018-08-17[emacs,rc] update my gnu addressAmin Bandali2-6/+11
2018-08-14[emacs] update 12 dronesAmin Bandali12-0/+0
lib/closql master v0.6.0-3-gedb4413 lib/dante master 1.4-62-g45e5c91 lib/doom-modeline master 0.3.0-15-g1adcc1f lib/ghub master v2.0.1-26-gcf1a217 lib/helm master v2.9.8-40-ge3aadd86 lib/ivy master 0.10.0-381-g71cfa9b lib/magit master 2.13.0-155-gc686f54d lib/no-littering master v0.5.14-7-ga8618ec lib/org master release_9.1.13-896-g18998fd4c lib/ox-hugo master v0.8-316-g5cf5520 lib/projectile master v1.0.0-14-g9c6e981 lib/proof-site master v4.4-176-g52d1f920
2018-08-10[rc/msmtp] update expected tls_fingerprint for nixAmin Bandali1-1/+2
updated the cert today
2018-08-07[rc/zim] update zssh_idsAmin Bandali1-1/+1
2018-08-05[emacs] update 10 dronesAmin Bandali10-0/+0
lib/borg master v2.0.0-66-g6270c61 lib/company master 0.9.6-50-g1c76850 lib/doom-modeline master 0.2.0-12-g4729437 lib/exec-path-from-shell master 1.11-24-gd8aa776 lib/flycheck master 31-163-gf6f09194 lib/helm master v2.9.8-34-g5f747694 lib/ivy master 0.10.0-316-g214664a lib/magit master 2.13.0-136-ga9c3242e lib/markdown-mode master v2.3-193-g74c0a06 lib/ox-hugo master v0.8-292-g94c57eb
2018-08-05[rc/zim] use new ssh keyAmin Bandali1-1/+1
2018-08-05[rc] use l/ instead of lists/ for nm tags. use gnu address for sr.htAmin Bandali1-22/+36
- use a shorter l/ prefix for tagging mailing list emails - use my gnu address for lists.sr.ht - sieve rules for sr.ht lists (thanks iank for help with the regex)
2018-08-04[rc] add nmam and nmam3 aliases for extracting patches from notmuchAmin Bandali1-0/+3
kudos and thanks to @bremner
2018-08-04[emacs,rc] add my new gnu addressAmin Bandali2-10/+11
also remove my long uw address, at least for now
2018-07-28[emacs] update 16 dronesAmin Bandali16-0/+0
lib/closql master v0.6.0-2-g3289511 lib/company master 0.9.6-41-g9e8bd0b lib/dash master 2.14.1-10-g453c775 lib/flycheck master 31-159-g740d6670 lib/general master 6b8f7bc lib/ghub master v2.0.1-19-gd83ebae lib/git-modes master 1.2.7-2-g5546831 lib/helm master v2.9.8-22-gd5520ebf lib/ivy master 0.10.0-305-g951560e lib/magit master 2.13.0-106-g6d72f0ee lib/magit-popup master v2.12.4 lib/no-littering master v0.5.14-6-g039b16b lib/org master release_9.1.13-894-gf79545f96 lib/ox-hugo master v0.8-286-g081a4a9 lib/projectile master v1.0.0-11-gd2b808b lib/with-editor master v2.7.4
2018-07-25[rc/sway] add back second argument of floating_modifierAmin Bandali1-1/+4
implemented in https://github.com/swaywm/sway/pull/2352
2018-07-25[rc/i3gs] better spacingAmin Bandali1-2/+2
2018-07-24[rc] add volume-info script for displaying volume in barAmin Bandali1-0/+20
2018-07-24[rc/battery-percentage-time] drastically improve the scriptAmin Bandali1-29/+18
thanks to @sircmpwn: https://cmpwn.com/@sir/100431155990909270
2018-07-24[rc] disable some i3gs blocks & change battery time/perct. formatAmin Bandali1-15/+43
2018-07-23[emacs] remove key-seq and only use key-chord, decrease delayAmin Bandali3-9/+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.
2018-07-23[emacs] add "jk" key sequence using key-seq (uses key-chord) for ryoAmin Bandali4-0/+21
2018-07-23[emacs] add more ryo bindings, including some for borg actionsAmin Bandali1-0/+10
2018-07-22[rc/sway] launch dunst on start, and swap bspwm & original bindingsAmin Bandali1-10/+11
depends: dunst
2018-07-22[rc/sway] uncomment floating_modifierAmin Bandali1-4/+1
landed as of https://github.com/swaywm/sway/pull/2296 though, there seems to have been a change of syntax, and the second argument (normal or inverse) was not implemented (perhaps not yet).
2018-07-22[emacs] adjust my preferred undo mechanismAmin Bandali1-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
2018-07-22[rc/sway] add volume key bindingsAmin Bandali1-0/+5
depends: pactl (from pulseaudio) pamixer
2018-07-22[emacs] add more bindings, from the awesome crux and mwimAmin Bandali4-5/+37
2018-07-22[emacs] enable auto-revert and always use 4 spaces for indentationAmin Bandali1-0/+19
2018-07-22[rc] omit leading 0 from hour, display battery percentage and timeAmin Bandali1-1/+13
depends: upower awk
2018-07-22[emacs] more bindingsAmin Bandali1-5/+14
2018-07-22[emacs] add more ryo-modal bindingsAmin Bandali1-24/+34
2018-07-22[emacs] ditch evil in favour of ryo-modalAmin Bandali6-133/+109
also, rebind sway resize from s-r to s-S-r so that it won't clash with my counsel-recentf binding
2018-07-22[rc] add i3gs for sway's status_commandAmin Bandali1-1/+47
depends: i3gs
2018-07-22[rc/sway] more input customizationsAmin Bandali1-1/+3
also, use sway-input's xkb_layout and xkb_options instead of env vars
2018-07-21[rc/sway] add original ws switch / window move keys on Mod1 (alt)Amin Bandali1-3/+10