this post was submitted on 17 Oct 2023
5 points (100.0% liked)

Emacs

314 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Hello and thank you for reading this. I'm starting my journey to study Emacs, and I'm interested in turning Emacs in my IDE (mainly C, C++, JavaScript, Rust, and Python, etc...) and taking notes. Could you please give me your best suggestion on how to accomplish my goals? Thank you once more, and have a wonderful day/night.

:^

View Poll

you are viewing a single comment's thread
view the rest of the comments
[–] timmymayes@alien.top 1 points 1 year ago (2 children)

First off know that it will take time for everything to click and that is ok. One day you'll go from struggling and annoyance and at various stages you'll level up and what was once weird or annoying will become easy.

My biggest tips are:

  1. As /u/Horrih recommended, start with vanilla nd use system crafters series. I found this invaluable as I wanted to know emacs inside and out, not just get it working.
  2. Mastering Emacs book is a nice consolidation for a fair price. If you can spare some cash its well worth it. You can start with various blog articles to see if you like how the author presents things: https://www.masteringemacs.org/all-articles
  3. Learn elisp via the built in info docs "Emacs Lisp Intro" you can find this via C-H i
  4. Org mode is freaking awesome. Initially when I started with emacs for coding I was still using Notion and a few other organization/note apps. I'm fully Org and Org-Roam now and not only do I vastly prefer it, I now own all my data, and it is all in plaintext.
  5. After you get a decent base setup going it can be very easy to fall into bike shedding and continually improving/working on your setup. To solve this keep a separate todo/project list (i do this via a dedicated org file for my config wants/needs/reminders) and block time to work on it rather than doing this continually. It's an easy trap to fall into.
  6. Niche / Specific Bonus Tips that are huge for me
    1. If you're not going modal / evil mode (I do not) then figure out your solution to "ctrl" pinky. I found this odd as throughout life I never used my pinky. I press ctrl with the edge of my palm. Many do a rebinding to caps lock.
    2. If you're in a financially ok spot, or have some tendencies towards making things yourself. I highly recommend making or buying a mechanical keyboard with thumb clusters. While you could use the thumb for Ctrl binding (as mentioned above) I do this for a different reason - Additional modifier keys. See my next tip.
    3. Utilize Hyper and Super. If you're on windows super is a bit more annoying to work with but it is doable. On Linux its totally workable. I have Hyper and Super setup on my thumb clusters and use this to help me add 2 extra sets of bindings which keeps more of my keypresses as + and helps me organize my configuration model. This enables a lot of combos (see below). You don't really need a thumb cluster keyboard to do this i.e. you could map your apps key to hyper and your win key is the super key. BUT because I have the thumb cluster keys I can use my strongest digit to hit them. On top of that they are next to each other and alt in an L shape so pressing Super+Hyper+Alt or any combo of two is very easy.
      1. Hyper +
      2. Super +
      3. Ctrl + Hyper +
      4. Alt + Hyper +
      5. Ctrl + super +
      6. Alt + Super +
      7. etc

I know I put a lot here but if any of it intrigues you just take a note of it for the future and start simple with an initial setup and learn a bit of elisp and you'll be off to the races!

[–] Kwisacks@alien.top 1 points 1 year ago (1 children)

Org mode is freaking awesome. Initially when I started with emacs for coding I was still using Notion and a few other organization/note apps. I'm fully Org and Org-Roam now and not only do I vastly prefer it, I now own all my data, and it is all in plaintext.

How do yo deal with mobile?

[–] timmymayes@alien.top 1 points 1 year ago (1 children)

I'm testing a couple of outlets here. I tend to be a very computer centric person so I've got my pc on at home and can step to it for quick check ins and at the office I'm on my PC. I sync everything with Sync thing and am looking to do git updates monthly.

I do have orgzly setup which I'm testing but my config is so specialized I don't think this is the route I'll be going full time.

For time tracking activities not when I'm not near a PC I will track time on tasks via an app and then add/update the task at home.

I was a bullet journaler for a while so I've been essentially doing a minimalistic mirroring of my tasks via a notebook I take with me. I also have an Ipad with apple pencil I use for hand written notes that I use. I'm sort of stuck on this point for a few reasons:

  1. I love the feel of pen on paper. Its just a better experience than the ipad even though that is pretty good.
  2. I like digital access and tools. Search text, highlight and rearange. Have a bunch of color coding at my finger tips etc.
  3. I do enjoy the art apps on ipad as well. When I do a napkin sketch for a game design having a diagram I can drop into an org file is kind of where I'd like to go rather than a photo of a hand written one.
  4. Because I do love my ipad and working on the go I am considering this setup: Mobile Emacs

So for now mobile usage is in the air but it also isn't a lynchpin for me. I'm torn for various reasons between analog and digital handwriting. Mobile workstation with the newer model iPad has some really interesting implications too.

[–] FitPandaFu@alien.top 1 points 1 year ago (1 children)

I just suck it up and keep todoist for tasks, org-mode for the rest.

[–] timmymayes@alien.top 1 points 1 year ago

I get that. Bullet Journal was my long time mainstay which is why that's my fallback.

[–] cynroach@alien.top 1 points 1 year ago

thumb clusters

Thank you; I will look into what you have said. :^)