• 2 Posts
  • 8 Comments
Joined 1 month ago
cake
Cake day: January 21st, 2025

help-circle



  • I’ve been using Vim for over 10 years. The first few years I used it badly. Later I took time to really learn it. Now I can use it fairly decently, but I still learn new things every now and then.

    It feels like a really good investment. It’s been around forever, it’s gonna be around forever, it’s installed on almost all computers, and you’re going to be forced to use it at some point or another.

    I really enjoy being able to go to any computer and starting up a familiar editor, without installing or configuring stuff. I also use a very vanilla Vim. If a coworker’s laptop or some server has a different Vim config than mine, I can usually do vim -u NONE to get back to a familiar place.






  • Create a new repo locally.

    git init
    git add .
    git commit -m "Initial commit"
    

    Then to create a new remote repo, you can do this.

    git remote add origin git@git.sr.ht:~user/my-new-repo
    git push origin main
    

    You’ll get a message that says.

    remote: 
    remote:         NOTICE
    remote: 
    remote:         You have pushed to a repository which did not exist. ~user/my-new-repo
    remote:         has been created automatically. You can re-configure or delete this
    remote:         repository at the following URL:
    remote: 
    remote:         https://git.sr.ht/~user/my-new-repo/settings/info