halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 5 days ago

Vim is built different

lemmy.ml

message-square
85
fedilink
  • cross-posted to:
  • [email protected]
529

Vim is built different

lemmy.ml

@[email protected] to Programmer [email protected] • 5 days ago
message-square
85
fedilink
  • cross-posted to:
  • [email protected]
  • dohpaz42
    link
    fedilink
    English
    16•
    edit-2
    5 days ago

    😳

    :w = write; or overwrite if the file already exists.

    Please don’t give blanket destructive advice.

    • @[email protected]
      link
      fedilink
      3•5 days ago

      This one’s fine. They’ll then learn the next vim button, u for undo. I believe it’s saved between boots of vim? It may be my kickstarted neovim config tho

      • dohpaz42
        link
        fedilink
        English
        3•5 days ago

        I would say not in all installations, no. And honestly, it’s not worth trusting.

        And for those who are unfamiliar, and want to set it up: https://blog.openreplay.com/persistent-undo-vim-save-restore-history/

Programmer [email protected]

[email protected]

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 1.73K users / day
  • 4.75K users / week
  • 9.65K users / month
  • 18.7K users / 6 months
  • 24.2K subscribers
  • 1.5K Posts
  • 54.3K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org