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

Vim is built different

lemmy.ml

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

Vim is built different

lemmy.ml

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

    😳

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

    Please don’t give blanket destructive advice.

    • @[email protected]
      link
      fedilink
      3•16 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•16 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]
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 user / day
  • 218 users / week
  • 1.51K users / month
  • 4.3K users / 6 months
  • 3 subscribers
  • 1.55K Posts
  • 55.1K 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