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.

lemmy.fosshost.com

Paradachshund , to memes in Firefox + Ublock = 👑

Has it actually been confirmed when it’s coming? I feel like this has been threatened for years now.

ivn ,

It started in june, for now it’s just showing a warning saying that the extension will soon no longer be supported. They’ll be disabled gradually until the beginning of 2025.

developer.chrome.com/…/mv2-deprecation-timeline

Paradachshund ,

Ah I see. Boiling the frog as it were.

ivn ,

Well, as much as I hate Google I don’t think that’s the intention of this particular point, rolling out big changes gradually is standard.

MonkderVierte , to linux in How dare you use a text editor because it's easy to use

There’s always ed for masochists.

imouto ,

Ed, man! !man ed

The_Zen_Cow_Says_Mu ,

Ed is the standard editor

MonkderVierte ,

What’s with this childish rant?!

Ascend910 , to memes in Firefox + Ublock = 👑

Floorp for power users

Kit ,

I’ve been curious about Floorp. Are you using it as your daily driver? And pros and cons?

CafecitoHippo ,

The biggest pro for me is the vertical tabs. It’s got the same vertical tabs that Edge has which are great. I only use Edge at work but it’s great especially when you have a web based production environment like nCino that you work in all day and have dozens of tabs open. You can group them up nicely and keep yourself organized. Floorp is based off of Firefox ESR so it’s on an older build (but up to date security). The current build is based off FF 115 while FF is on 129 now.

ivn ,

Have you tried Tree Style Tab or Sidebery?

CafecitoHippo ,

I’ve tried but for some reason, I can never get them set up correctly and I’m not technologically illiterate. Its been a while since I tried it though since Floorp just works.

Ascend910 ,

I moved from vivaldi to it. Move the the side bar to the left and it felt just like home

KillingTimeItself , to linux in How dare you use a text editor because it's easy to use

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

soul ,
@soul@lemmy.world avatar

One that’s intuitive and doesn’t require a cheat sheet or what I like to call fingular contortionism discovery.

SirEDCaLot ,

A text editor that doesn’t need a tutor because the interface is intuitive enough that someone who has been using text editors (as a concept) for years can more or less instantly pick it up and start working without needing a tutorial to simply edit a config file.

KillingTimeItself ,

a text editor that has a tutor because it’s been around for so long and it’s had so many years to establish itself with an outside control interface that’s quite literally about as optimal as it can be. Vim basically allows you to never move your hands away from the homerow keys, even when navigating and doing bulk edits. The sheer amount of gained speed and productivity you get from this combined with the amount of times you’ll have to deal with text editing throughout your life is probably going to outweight any potential learned annoyances.

bleistift2 ,

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

Telorand ,

I remember looking up how to use Colemak with vim, and the advice was:

  • Change the mappings so the position is the same, but it has the downside that every tutorial won’t match.
  • Keep the mappings and do awkward stretches for common functions like up and down.

So I just gave up and moved on.

noisypine ,

I hit the same wall with Dvorak layout.

KillingTimeItself ,

that is a potential problem, though im sure there’s a vim user somewhere that’s fixed it with a bind set.

Luccus ,
@Luccus@feddit.org avatar

it even has a tutor

Yes, people are just lazy. I remember when I invented a new login screen and was told it was “difficult”, “confusing” and “took some getting used to”.

It even came with a free 100-page manual and a 4-hour master class. Some people, I tell you!

^This is meant more as a joke than an actual critique, even if it kind of reflects my thoughts. But ultimatly, I thought it was a funny bit.^

IndustryStandard , to linux in How dare you use a text editor because it's easy to use

Micro for the win

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

No, Micro for the linux

PseudoSpock ,
@PseudoSpock@lemmy.dbzer0.com avatar

Nah, win can have it.

RxBrad , to linux in How dare you use a text editor because it's easy to use
@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.

jmcs , to linux in How dare you use a text editor because it's easy to use

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)

grysbok ,
@grysbok@lemmy.sdf.org avatar

Walk someone else through editing a config file on the command-line over screenshare? Nano. Omg nano is your friend.

spongeborgcubepants ,

Replacing a value in a config file is still easier in vim due to e.g. ciw being a thing.

notfromhere ,

