use-package
general.el
Our great sponsors
use-package | general.el | |
---|---|---|
67 | 36 | |
4,365 | 963 | |
- | - | |
2.3 | 4.4 | |
3 months ago | 15 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.
use-package
-
Use-Package & different key bindings based on host computer
Another way would be to redefine parts of the bind-key macro or its use-package support functions
-
Can't remove Emacs as "cask emacs is not installed"
The package-install call installs use-package that provides a utility of the same name to make it easier to manage packages. It's admittedly a little overkill for this specific config, but it's a cheap investment that sets you up for later success.
-
symbols function definition is void: map!
Granted, the Doom macro makes your code looks nice and compact. But you can get very close to that just by using do-list and define-key together. Or by using the bind-key.el package, which is included with Use-package.
- 'org' is already installed (use-package)
-
Clojure Turns 15 panel discussion video
> Deps is well documented.
> The issue I personally found is that I needed to look at a bunch of OS project's deps.edn to see how people commonly structure things. Other than that it is a simple tool.
This strikes me as a contradiction, because if it was well documented you wouldn’t need to look at other people’s configs to see how to use it.
My experience with deps.edn is that every time I start a project and make a deps.edn file, I immediately draw a blank and don’t know how to structure it, so I open ones from other projects to start lifting stuff out of them.
I still don’t know how to reliably configure a project to use nrepl or socket repl without just using an editor plugin. I definitely have no idea how to use those in conjunction with a tool like reveal.
To me, none of that is simple. Simple would be like Emacs’ use-package. With that I know how to add dependencies, specify keybinds, and do initialization and configuration off the top of my head. And it has really nice documentation with tons of examples.
https://github.com/jwiegley/use-package
-
Newbie here! Need Help!
Since you are doing code development, the first things to go for would be setting up your emacs packaging (installing use-package and melpa (use-package's documentation covers this) so you have more packages to choose from (do be careful to not just pick things willy nilly but research them a bit first)) and then setting up lsp-mode. lsp-mode lets you use LSP servers for the specific programming languages you work with in a somewhat unified fashion. You then need to install and setup the LSP servers for the languages you use, and possibly install language specific Emacs packages as support (note, Emacs has builtin functionality for many).
-
Unable to display ligatures in Emacs
I'm using use-package as my package manager and the package ligature for the ligatures.
-
Boilerplate config
I have been crafting my emacs config for about 10 years. I started with vanilla and intentionally stayed away from frameworks. About two years ago I declared config bankruptcy and went down for a rewrite using use-package and straight.
-
what is basic alghoritm/logic of installation packages to emacs?
ref: https://github.com/radian-software/straight.el https://github.com/jwiegley/use-package
-
Visual code folding?
use-package! is a macro over use-package, and respect its syntax, with a few additions. Useful reference on use-package keywords.
general.el
-
Emacs Bedrock–A minimal Emacs starter kit
I can vouch for general.el[1]. It's easy to use and it integrates with use-package clauses, which-key and evil states. You can look at my config[2] for examples.
1. https://github.com/noctuid/general.el
-
Evil mode's kinda hacky
If you need more fine-grained keybindings control use https://github.com/noctuid/general.el
-
symbols function definition is void: map!
If you're relying heavily on Evil states and leader keys I also recommend this package: https://github.com/noctuid/general.el
-
bind.el -- A key binder with prefix, autoload, repeat-mode and save&restore support
If I have to say one or two things about them, general's readme looks a lot and may be hard to grasp for starters who just want to bind keys. I want bind to be the go to package for newcomers and unify people who are just bored of typing define-key or okay with looping since bind is close to that simplicity yet being powerful due to its design. If you are missing something, please open an issue and see if we can add it.
-
How do you call interactive commands with arguments like in vim?
For binding keys I highly recommend the package noctuid/general.el. Specifically binding to general-key-dispatch. Something like: (general-define-key :states '(normal visual) "/" (general-key-dispatch "/" 'ag-search :default 'evil-search-forward))
-
Best practice when configuring keybindings?
[1]https://jwiegley.github.io/use-package/keywords/ [2]https://github.com/noctuid/general.el
-
Anyone here uses evil-mode with Colemak-DH? How did you set up yours?
I use standard Colemak. I've added the following configuration to be able to exit insert mode by pressing l and h in sequence (that key combination is convenient to type, but still uncommon enough in most words, the main exception being localhost). (general-imap "l" (general-key-dispatch 'self-insert-command :timeout 0.25 "h" 'evil-normal-state)) The above code uses https://github.com/noctuid/general.el.
-
Help with setting up emacs on windows
https://github.com/noctuid/general.el Keybinding and leader-key manager for Emacs. There are other packages but this is the best one imo - it even includes vim-style map commands.
-
A good config with leader keys
Gonna drop a link to https://github.com/noctuid/general.el
-
any users of the Japanese input method? question about input-method.
(general is a keybinding helper package, not strictly necessary but way simpler than the default)
What are some alternatives?
leaf.el - Flexible, declarative, and modern init.el package configuration
emacs-which-key - Emacs package that displays available keybindings in popup
straight.el - 🍀 Next-generation, purely functional package manager for the Emacs hacker.
evil-collection - A set of keybindings for evil-mode
emacs-overlay - Bleeding edge emacs overlay [maintainer=@adisbladis]
key-chord-multiple - A GNU Emacs minor mode that allows binding commands to multiple simultaneously pressed keys.
nano-emacs - GNU Emacs / N Λ N O - Emacs made simple
.emacs.d - Centaur Emacs - A Fancy and Fast Emacs Configuration
org-super-agenda - Supercharge your Org daily/weekly agenda by grouping items
evil - The extensible vi layer for Emacs.
melpa - Recipes and build machinery for the biggest Emacs package repo
emacs-for-vimmers - Introduction Emacs config, for developers used to Vim.