summaryrefslogtreecommitdiff
path: root/config.org
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2023-04-02 21:09:15 +0200
committeryuzu-eva <stevenhu@web.de>2023-04-02 21:09:15 +0200
commit10e1bb7dba8509c37dc3afe2e3f20451dc0ba4a9 (patch)
treef0dbd316f0ab1accfe6ed0d6b347a3f6f60dea9b /config.org
parentb1da7e8a41dafd0290a0285ddb6de24e9865c98c (diff)
feat: evil-visual-mode "gc" comment or uncomment selected region
Diffstat (limited to 'config.org')
-rw-r--r--config.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/config.org b/config.org
index 5405756..58acc16 100644
--- a/config.org
+++ b/config.org
@@ -472,6 +472,7 @@ Replaces the default "M-y" kill ring with a popup menu for easy selection
("M-y" . popup-kill-ring))
#+end_src
* Programming section
+
** Initialize =company=
Company is an autocompletion frontend
@@ -482,3 +483,17 @@ Company is an autocompletion frontend
:init
(add-hook 'after-init-hook 'global-company-mode))
#+end_src
+
+* Custom keybinds
+
+Some custom keybinds to make life easier
+
+** Evil keybinds
+
+Keybinds for evil-mode
+
+*** Comment or uncomment selected region
+
+#+begin_src emacs-lisp
+ (evil-define-key 'visual 'global "gc" 'comment-or-uncomment-region)
+#+end_src