summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2023-04-02 22:22:42 +0200
committeryuzu-eva <stevenhu@web.de>2023-04-02 22:22:42 +0200
commitf4c8e7e4196ce584a94ed91ffc19b5d27c0a23e8 (patch)
tree55b213617cd9929ed4141408a4e9252f49620351
parent10e1bb7dba8509c37dc3afe2e3f20451dc0ba4a9 (diff)
change: "C-c C-c" comment single line or selected region
-rw-r--r--.gitignore7
-rw-r--r--config.org15
2 files changed, 13 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index 73fdc6a..25867ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/config.org b/config.org
index 58acc16..548615e 100644
--- a/config.org
+++ b/config.org
@@ -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