There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

psycho_driver ,

nano friends rise up!

GolfNovemberUniform ,
@GolfNovemberUniform@lemmy.ml avatar

Looks like you only got one so far.

kubica ,

My problem with those are that I always manage to get lost on where the program has its focus/what kind of instruction is expecting.
And while trying to go back to normal I end up messing it more and more.
Maybe some day I will get there, but it is still not the day.

AeonFelis ,

I just use this:


<span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;">keep_generating=1
</span><span style="color:#323232;">while [[ $keep_generating == 1 ]]; do
</span><span style="color:#323232;">    dd if=/dev/random of=$1 bs=1 count=$2 status=none
</span><span style="color:#323232;">    echo Contents of $1 are:
</span><span style="color:#323232;">    cat $1
</span><span style="color:#323232;">    echo
</span><span style="color:#323232;">    read -p "Try generating again? " -s -n1 answer
</span><span style="color:#323232;">    while true; do
</span><span style="color:#323232;">        case $answer in
</span><span style="color:#323232;">            [Yy] )
</span><span style="color:#323232;">                echo
</span><span style="color:#323232;">                break
</span><span style="color:#323232;">                ;;
</span><span style="color:#323232;">            [Nn] )
</span><span style="color:#323232;">                keep_generating=0
</span><span style="color:#323232;">                break
</span><span style="color:#323232;">                ;;
</span><span style="color:#323232;">            *)
</span><span style="color:#323232;">        esac
</span><span style="color:#323232;">        read -s -n1 answer
</span><span style="color:#323232;">    done
</span><span style="color:#323232;">done
</span>
IndustryStandard ,

Micro for the win

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

No, Micro for the linux

jaybone ,

You noobs. I just use combinations of cat piped to sed to edit my files, which are mainly lisp code.

bluewing ,

Emacs users laughing at VIM users.

Emacs - A pretty good OS you can use as a text editor.

ramble81 ,

I’ve come to the conclusion, people who use vim just continue to do so out of a stubborn sense of pride for finally learning the key combinations.

psycho_driver ,

That’s funny, I feel the same way about Excel users.

RedWeasel ,

Worst is when installing a new distro(usually in a vm ) and it defaults to nano and for some weird reason no vi of any sort is installed. I hated nano. Last time I intentionally used something like nano was the 90s with pine I think.

prole ,

What is there to hate? I don’t really understand. It does what it says on the package, and seems to do it pretty well. At least with respect to making small and quick edits to config files in the command line.

RedWeasel ,

My fingers don’t speak it is the problem.

prole ,

Pardon?

riodoro1 ,

Average vim user: vim is easy.

Also average vim user: literally hours of reading tutorial pages on how to use vim.

barsquid ,

It is easy, though? I cannot even use it correctly. I just know some of the commands and that if you hold down shift it goes backwards.

Voytrekk ,
@Voytrekk@lemmy.world avatar

I’m a vim user and I would say it’s not. It’s very powerful, but only once you become familiar with the commands.

Nano is a better default for the average user because it works in a way most users would expect for a text editor to work.

Telorand ,

Allow me to present to you my Ultimate Guide to Emacs.

GustavoM ,
@GustavoM@lemmy.world avatar

Nano is my “daily drive”, but I’d use vim as well – takes a couple seconds to search for “how to type in linux vim” and “how to save a file in linux vim” anyways. :^)

socsa ,

Vim is way easier tho

MidsizedSedan ,

I once fixed my bashrc file with libreoffice

deuleb_biezelbob ,
@deuleb_biezelbob@programming.dev avatar

calm down satan

voracitude ,

I regularly fix my bashrc file with Notepad. I run it in Wine because I cbf to RealVNC from my Windows CE media server.

(n.b: None of this is real, I wrote it to upset people, I’m sorry)

riodoro1 ,

Well let me upset you.

Ive been helping my coworker on a call and he was sharing his screen. I told him to edit a file (add a line) on a linux box we develop and he copied the file to his windows host with winscp, edited it in notepad and copied it back. I fantasize about killing him ever since.

voracitude ,

That’s crazy! At my job, I just help our users. I don’t have to build (and then maintain) infrastructure with them.

SexualPolytope ,
@SexualPolytope@lemmy.sdf.org avatar

I prefer Office 365 online.

RxBrad ,
@RxBrad@infosec.pub avatar

The Holy Trinity: VIM, Arch, and Rust

A7thStone ,

That’s a weird way to spell Vim, Arch, and C

amw3i7dwgoblinlabs ,
@amw3i7dwgoblinlabs@lemmy.world avatar

Seems you have a little typo, Emacs, Arch, and C

krakenfury ,

Fixed it for you: VSCode, Red Star OS, and sh

Telorand ,

Fixed it for you: Emacs.

Kaput ,

Isn’t this supposed to be VIM vs Emac? What’s is there point to be programming in the terminal anyway? Nano is good to fix some config files while your are in there, but if I needed to do real programming I’ll be finding something that works in the GUI.

Zozano ,
@Zozano@lemy.lol avatar

Did you just say GUI?

More like ewwwie.

deuleb_biezelbob ,
@deuleb_biezelbob@programming.dev avatar

Its GNUI

Zozano ,
@Zozano@lemy.lol avatar

What you’re referring to as GNUI, is in fact GNUI/Linux or as I’ve recently taken to calling it, GNUI plus Linux.

roguetrick ,

GNUssy

cakeistheanswer ,
@cakeistheanswer@lemmy.dbzer0.com avatar

Efficiency.

There’s 0 chance if you have to pick up your mouse that you can keep up with a Unix gray beard.

That’s just editing, if they’re from the emacs era there might be nothing you can do with text faster across their whole system.

I like vscode as a entry point, but if you care to get faster learning just vim motions and sys utils alone is going to cut time from the process.

Kaput ,

Oh it’s about speed. What’s the one that get your brain to be faster at programming? I use 4 fingers typing and am still typing much faster than I can think.

cakeistheanswer , (edited )
@cakeistheanswer@lemmy.dbzer0.com avatar

Definitely worth running through vim tutor at least once.

It’s beyond typing speed, things like piping out strings to utilities is using one program to write another, you aren’t just getting faster because of access, it’s a paradigm shift.

Edit just for fun: im a non Dev dummy who happened to grow up in a Unix household. Even having dropped vim for helix and bounced around the MS admin/Apple IT space for 30+ years. When I switched to Linux I could still remember binds I’d set up and last used at 9.

Kinda like riding a bike.

corsicanguppy ,

supposed to be VIM vs Emac?

30 years ago it was vi vs everything. I don’t see it changed today.

kuneho ,
@kuneho@lemmy.world avatar

I like nano tho it has some strange shortcuts

kautau ,

micro has some improvements and default shortcuts that are much closer to common GUI text editors

micro-editor.github.io

Varyag ,

oohh that is nice, I think I’ll swap my nano to that.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines