GithubHelp home page GithubHelp logo

emacs.d's Issues

From Vim to Emacs.

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.

  • CAPS to ALT
  • Left-ALT to CONTROL.

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

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. ;)

Cape-yasnippet issue

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.