Honestly, roll back to previous release for production and use best IDE your developers are used to on their local machines, test the fix in a non production environment then release to prod. When is editing business critical scripts in production really needed?

jmcs ,

It was a joke to make the point that vim can be the easiest tool to use if you are trying to do a complex task.

notfromhere ,

I’m a bit slow on the uptake there haha. I started with vi and moved over to nano at some point and never looked back. I can refactor code in production with the best of them. There’s still some tricks I’ve seen done in vi that amazes me that I haven’t tried to figure out in nano, but for the most part it’s fairly easy to use to do nearly anything in. Even supports color for supported files, YAML, etc.

dysprosium , to linux in How dare you use a text editor because it's easy to use

For vim I had to config or install something just to be able to COPY something to use outside vim, how backwards is that? Isn’t this the most standard feature one can expect to work as default?

thingsiplay , (edited )

deleted_by_author

  • Loading...
  • gnutrino ,

    Once again proving that the easiest way to work out how to do something in vim is to post something along the lines of “vim sucks because it can’t do x” online :)

    flying_gel ,

    You mean you couldn’t copy some text from vim and paste it into another application? if yes, what did you have to install/configure for that? I’ve never had any issues copy paste from/to vim, console/GUI windows/Unix.

    dysprosium ,

    Sadly I don’t remember. Sometimes it comes preinstalled, sometimes not, depending on OS or something. (Maybe Manjaro gnome). I could copy and paste inside of vim, but not to/from outside vim.

    flying_gel ,

    What you observes could be OS depended,. Vim has its own copy paste buffers (y,p etc) and the OS has its own. Traditionally highligh to copy and middle mouse button to paste on Unix. Windows has 2 methods, ctrl-c,v but those are also bindings in vim so only the older less known crtl-insert,shirt-insert works.

    Copy paste is definitely built in, there is no need for extra plugins.

    Chewt ,

    it actually does work by default, you just probably missed how to do it in the help pages in vim. For those curious, the system clipboard is its own named register in vim (:help registers to learn more) and can be accessed with either “* or “+ depending on your how your system is configured.

    To copy a line: ”*yy or ”+yy

    To paste a line: ”*p or ”+p

    dysprosium , (edited )

    So I need to dive into the manual to do something as basic and universal as “copy and paste”? Why not make it Ctrl+shift+c or have it shown in the info text when pressing this almost universally accepted keypairs? Or at least make it somewhat similar to this. I find it bonkers why some programs decide to just have radically different shortcuts or defaults, the complete opposite of what feels intuitive. Same with the design of some doors that need actual SIGNS on them to tell you which direction they open. Just bad design choice.

    Edit: just remembered. Same story with tmux. Want to copy something? Surprise, it’s not anything you expect it to be. Some ctrl+b + [ or some shit

    bluewing , to linux in How dare you use a text editor because it's easy to use

    Emacs users laughing at VIM users.

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

    theshatterstone54 ,

    And to counter the old saying of it lacking a decent editor, there’s always evil-mode.

    m4m4m4m4 , to linux in How dare you use a text editor because it's easy to use

    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.

    tetris11 , (edited )
    @tetris11@lemmy.ml avatar

    they’ve changed those bindings now, Ctrl+S, Ctrl+X, Ctrl+V, and Ctrl+C all do what you think they do

    m4m4m4m4 ,

    Great, now the next time I’ll use nano I surely will forget about this and get frustrated when trying to save a file with Ctrl+O

    tetris11 ,
    @tetris11@lemmy.ml avatar

    you still can, but I think Ubuntu and other prepacked distros will switch soon to the better bindings

    socsa ,

    Great so now I will mangle all my merge commits depending on which version the host is using.

    lemmyvore ,

    I’m thinking Ctrl+C quits and Ctrl+S is scroll lock is that correct?

    tetris11 ,
    @tetris11@lemmy.ml avatar
    • nano

      • Ctrl-Q search backwards
      • Ctrl-S and Ctrl-X is save file
      • Ctrl-V is scroll down
      • Ctrl-C is cancel or info
    • nano --modernbindings

      • Ctrl-Q quits
      • Ctrl-S is save file
      • Ctrl-X is cut
      • Ctrl-C is copy
      • Ctrl-V is paste
    psycho_driver ,

    I mean quitting vim isn’t hard you just reset the computer.

    grysbok ,
    @grysbok@lemmy.sdf.org avatar

    The problem with using nano for years is that I now try using nano shortcuts in other programs. Random new windows opening is confusing, until you figure out Ctrl+o isn’t save in that program. Then it’s just annoying because you still have your inappropriate muscle memory.

    foreverandaday , to memes in Firefox + Ublock = 👑
    @foreverandaday@lemmy.ml avatar

    Manifest v3 was why I switched to FF a while ago - it was going to only be a matter of time even with the delays so I figured I should switch early. I still like how chrome looks a lot more and wish we had tab grouping, but google can take uBO from my cold, dead hands.

    Taleya ,

    Oh you can tab group and even window label in FF, check out the extensions

    Lordran_Hollow ,

    Agreed, I also miss the feature of being able to extend a screenshot on a page.

    But uBO is a necessity now to browse the Internet. The ads are so bad now.

    ArbitraryValue , to memes in Firefox + Ublock = 👑

    We need another meme like this about Firefox but with the first panel saying “Antitrust judgement against Google” and the second panel blank, without anyone coming to the rescue.

    The large majority of Mozilla’s revenue comes from the money that Google pays to be the default search engine in Firefox.

    AeonFelis , to linux in How dare you use a text editor because it's easy to use

    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>
    
    thevoidzero ,

    Just ask if it’s correct. If not destroy the universe. Only The correct will survive, it’s O(1)

    AeonFelis ,

    What if there is no correct answer?

    thevoidzero ,

    It’s not fun when you have to explain it. But basically it is based on the infinite multiverse theory. Since the multiverse splits whenever you make choices, in this case the program would spawn a large number of multiverses each with different combinations of those bits, which means at least one of them would have the exactly the combination we want. If the program destroys the multiverse it is in after it determines it is not correct, only reality that remains is the one with correct combination of bytes. Making it that we will get the code we want on the first try.

    AeonFelis ,

    You are assuming here that I know what I want. What if there is no obviously correct answer, and even in the Everett branch that generates the optimal content for the file I’ll still think it can be improved and tell it to destroy the universe?

    thevoidzero ,

    I guess yeah. In that condition the algorithm would probably destroy all universe. Although you might be able to set a threshold and not destroy when it is over the threshold.

    But situation where you don’t know the answer is not for this algorithm as this one came from sorting problem.

    ReCursing , to linux in How dare you use a text editor because it's easy to use

    Ugh, I swear vi and it’s derivatives are the absolute worse text editors going. There may have been reasons thirty or forty years ago, but now it’s just complexity and a weird ui for the sake of it

    matthewmercury ,

    I use VS Code on the desktop nowadays, but vi will always be my editor of choice in a terminal. Many of the reasons it was powerful and ubiquitous 30 years ago are still valid, so it’s still powerful and ubiquitous. And I’ve been using it for thirty years, so why would I switch to a training-wheels editor?

    ReCursing ,

    Because you want to get out of your Stockholm syndrome?

    matthewmercury ,

    Stockholm Syndrome was never real, it was made up to explain a situation where hostages recognized an injustice and refused to perpetuate it, so cops called them crazy. So sure, if you call me crazy for my affection for a tool that has served me well for decades, I’ll consider you a cop.

    ReCursing ,

    Okay… because you refuse to actually look at whether there are better options than the absolute trash you are using because you are used to it

    BaroqueInMind ,

    I’ve used other options and carefully elaborated them all, vim remained a superior tool.

    ReCursing ,

    Because you’re used to it. No other reason

    BaroqueInMind ,

    No other reason

    Yep 🙄

    matthewmercury ,

    What’s the superior choice to vim, then?

    ReCursing ,

    Literally anything up to and including poking yourself in the eyes and trying to develop laser vision to manually modify bits on the disk platter

    matthewmercury ,

    See, you’ve realized your blunder, now. Tell us what editor you use in the terminal, ReCursing, the one that is better than vim. We’d love to know.

    ReCursing ,

    If I am forced to use an editor in the terminal, nano generally. But I very rarely need to because I have a functioning modern computer from within the last 25 years and therefore have a gui I can rely on. If I somehow manage to break the gui in a way that requires me to edit a text file (itself very very rare) I can fix it with nano.

    Now, why would you voluntarily use an editor with a ui that’s needlessly confusing and convoluted, an arse to learn, and notoriously difficult to even save a file and close without checking help files if you haven’t already memorised completely random key combinations? I would say we’d love to know, but we already do. It’s because you’re an arrogant dickwad - at least that’s what your last comment makes you look like

    matthewmercury ,

    It’s because my job involves managing and operating systems that are only accessible through ssh or tty sessions. I spend hours every day in a terminal, on a remote session, frequently editing files for stuff: crontabs, configs, etc.

    I learned vi because when I was coming up, university systems only had ed, vi and emacs, with pico on the servers that had pine for email. I learned vi because it was more powerful than pico (and because I couldn’t get the hang of emacs key combos). I read the help files and learned how to use it, because it was foundational.

    Every Unix-like system has a variant of vi. Many of my container images don’t, but it’s trivial to install and use anywhere if needed.

    It’s just a more powerful tool than nano, and consequently more difficult to use. Which is fine, man. It’s okay for you to use a basic text editor on the rare occasion you have to edit something in a terminal. You don’t have cause to learn how to be productive in an advanced editor, and that’s fine.

    For what it’s worth, when I’m writing and testing python, I use VS Code.

    ReCursing ,

    It’s more powerful than nano, sure, but it’s also needlessly more complex a ui. Your use case is legit and that you know vi is a reason to continue using it, but it absolutely should not ever be the default for anything any more!

    Gacrux , to linux in How dare you use a text editor because it's easy to use
    @Gacrux@lemm.ee avatar

    is there not a single other person who uses helix?

    lenuup ,

    WTF is helix?

    Gacrux ,
    @Gacrux@lemm.ee avatar

    helix-editor.com

    essentially a terminal modal editor (like vim), but instead of specifying the action to perform then what to perform the action on (like “yank 3 lines”), in helix you select first, then perform actions on the selection (like “these 3 lines, i want them yanked”). it’s slightly better (according to others) because you get to see what you’re going to change in the file so you don’t accidentally delete 5 lines instead of deleting 4.

    on top of that many features are builtin, like tree-sitter and lsp support, so you don’t have to spend 5 hours looking for cool plugins and configuring everything to get started (my config file is only 50 lines of toml).

    the downside is that there isn’t support for plugins (yet), but there’s already things like a file picker, more than 100 themes etc.

    cmhe , (edited )

    So similar to kakoune? I tried that for a while, but it was missing some features so I went back to vim/neovim.

    I need to know vi anyway, because that is available everywhere (as part of busybox), so using vim/nvim for bigger systems just fits.

    nameisnotimportant ,
    @nameisnotimportant@lemmy.ml avatar

    Well I tried! I ended up using micro though

    smiletolerantly ,

    I gave it serious consideration when the death of Atom was announced and I was unsure where to move on to.

    Looks like in the meantime a lot has been done (as far as I remember, TreeSitter and LSP weren’t built in back then…? Not sure though), but the lack of a plugin system is still killing it for me.

    TBH it looks like it has 75% of the features you want from a codeditor, which is much more than the use-case for Nano, but no way to go the remaining 25% of the way.

    Underwaterbob ,

    the death of Atom

    I’m still in mourning.

    smiletolerantly ,

    It was pretty great, wasn’t it?

    Although I must say. I eventually landed on neovim. Steep, steep learning curve, but now I would not switch back again.

    Underwaterbob ,

    I would look at that, but I bounced off VIM hard, so probably not for me.

    spaceslug ,

    I like helix

    patatahooligan , (edited )
    @patatahooligan@lemmy.world avatar

    Helix’s editing model is so much better than vim’s. I would probably use it if it was be closer to a drop-in replacement for vim. I really hope this neovide issue gains some traction because I don’t think I can daily drive anything that isn’t as smooth as neovide again.

    wise_pancake ,

    I simply have too much vim config and muscle memory to ever leave vim

    I’m trapped in a prison of my own making!

    rhys , (edited )

    I used it for a while. The flipped mode of thinking with it was weird at first but I liked it once I got used to it.

    I don’t remember the specifics, but I vaguely recall encountering an issue with its LSP implementation that drove me toward thinking the whole LSP approach is insane and I went back to neovim.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines