m5l.eu is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Site description
Yet another single-user instance
Admin account
@marek@m5l.eu

Search results for tag #vim

[?]Álvaro R. » 🌐
@xenodium@indieweb.social

AodeRelay boosted

[?]/dev/LUG » 🌐
@devlug@social.anoxinon.de

Kennt ihr die bash Option checkjobs?

Ich selber habe es noch nicht benutzt, aber hört sich ganz Interessant an, wenn man viel mit Jobs arbeitet.

Vielleicht sollte ich mal ein Hintergrundprozess erstellen, der in ein fifo schreibt. Ich komme bei immer durcheinander, ob ich in der shell oder in der "vim shell". Mit checkjobs müsste das Terminal ja mit einem schreiben in ein fifo in der bash bleiben. 🤔

    [?]God Emperor of Mastodon » 🌐
    @mms@mastodon.bsd.cafe

    AodeRelay boosted

    [?]Justine Smithies » 🌐
    @justine@snac.smithies.me.uk

    Since I'm now using the in built package manager of vim I made a wee script to update all of my plugins. I'll share it here if it helps anyone else out ?

    #!/bin/sh

    PLUGIN_DIR="${HOME}/.vim/pack"

    echo "Updating all plugins in ${PLUGIN_DIR}"
    for directory in ${PLUGIN_DIR}/*; do
    for subdir in "$directory"/start/* "$directory"/opt/*; do
    if [ -d "${subdir}" ]; then
    plugin=$(basename "${subdir}")
    echo "Updating ${plugin}"
    git -C "${subdir}" pull
    fi
    done
    done

    CC: @mms@bsd.cafe

      AodeRelay boosted

      [?]Justine Smithies » 🌐
      @justine@snac.smithies.me.uk

      Haha and now I have removed vim-plug and I'm using the inbuilt package manager of thanks to a tip from the God Emperor of Mastodon. 😉

        AodeRelay boosted

        [?]Justine Smithies » 🌐
        @justine@snac.smithies.me.uk

        Well look what you've gone and done now ! Only made me consider removing plug and installing the two plugins using the inbuilt system in . That'll be be another feature not required externally.

        CC: @mms@bsd.cafe

          AodeRelay boosted

          [?]Justine Smithies » 🌐
          @justine@snac.smithies.me.uk

          Yes ! Got a bufferline added to to config that shows the open tabs on the top right. It matches my statusline too. Both with no extra plugin and a wee bit of vimscript. God I love working out how things works rather than just trying to simplify my life and never know what goes on behind the scenes and why. This config is still a WIP but it's getting there and before you say it I know there is neovim which I used to use quite successfully but I just feel vim is for me.

          A screenshot of vim displaying my .vimrc and showing my custom statusline and custom bufferline

          Alt...A screenshot of vim displaying my .vimrc and showing my custom statusline and custom bufferline

            [?]Justine Smithies » 🌐
            @justine@snac.smithies.me.uk

            I reckon this quote by Steven Jay Cohen on Reddit just about sums up the reason why I'm considering going back to . The only diffence is that I will have a couple of plugins but nothing as convoluted as my present Neovim setup.
            Because I realized that all of the thing that I truly needed to do were part of Vim's Core Functionality. And, that many of the plugins I had installed just re-implemented core Vim features in slightly different ways.

            So, I got myself used to the native Vim way of doing things, and dumped all of the plugins one by one. And now, I just open Vim and get work done with very little left to tweak in a streamlined vimrc.

            https://www.reddit.com/r/vim/comments/16cdbyd/comment/jziruaw/

              [?]Jan Schaumann » 🌐
              @jschauma@mstdn.social

              Advanced Programming in the Unix Environment

              Week 5: The Editor

              In this video lecture, we look at the required feature for a full-fledged programmer's editor and illustrate some of the core functionality by example of vim(1). This includes basic motion commands, setting and moving to markers, using folds, and the use of the ':make' and quick fix lists to address compiler errors efficiently.

              (Don't worry, we'll talk about ed(1) later.)

              youtu.be/DdaJ87G9Kes

                AodeRelay boosted

                [?]teadrinker » 🌐
                @goblin@mastodon.bsd.cafe

                Look what I found in the City Museum! :%d the dirt from your dishes with , it was never easier!

                Several old Croatian advertisement posters for "VIM", which seems to be some kind of dish-washing agent.

                Alt...Several old Croatian advertisement posters for "VIM", which seems to be some kind of dish-washing agent.

                  AodeRelay boosted

                  [?]Tim Chase » 🌐
                  @gumnos@mastodon.bsd.cafe

                  @mms Though I'm biased since I was a tech reviewer on Practical Vim, I'd still put it as the best book out there. Even when weighed against Modern Vim (the follow-up book by the same author, which I also did technical review for). In the "Not shabby" department, you have the O'Reilly classic "Learning the vi and Vim Editors" (now in its 8th Edition, IIUC) which is pretty solid. There are a couple others in the market, but I've found most of them lacking in content, depth, or editing.

                    [?]God Emperor of Mastodon » 🌐
                    @mms@mastodon.bsd.cafe

                    Which is the greatest pro book? Still Practical Vim?

                      [?]God Emperor of Mastodon » 🌐
                      @mms@mastodon.bsd.cafe

                      Why do users tend to use gd for go to definition when using LSP, when c-] (or g]) is a standard go to for ctags?

                        AodeRelay boosted

                        [?]God Emperor of Mastodon » 🌐
                        @mms@mastodon.bsd.cafe

                        I there a good book on script 9? The "learn vim scrpt the hard way" assumes vim 7, and it seem script 9 is quite of a different beast.

                          🗳
                          AodeRelay boosted

                          [?]God Emperor of Mastodon » 🌐
                          @mms@mastodon.bsd.cafe

                          the subshell of holly wars!

                          (I know that I am ignoring other Vis and the standard editor)

                          vi:8
                          vim:18
                          neovim:50

                          Closed

                            3 ★ 0 ↺

                            [?]Marek S. Ł. » 🌐
                            @marek@m5l.eu

                            If you're not deeply entrenched in motions, may I recommend you try editor? It's what I use for @silverbulletmd@fosstodon.org since last year, there's config in repo.

                            Although familiarity with usual vim still comes in handy on the school computer 😅