gavinok / emacs.d Goto Github PK
View Code? Open in Web Editor NEWnothing to see here ๐
nothing to see here ๐
Today after coming across your video about completion, i decided to take a look at your config and copy paste the Completion section.
Tho it initially worked (after i fixed the Quelpa dependency) the auto complete of Corfu failed after Quelpa was installed. I tested everything and it seems the line breaks the config:
:config
(defun yas-setup-capf ()
(setq-local completion-at-point-functions
(cons 'cape-yasnippet
completion-at-point-functions)))
Could you at some point explain why use cape-yasnippet? I have gone to its page and it seems to have nothing aside from a single file, not even an explanation on its utility.
I use Emacs for many years, and tried Vim recently to explore whether Evil mode is worth it.
Emacs uses mnemonic mappings. C-f, C-b, C-p, C-n. Forward, backward, previous, next.
What many users of Emacs and those coming from Vim don't know is that two keys on keyboard must be remapped for Emacs.
Control now is pressed by left thumb that never ever gets tired. It's under "x" letter on most keyboards and all notebooks.
The small problem are those classic mechanical keyboard layouts where Left-ALT is located more to the left from "x".
This keyboard remapping is useful for Vim too. Instead of ESC for exit use C-c, left thumb + pointing finger down from "f".
Even more, with this remapping utility https://github.com/rvaiya/keyd CAPS is ESC and ALT when pressed with other keys.
This ergonomic enhancement by remapping two keys is not more popular because besides other things there was a mistaken recommendation from R.Stallman not to use keyboards with flat keys. Those are actually the best, compact.
With this, Emacs' default mappings are actually ergonomic. More so than Vim's maybe.
"C-a" and "C-e", "at start of line" and "end of line".
"M-m" first non-blank char in line. With such mappings in Emacs CAPS(which is ALT now) can be pressed by a ring finger instead of pinky.
Not an issue, but a suggestion:
Just a commentary on your video: "You should learn orgmode. It is easy"
Yes, orgmode is wonderful. But, in some aspects "eev" is much better and efficient.
Although it is not so popular...
I suggest you to study it and start using it; talk to his author, perhaps through telegram. He is available to teach it...
http://angg.twu.net/#eev
And, who knows?
Make a video series about it...
If you understand the inwardness of it. ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.