this post was submitted on 02 Sep 2024
786 points (93.5% liked)

Linux

48340 readers
358 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] kuneho@lemmy.world 14 points 2 months ago (1 children)

I like nano tho it has some strange shortcuts

[–] kautau@lemmy.world 11 points 2 months ago (1 children)

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

https://micro-editor.github.io/

load more comments (1 replies)
[–] MonkderVierte@lemmy.ml 13 points 2 months ago (3 children)

There's always ed for masochists.

load more comments (3 replies)
[–] queue@lemmy.blahaj.zone 13 points 2 months ago (3 children)

Nano isn't even that simple. Ctrl+X to quit? I guess if you use phonetic sounds to figure out how to exit a program. At least Vim uses the idea of "use what the words start with."

I personally use micro in the terminal, and Kate if I want a GUI to write. Vim and Emacs are fine for those who want it, I have no stakes in the editor wars beyond "I just want my program to do what I want, and I want it to be simple to learn."

load more comments (3 replies)
[–] Kaput@lemmy.world 12 points 2 months ago (9 children)

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.

load more comments (9 replies)
[–] jmcs@discuss.tchncs.de 11 points 2 months ago (5 children)

Easy is relative. What are you trying to do? Replace a value in an yaml file? Then nano is easier. Trying to refactor a business critical perl/brainfuck polyglot script in production? Then you probably want to use vim (or emacs if you are one of those people)

load more comments (5 replies)
[–] IndustryStandard@lemmy.world 11 points 2 months ago (1 children)
[–] Sonotsugipaa@lemmy.dbzer0.com 9 points 2 months ago (1 children)
load more comments (1 replies)
[–] KillingTimeItself@lemmy.dbzer0.com 10 points 2 months ago (6 children)

idk man, vims pretty chill, it even has a tutor in it already, what more could you want?

[–] bleistift2@sopuli.xyz 9 points 2 months ago (3 children)

A text editor that doesn’t assume that the keys on my keyboard are in the same order as yours.

load more comments (3 replies)
load more comments (5 replies)
[–] m4m4m4m4@lemmy.world 10 points 2 months ago (8 children)

The problem I had with nano is that, for the time being, it was supposed to be easy to use. With that in account I always get lost when saving a file and closing the thing because one's used to doing something else with Ctrl+O and Ctrl+X.

Whereas with Vim (and Neovim for a little while, and now with Vis) I knew it had a steep learning curve from the start so I always had it in mind. And all the funny stories about quitting vim.

load more comments (8 replies)
[–] RxBrad@infosec.pub 10 points 2 months ago (4 children)

The Holy Trinity: VIM, Arch, and Rust

load more comments (4 replies)
[–] Gacrux@lemm.ee 9 points 2 months ago (10 children)

is there not a single other person who uses helix?

[–] lenuup@reddthat.com 10 points 2 months ago (2 children)
load more comments (2 replies)
load more comments (9 replies)
[–] bluewing@lemm.ee 9 points 2 months ago (1 children)

Emacs users laughing at VIM users.

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

load more comments (1 replies)
[–] Steamymoomilk@sh.itjust.works 8 points 2 months ago

Micro is where its @ <3

[–] AeonFelis@lemmy.world 8 points 2 months ago (5 children)

I just use this:

#!/bin/bash

keep_generating=1
while [[ $keep_generating == 1 ]]; do
    dd if=/dev/random of=$1 bs=1 count=$2 status=none
    echo Contents of $1 are:
    cat $1
    echo
    read -p "Try generating again? " -s -n1 answer
    while true; do
        case $answer in
            [Yy] )
                echo
                break
                ;;
            [Nn] )
                keep_generating=0
                break
                ;;
            *)
        esac
        read -s -n1 answer
    done
done
load more comments (5 replies)
load more comments
view more: ‹ prev next ›