@NovaPrime@lemmy.ml
link
fedilink
48
edit-2
7M

You’re already on a superior editor friend. Don’t fall for the propaganda of lesser tools (that of course being anything not neovim)

th3raid0r
link
fedilink
337M

Eeeehhhh, I was kinda jealous of one of my coworkers Doom Emacs setup. He had automated like 80% of his own job with it. Still haven’t bothered to try to learn it myself. One of these days…

I returned to emacs yesterday after using vscode out of laziness. I set up doom emacs and got everything I needed. Now typing is fun again. Actually before that tried neovim for the first time. I can’t do modal. Makes me very uncomfortable.

Hi, what do you mean by modal?

In vi for example you switch between modes. In insert mode you can insert text and in normal mode you can move around and do many other actions to edit. Getting used to this takes time and I don’t have the energy for now.

What did they automate? I’m trying to get some ideas for my Neov… uhhhh… Emacs with evil-mode setup.

th3raid0r
link
fedilink
21
edit-2
7M

He did this thing where he unified his shell history across thousands of hosts - it was super handy given our extensive use of Ansible playbooks and database managment commands. He could then use a couple hotkeys to query this history within a new open document. Super handy for writing out shell command steps or wrapping things in a bash script you’re working on. Unfortunately I don’t really have a link to HOW to do this, I just remember thinking “Oh my god, that would save me SO much time”.

Nowadays, I just have this giant document with hundreds of our runbook commands and enable Github Copilot to make it SUPER easy to do the same thing without establishing an SSH session in the backend.

Asahi
link
fedilink
47M

atuin might be useful it syncs your shell history

Wow, that’s super useful! I don’t have thousands of hosts, but even with a dozen, it would save me so much time. Why have I never thought of doing this? Thanks for the idea! (now I just need a few lonely evenings configuring the thing)

There’s also Xpipe for that.

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.5K Comments
  • Modlog