Skip to content

Commit

Permalink
fix for xmodmap and two emacs init tweaks
Browse files Browse the repository at this point in the history
prevent shift+ctrl -> capslock
add binding for helm google suggest
add folding to elpy module list
  • Loading branch information
YYY authored and YYY committed Dec 11, 2020
1 parent ca7f3b8 commit e3694f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .Xmodmap
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 4 additions & 3 deletions config.org
Original file line number Diff line number Diff line change
Expand Up @@ -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 <SPC>" . helm-all-mark-rings)
)
("C-c h g" . helm-google-suggest)
("C-c h <SPC>" . helm-all-mark-rings))
:config
(setq helm-command-prefix-key "C-c h")
(setq helm-autoresize-min-height 25)
Expand Down Expand Up @@ -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-<return>" "C-<up>" "C-<down>" "C-<left>" "C-<right>"))
(define-key elpy-mode-map (kbd key) nil)))
Expand Down

0 comments on commit e3694f1

Please sign in to comment.