From e3694f17f2d0d3179cd884de7777f37d45037f2c Mon Sep 17 00:00:00 2001 From: YYY Date: Thu, 10 Dec 2020 19:24:32 -0600 Subject: [PATCH] fix for xmodmap and two emacs init tweaks prevent shift+ctrl -> capslock add binding for helm google suggest add folding to elpy module list --- .Xmodmap | 2 +- config.org | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.Xmodmap b/.Xmodmap index 1246da3..d9f91ad 100644 --- a/.Xmodmap +++ b/.Xmodmap @@ -249,5 +249,5 @@ keycode 255 = XF86RFKill NoSymbol XF86RFKill clear lock clear control add control = Caps_Lock Control_L Control_R -keycode 66 = Control_L Caps_Lock NoSymbol NoSymbol +keycode 66 = Control_L NoSymbol NoSymbol NoSymbol keycode 105 = Caps_Lock NoSymbol Caps_Lock diff --git a/config.org b/config.org index 979f9ce..3cc7c1e 100644 --- a/config.org +++ b/config.org @@ -503,8 +503,8 @@ also enable eldoc ("C-c h m" . helm-man-woman) ("C-c h I" . helm-imenu-in-all-buffers) ("C-c h l" . helm-locate) - ("C-c h " . helm-all-mark-rings) - ) + ("C-c h g" . helm-google-suggest) + ("C-c h " . helm-all-mark-rings)) :config (setq helm-command-prefix-key "C-c h") (setq helm-autoresize-min-height 25) @@ -804,7 +804,8 @@ To use a venv set a pyvenv-activate directory local or file local variable to th elpy-module-eldoc elpy-module-highlight-indentation elpy-module-pyvenv - elpy-module-yasnippet)) + elpy-module-yasnippet + elpy-module-folding)) (eval-after-load "elpy" '(cl-dolist (key '("C-" "C-" "C-" "C-" "C-")) (define-key elpy-mode-map (kbd key) nil)))