diff options
| author | yuzu-eva <stevenhu@web.de> | 2023-04-03 00:23:51 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2023-04-03 00:23:51 +0200 |
| commit | 569d3d856eb98631e7f49b8e17e612ab9f70af49 (patch) | |
| tree | 2974fa634bff0696d6ec7b1136d7a98275485232 /config.org | |
| parent | 15ac9c96641327eff3389e79997d7446385d4713 (diff) | |
change: removed custom keybindings in favor of evil-commentary
Diffstat (limited to 'config.org')
| -rw-r--r-- | config.org | 43 |
1 files changed, 30 insertions, 13 deletions
@@ -1,3 +1,18 @@ +#+STARTUP: overview +#+TITLE: yuzu-emacs +#+LANGUAGE: en +#+OPTIONS: num:nil + +[[./yuzu-emacs.png]] + +* Introduction + +yuzu-emacs is my personal configuration for emacs. +It is a (currently) very basic configuration, which is heavily inspired by +Witchmacs, the main difference is that this configuration is leaning a bit more +towards vim-keybindings. +My goal is to make this into a fully functional IDE for RoR, Python and C. + * Terminal ** Setting default shell to zsh @@ -407,8 +422,8 @@ Better way to switch windows ** Initialize =evil= -VIM keybindings in emacs text editing. I don't like emacs' default editor -keybinds. This emacs config uses VIM keybinds only for text editing. Everthing +vim keybindings in emacs text editing. I don't like emacs' default editor +keybinds. This emacs config uses vim keybinds only for text editing. Everthing else still uses emacs bindings #+begin_src emacs-lisp @@ -440,7 +455,7 @@ Evil extension for org-mode ** Initialize =evil-surround= -evil-surround is a minor mode that emulates vim-surround by Tim Pope. +Minor mode that emulates vim-surround by Tim Pope #+begin_src emacs-lisp (use-package evil-surround @@ -449,6 +464,18 @@ evil-surround is a minor mode that emulates vim-surround by Tim Pope. (global-evil-surround-mode 1)) #+end_src +** Initialize =evil-commentary= + +Minor mode that emulates vim-commentary by Tim Pope + +#+begin_src emacs-lisp + (use-package evil-commentary + :ensure t + :diminish evil-commentary-mode + :init + (evil-commentary-mode)) +#+end_src + ** Initialize =sudo-edit= Allow for editing files as sudo @@ -508,13 +535,3 @@ 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 - -** Comment or uncomment selected region - -#+begin_src emacs-lisp - (global-set-key (kbd "C-c C-c") 'comment-line) -#+end_src |
