Comments (4)
You probably want to autoload the functions your planning on invoking using the :commands
key. Something like this:
(def-package! ace-jump-mode
:commands (ace-jump-mode))
In the above block, the function ace-jump-mode
will be autoloaded and will be available. Since the package is lazy loaded it won't be loaded until a command listed in the :commands
list is invoked.
Normally, you'll want to include any commands you'd like to call in this :commands
list, so they'll be autoloaded and available. Your other option is to use :demand t
, which will force the package to be loaded automatically at startup, however this will slow your startup time down a bit.
Hope that helps!
from doomemacs.
I'll also throw out there, that avy
(which is very similar) is already included in this emacs config. You may want to try it out:
https://github.com/abo-abo/avy
from doomemacs.
Thanks for replying, both :command and :demand t worked fine and solved my issue, I sure will do look into avy as well.
One last question though, in org mode, is there any way to change the checklist status to partially completed using a keybinding?
from doomemacs.
One last question though, in org mode, is there any way to change the checklist status to partially completed using a keybinding?
@vsr625 I just pushed one I've kept to myself for a while (I have a lot of org-mode changes in the pipeline).
+org/dwim-at-point (currently bound to RET in normal mode) now cycles between the three states ([ ]
=> [-]
=> [X]
).
Also, to expand on what gilbertw1 was saying: use-package-always-defer
is set to t
in my config (the default is nil
in use-package
), so packages won't be automatically loaded (without :demand t
or being autoloaded, as mentioned above).
from doomemacs.
Related Issues (20)
- Doom Keybindings not working HOT 3
- Enabling automatic org-roam backlinks buffer breaks buffer switching focus
- Disable auto-save and auto-eval of config.el HOT 6
- nix-darwin: file-missing "Cannot open load file" "No such file or directory" HOT 2
- Installation guide is out of date - refers only to Emacs 27 HOT 3
- completions/vertico sets `completion-category-overrides` instead of modifying it
- Embark export to Dirvish HOT 1
- Nested npm projects select wrong tools with flycheck and lsp HOT 1
- M-x recompile command does not always relaunch the compilation process in the original buffer
- Issue #7472 (already closed) can still be reproduced by using geiser-chez HOT 2
- vertico basic completion works differently under doom HOT 1
- rust-mode cannot be installed due to `File is missing: treesit` error HOT 10
- emacsclient is stuck in "Waiting for emacs..." if emacs was started as a daemon on boot HOT 6
- Org default bindings can take precedence over Doom bindings when :tools biblio is enabled
- mu4e-clear-caches is obsoleted but still used by doom emacs HOT 1
- Ctrl + +/Ctrl + - stopped zooming in/out HOT 5
- Terminal support for bin/org-capture
- Doom CLI is not compiling `org-element.el` HOT 2
- Missed module: gist HOT 1
- mu4e (1.12): broken mu4e-compose-wide-reply HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doomemacs.