Born in the early eighties, French nerd, anti-fascist, woke bloke and usually friendly.

  • 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle





  • When you spent time tinkering on your linux box, at least you usually learn some piece of knowledge that can be applied later on.

    When you tinker and debug something on windows, you usually have little idea of what went wrong and can derive very little from the experience. At least that was the case back when I still used windows, in the XP and vista days.





  • mekkagodzilla@lemmy.worldtoLinux@lemmy.worldVim Shortcuts
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I use vim macros all the time. For example, you have a bunch of lines that need the same 3 operations done:

    • insert " at the beginning of the line
    • insert ", at the end on the line
    • indent

    Press qa, do what you need to do on one line and go one line below, press q again to stop recording the macro, then you can do it 50 times with 50@a.


  • I’d build my own. More seriously, I’d use a mac, but would pester all day, like the few weeks I tried macOS at work before bringing my own computer.

    Setting up my weird keyboard layout :

    • on Linux, it’s either there during the install, or sudo dpkg-reconfigure keyboard-configuration on debian
    • on MacOS, it’s endless messing around with some weird bundle file in some specific folder but it depends on MacOS versions and the file manager won’t let you know where you are exactly nor type a folder path

    Setting up a keyboard shortcut to launch a terminal with Meta+Return:

    • on Linux, it might vary depending on your wm or DE, but it’s always easy
    • on MacOS, you have a weird app to script actions, but I never managed to make it happen

    Using a tiling window manager:

    • install i3wm
    • forget about it.