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

AodeRelay boosted

[?]Monospace Mentor » 🌐
@monospace@floss.social

Tabs vs spaces has always been a controversial topic. Thankfully, isn't biased in any way.

To convert spaces to tabs, use `:set noexpandtab`, then `:retab!`.

Convert tabs to spaces with:

:set expandtab
:set tabstop=4
:set shiftwidth=4
:retab

    AodeRelay boosted

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

    Updated to 9.2 and moved configs to ~/.config/vim/vimrc pushing to my git repos for both and 😁

      AodeRelay boosted

      [?]Michael » 🌐
      @mmcvuur@mastodon.bsd.cafe

      It's stupid how some people modify so heavily with plugins and themes. To the point where they actually needed something more in .

      I'm happy with my 39 line ~/.vimrc and 0 plugins.

        AodeRelay boosted

        [?]passthejoe » 🌐
        @passthejoe@snac.bsd.cafe

        The , which I am running in , has been grabbing a whole lot of CPU. I only noticed it yesterday, but it could have been going on a bit longer.

        Until this is resolved, I'll be using console Vim, which does ship with Bluefin Stable.

        I generally prefer gVim because I use the system clipboard a lot, and it's slightly easier with a GUI app. I also use the mouse a bit. That's the kind of Vimmer I am.

        I can make it work with console , and that's probably better for me in the long run.

        I would have moved to GUI , but my .vimrc does not work, and it would be a heavy lift to re-create it.

          AodeRelay boosted

          [?]Larvitz :fedora: :redhat: » 🌐
          @Larvitz@burningboard.net

          New post: Neovim Crash Course for Sysadmins

          Not a beginner's guide. This covers the things you still get wrong after years of Vim - efficient navigation, why your paste lands in the wrong place (and the one-key fix), YAML indentation workflows, quick macros, and what Neovim's LSP actually gives you for infrastructure work.

          Written for people who edit configs and playbooks all day.

          blog.hofstede.it/neovim-crash-

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

            VIM 9.2

            "Vim now adheres to the XDG Base Directory Specification, using $HOME/.config/vim for user configuration."

            There's a lot of cool things here!

            vim.org/vim-9.2-released.php

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

              [?]passthejoe » 🌐
              @passthejoe@snac.bsd.cafe

              Configuring #Vim as a Writing Tool
              https://itsfoss.com/news/configuring-vim-writing/

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

                I chose ! 🤪

                A carton of VIM cleaner from the 1970's

                Alt...A carton of VIM cleaner from the 1970's

                  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/

                            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 😅