evil
emacs-which-key
Our great sponsors
evil | emacs-which-key | |
---|---|---|
105 | 37 | |
3,210 | 1,673 | |
2.0% | - | |
8.0 | 7.8 | |
26 days ago | 17 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
evil
-
From Doom to Vanilla Emacs
evil mode
-
Packages that you would like to be in emacs core ?
Since we already have vyper-mode, why not add Evil to the stack?
-
Ask HN: Does anyone Lisp without Emacs?
2 stripe blue belt here! I used to use Vim for everything other than Java development and have now adopted Emacs in the same way. I am using it for Clojure and Common Lisp development along with org mode, irc, rss, git and file management
I started with Evil mode and then moved to Xah fly keys before sticking to the emacs bindings. Having the caps lock key bound to CTRL helped me a lot. I don't know if it makes that much of a difference for Emacs but using the DVORAK layout has helped my fingers
There are other bindings you can try like Meow or God mode but I don't know what the adoption rate is like for them. Emacs gives you the flexibility to set it up as you please. As others have mentioned, there may be other keyboard options that might be more helpful as well
-
Emacs Is My New Window Manager
If you already know Vim, you should probably not use Emacs without Evil:
https://github.com/emacs-evil/evil
It gives you comprehensive Vim bindings so what you need to learn to be comfortable in Emacs is very little. As a bonus, it also keeps your RSI risk unchanged.
-
Is orgmode really that much better than an equivalent workflow using vim + other tools?
I would *highly* recommend using vim keybindings if you're just getting into it (Doom or just evil). I switched from vim to emacs and tried to rough it with the default keybindings thinking that otherwise I wasn't /really/ using emacs, but I was wrong! I've been using org-mode/emacs for ~2 years now and I've slowly been migrating everything into it as I find useful tools/modes/etc (and now thanks to u/ilemming I have ~12 more to experiment with 😂)
-
Switching from Emacs. My experience
Despite using Emacs as my main editor, I was extremely familiar with Vim since I also used it frequently, and was able to use it quite well, especially because I also used [evil](https://github.com/emacs-evil/evil) in Emacs since Emacs's native keybindings are uncomfortable to use. I never used Vim as my primary editor though because it was cumbersome to configure. As many people say, Vimscript just feels wrong, so I gave up on trying to customize Vim.
-
Is it possible to use vim like navigation and control everywhere on the windows/mac applications?
uhm... this maybe? https://github.com/emacs-evil/evil
-
evil-set-leader vs general.el for SPC based keybindings
;; (setq debug-on-error t) (setq warning-minimum-level :error) ; don't show warning buffer unless error ;; REQUIRE PACKAGES AND CONFIGURE THEM (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-initialize) ;; no littering (keep ~/.emacs.d from being generated so ~/.config path used) (require 'no-littering) ;; KEEP FILES UP TO DATE (GOOD FOR GIT BRANCHES) (global-auto-revert-mode t) ;; CONFIGURE BACKUP FILE BEHAVIOR (setq backup-dir (getenv "EMACS_BACKUP_DIR")) (setq backup-by-copying t) ; don't clobber symlinks (setq version-control t) ; use versioned backups (setq kept-old-versions 2) (setq kept-new-versions 4) (setq delete-old-versions t) (setq backup-directory-alist `((".*" . ,backup-dir))) ;(setq auto-save-file-name-transforms ; `((".*" ,backup-dir t))) ;; ORG MODE ; allow TAB to control folding in org-mode, see: ; https://jeffkreeftmeijer.com/emacs-evil-org-tab/ (setq evil-want-C-i-jump nil) ; needed before evil loaded (add-hook 'org-mode-hook 'org-indent-mode) ; always pretty indent ;; EVIL MODE (setq evil-want-integration t) ; optional since already t by default (setq evil-want-keybinding nil) (require 'evil) (when (require 'evil-collection nil t) (evil-collection-init)) (evil-mode 1) (evil-set-undo-system 'undo-redo) ; built-in undo-redo as evil backend ; start terminals in normal state by default so leader buffer navigation is more ; consistent ;(evil-set-initial-state 'term-mode 'normal) ; absolute garbage ; fix "v$" to exlcude newline (https://github.com/emacs-evil/evil/issues/897) (setq evil-v$-excludes-newline t) ; replace only in visual selection (setq evil-ex-visual-char-range t) ; built in solution for single line ; solution for visual block mode uses leader key below (evil-visual-replace-visual-bindings) ; leader key (largely used to replace C-x commands) (evil-set-leader nil (kbd "SPC")) ; window movement (evil-define-key 'normal 'global (kbd "o") 'other-window) (evil-define-key 'normal 'global (kbd "wh") 'windmove-left) (evil-define-key 'normal 'global (kbd "wj") 'windmove-down) (evil-define-key 'normal 'global (kbd "wk") 'windmove-up) (evil-define-key 'normal 'global (kbd "wl") 'windmove-right) ; buffer select, buffer list, find file, delete window (evil-define-key 'normal 'global (kbd "b") 'switch-to-buffer) (evil-define-key 'normal 'global (kbd "B") 'list-buffers) (evil-define-key 'normal 'global (kbd "f") 'find-file) (evil-define-key 'normal 'global (kbd "0") 'delete-window) ; definition jumping (gd already goes to definition) (evil-define-key 'normal 'global (kbd "gD") 'xref-pop-marker-stack) ; allow replacement only in selection for visual block mode (evil-define-key 'visual 'global (kbd "vbr") 'evil-visual-replace-replace-regexp) ; commenting (evil-define-key '(normal visual) 'global (kbd "gc") 'smart-comment) ; indentation (evil-define-key '(normal visual) 'global (kbd "gi") 'indent-region) ; statusline commands (available as ":") (evil-ex-define-cmd "done" 'save-buffers-kill-emacs) (evil-ex-define-cmd "at" 'open-ansi-term) (evil-ex-define-cmd "rb" 'rename-buffer) (evil-ex-define-cmd "hsp" 'split-window-below) (evil-ex-define-cmd "sw" 'rotate-frame) (evil-ex-define-cmd "tp" 'transpose-frame) (evil-ex-define-cmd "rshp" 'reshape-window)
-
916 Days of Emacs
I just stopped worry and succumbed to https://github.com/emacs-evil/evil.
-
How do I take priority from Evil's escape key?
I am currently using evil and corfu, but I want to configure such that pressing a single escape will invoke corfu-quit when its UI is active (because pressing "C-g" is harder).
emacs-which-key
-
Improving Emacs Isearch Usability with Transient
I think which-key already solves exactly that: https://github.com/justbur/emacs-which-key
-
Evil mode's kinda hacky
As for the "complicated keybindings general" -- I assume because remembering things like C-x C-s is hard because of the shifted keystrokes? I get that, and there is in fact a solution for less used keybindings which I love, called 'which-key' https://github.com/justbur/emacs-which-key
-
Should I start with vanilla Emacs?
I would recommend installing the which-key package, which is a fantastic discoverability aid. If you ever want an example config to get some inspiration, I have one here: Emacs Bedrock
-
Best emacs configs for Javascript and/or users who don't like to memorize keybindings?
Make sure you have which-key installed and turned on. When using a keybinding that has a prefix (like C-x or C-c), it displays all the keybindings that start with that prefix.
-
Doom -> vanilla emacs 29
which-key for the shortcut menus
-
Switched to Emacs a week ago, really thrilled so far. Looking for help on a few (somewhat advanced) questions.
there are some packages to help with the keybings, which-key shows a list of keybind and its command and (guru-mode)[https://github.com/bbatsov/guru-mode] enforces to use the "best" keybind, for exemple, it forces you to use C-n to move the cursor, blocking you to use the down key, and if you press the down key, it show a text in minibuffer to the best keybind.
-
Too many keybindings
"can't find the command associated with C-x" this will help https://github.com/justbur/emacs-which-key
If you haven't already, definitely check out the package which-key.
-
Tell HN: Vim users, `:x` is like `:wq` but writes only when changes are made
> even though I'm a terminal user ... I really like the discoverability of GUIs, and that's where a good GUI is unbeatable by CLI.
CLI has poor discoverability? Sure; but even on the terminal, discoverability can still be good:
A couple of nice examples of discoverability in keyboard-focused programs:
- emacs' which-key[0]; there's a vim port[1] too. This shows you (some) of the available keybindings for the next input, and a short label. So you don't have to remember what `SPC h p ...` or all the options under `SPC f...`.. but it still helps to recall that `SPC h` is for 'help' related commands, `SPC f` for file related commands.
- emacs' magit[2][3]. Magit is so good at discoverability, that I'd rate it as the best tool for using git with. I've learned more about git from using it.
[0] https://github.com/justbur/emacs-which-key
-
Creating and displaying cheatsheets of keybindings
Am I right in thinking this is quite similar to which-key?
What are some alternatives?
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
hydra - make Emacs bindings that stick around
tokyonight.nvim - 🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
k9s - 🐶 Kubernetes CLI To Manage Your Clusters In Style!
use-package - A use-package declaration for simplifying your .emacs
general.el - More convenient key definitions in emacs
evil-collection - A set of keybindings for evil-mode
lsp-mode - Emacs client/library for the Language Server Protocol
spacemacs - A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
Visual Studio Code - Visual Studio Code
helpful - A better Emacs *help* buffer
VSpaceCode - Spacemacs like keybindings for Visual Studio Code