• 2 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 25th, 2023

help-circle





  • Which things do you find boring and restrictive about it? I think it’s rather nice although I don’t like some of the changes after Catalina like moving from skeuomorphic icons to more symbolic ones.

    Other than aesthetics I think editing and writing is fast on macOS even when not using vim. I even changed my PCs to use mac keyboard layout because it’s better. Of course when using vim, editing should work same on any system at least in theory.


  • siipale@sopuli.xyztoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    1 year ago

    PRESSURE 30.4 inHG

    Do Americans really use inches of mercury to measure air pressure? Even millimeters of mercury would feel weird for me in weather context. I’ve seen mmHg used mostly in medical and chemistry stuff. I guess it really is anything but metric for you guys.




  • I’ve always thought that macros in vim are slow and clumsy to use. You have to think about getting back to initial state as you record if your intent is to repeat the macro several times. If you make a mistake you have to either record an action that corrects the mistake or edit the macro later after recording. You have to know beforehand how many times you want to repeat the macro or run it one at a time which is clumsy at least with Finnish keyboard layout.

    Norm command is much faster to use for my purposes because I can use it for several lines at a time without thinking about the state. I can use it with ranges or with g/re/ and v/re/ commands. If I make a mistake I just delete it. Only thing on the plus side I can think of for macros is it’s WYSIWYG approach. You have to have a visual editor in your mind when you write long norm commands.

    Here’s a tip for you: use :%norm @a to run the macro in register a for every line of the file.