From 569d3d856eb98631e7f49b8e17e612ab9f70af49 Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Mon, 3 Apr 2023 00:23:51 +0200 Subject: change: removed custom keybindings in favor of evil-commentary --- config.org | 43 ++++++++++++++++++++++++++++++------------- yuzu-emacs.png | Bin 0 -> 90978 bytes 2 files changed, 30 insertions(+), 13 deletions(-) create mode 100644 yuzu-emacs.png diff --git a/config.org b/config.org index ff4d2a7..1404a22 100644 --- a/config.org +++ b/config.org @@ -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 diff --git a/yuzu-emacs.png b/yuzu-emacs.png new file mode 100644 index 0000000..a174434 Binary files /dev/null and b/yuzu-emacs.png differ -- cgit v1.2.3