diff options
| author | yuzu-eva <stevenhu@web.de> | 2023-04-02 22:22:42 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2023-04-02 22:22:42 +0200 |
| commit | f4c8e7e4196ce584a94ed91ffc19b5d27c0a23e8 (patch) | |
| tree | 55b213617cd9929ed4141408a4e9252f49620351 | |
| parent | 10e1bb7dba8509c37dc3afe2e3f20451dc0ba4a9 (diff) | |
change: "C-c C-c" comment single line or selected region
| -rw-r--r-- | .gitignore | 7 | ||||
| -rw-r--r-- | config.org | 15 |
2 files changed, 13 insertions, 9 deletions
@@ -7,9 +7,10 @@ smex-items tramp .last-package-update-day -auto-save-list -elpa -transient +auto-save-list/ +elpa/ +transient/ lisp/** +games/ !lisp/rainbow-delimiters.el @@ -416,6 +416,7 @@ else still uses emacs bindings (setq evil-want-C-u-scroll t) :config (evil-mode 1)) + (evil-set-undo-system 'undo-redo) #+end_src ** Initialize =evil-org-mode= @@ -471,6 +472,12 @@ Replaces the default "M-y" kill ring with a popup menu for easy selection :bind ("M-y" . popup-kill-ring)) #+end_src +** Initialize =page-break-lines= +#+begin_src emacs-lisp + (use-package page-break-lines + :ensure t + :diminish page-break-lines-mode) +#+end_src * Programming section ** Initialize =company= @@ -488,12 +495,8 @@ Company is an autocompletion frontend Some custom keybinds to make life easier -** Evil keybinds - -Keybinds for evil-mode - -*** Comment or uncomment selected region +** Comment or uncomment selected region #+begin_src emacs-lisp - (evil-define-key 'visual 'global "gc" 'comment-or-uncomment-region) + (global-set-key (kbd "C-c C-c") 'comment-line) #+end_src |
