Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 2 months ago

Vim is built different

lemmy.ml

message-square
95
fedilink
  • cross-posted to:
  • [email protected]
536

Vim is built different

lemmy.ml

@[email protected] to Programmer [email protected] • 2 months ago
message-square
95
fedilink
  • cross-posted to:
  • [email protected]
  • dohpaz42
    link
    fedilink
    English
    14•
    edit-2
    2 months ago

    😳

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

    Please don’t give blanket destructive advice.

    • @[email protected]
      link
      fedilink
      3•2 months 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•2 months 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]
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
  • 145 users / day
  • 396 users / week
  • 1.33K users / month
  • 4.57K users / 6 months
  • 3 subscribers
  • 1.64K Posts
  • 58.4K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org