diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/init.el b/init.el index 4f71122..ccb35ca 100644 --- a/init.el +++ b/init.el | |||
@@ -328,6 +328,10 @@ | |||
328 | erc-track-mode | 328 | erc-track-mode |
329 | erc-truncate-mode) | 329 | erc-truncate-mode) |
330 | 330 | ||
331 | ;; disable ERC tracking when working ... BE PRODUCTIVE! | ||
332 | (add-hook 'org-clock-in-hook #'erc-track-disable) | ||
333 | (add-hook 'org-clock-out-hook #'erc-track-enable) | ||
334 | |||
331 | (:bind "C-c C-b" acdw-erc/erc-switch-to-buffer | 335 | (:bind "C-c C-b" acdw-erc/erc-switch-to-buffer |
332 | "C-c C-c" nil ; def: `erc-toggle-interpret-controls' | 336 | "C-c C-c" nil ; def: `erc-toggle-interpret-controls' |
333 | ) | 337 | ) |
@@ -1268,7 +1272,8 @@ successive invocations." | |||
1268 | (er/expand-region 1)) | 1272 | (er/expand-region 1)) |
1269 | (t (set-mark-command arg)))) | 1273 | (t (set-mark-command arg)))) |
1270 | 1274 | ||
1271 | (:global "C-SPC" acdw/set-mark-or-expand-region)) | 1275 | (:global "C-=" er/expand-region |
1276 | "C-SPC" acdw/set-mark-or-expand-region)) | ||
1272 | 1277 | ||
1273 | (setup (:straight fennel-mode) | 1278 | (setup (:straight fennel-mode) |
1274 | (:needs "fennel") | 1279 | (:needs "fennel") |