schmonz.com 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.

Search results for tag #vim

[?]Profoundly Nerdy » 🌐
@profoundlynerdy@bitbang.social

Those of you with terminal and plain text first workflows, how did you handle academia? I'm imagining a mix of git, pandoc, and vimwiki or org-mode.

Is there a good article on how to setup such a workflow? Any pitfalls?

    [?]Thorsten Zöller » 🌐
    @thorstenzoeller@exquisite.social

    If you are seriously thinking about learning / , do yourself a favor and proceed as follows:

    1. Grok ed(1).
    2. Grok vi(1).
    3. Ask yourself whether you really need anything ed(1) and vi(1) don't provide.

    If your answer to step 3 is "yes", go ahead. But first, do steps 1 and 2.

    Here is how to do step 1: Read the man page (it's rather short), read "Ed Mastery" by @mwl (those two steps are interchangeable and even parallelizable), then use it consistently.

    Here is how to do step 2: Read the man page (it's rather short as well, though not as short as ed's), then use it consistently.

    Also, have a look at stackoverflow.com/a/1220118.

      JdeBP boosted

      [?]JdeBP » 🌐
      @JdeBP@tty0.social

      #netbsd boosted

      [?]JdeBP » 🌐
      @JdeBP@tty0.social

      @jpmens

      I recently wrote jdebp.info/FGA/original-vi.htm and was thinking of doing something like this, to augment it; because Sven Guckes's list (guckes.net/vi/clones.html) is definitely dated and incomplete, nowadays.

      It does not have (for obvious reasons). Most lists of clones miss that there are several forks of Bostic , not least the two forks that are in and base. Similarly, has forked nvi2.

      @lpar

        [?]R.L. Dane :Debian: :OpenBSD: :FreeBSD: 🍵 :MiraLovesYou: [he/him/my good fellow] » 🌐
        @rl_dane@polymaths.social

        SOLUTION: @gumnos came up with the idea of piggy-backing :nohl onto control-l for refresh:

        nmap <C-L> :nohl<CR><C-L
        imap <C-L> <Esc>:nohl<CR><C-L>a
        

        Hey #vim wizards,

        The number one reason I don't use search more freely when editing is that all the highlights triggers my #CDO a little bit, and :nohl is a little clumsy to type in a hurry.

        I wanted to map :nohl to an easy-to-press keybind, like ctrl-/, but I can't seem to get it to work.

        Any ideas?

        " map Ctrl-/ to :nohl
        nmap <c-Slash> :nohl<CR>
        imap <c-Slash> <Esc>:nohl<CR>a
        

        #vi #vim #nvi #nvim #VimWizards #AskFedi #HiveMind

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

          I've still not given up on as my editor instead of and to be perfectly honest, I'm not really missing the fancy Gruvbox theme and Vim's auto-completion. It's making me learn new tricks and stops me relying on the help of plugins. Good for the old grey stuff I'd say! I even changed the 88x31 button on my websites footer from Vim to Vi.

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

            Ever wonder why vi uses hjkl for movement?

            It's not arbitrary—it's hardware history. The ADM-3A terminal had arrows printed directly on those keys.

            ESC was also where Tab is now. Vi wasn't designed for ergonomics, it was designed for the keyboard that existed.

            http://www.slackware.com/~r1w1s1/nvi.html#_curiosities


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

              Haha just resolved a couple of niggling bugs in my blogs html using n(vi) on . I know it's not much but I used to use vim before and I'm easily pleased. I wonder if you get a logo like this one that says instead of ???

              An animated gif button that says edited with vim

              Alt...An animated gif button that says edited with vim

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

                I didn't know there was any config for non- . I'd like to know what you can put in there.

                I generally install Vim because I use it so much that I start hitting keys for features that vi doesn't have.

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

                  Whoah ! My config is a hearty 10 lines long compared with the 260 of my minimal config. Yeah I know I don't have theme support and what not but I'm prepared to give this a shot without all the fancy bells and whistles. The only thing it doesn't do is display my icon fonts in scripts but it's made me wonder if I even need them now. Yes nvi2 will display them but it feels like cheating to install that when n(vi) is in the base on OpenBSD.

                  EDIT OK thanks to @r1w1s1@snac.bsd.cafe I'm now at 39 lines long. 🤣

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

                    I think I'll give a go on my desktop instead of using for a while and see how I get on. Got my config in ~/.config/vi/exrc and I'm learning new to me stuff so all is good.

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

                      Hmmm decisions decisions. As an user I usually prefer with just 2 plugins installed my gruvbox theme and colorizer to color html color codes. But I'm wondering if I really need syntax highlighting and theme support ? You can see my rough and I mean rough .kshrc side by side in vim and vi. I do like a splash of color and do enjoy the command completion though so I guess I will tinker with n(vi) further.

                      A screenshot of my OpenBSD desktop showing 2 Xterm windows the left running vim and the right n(vi) both showing the output of my current .kshrc file

                      Alt...A screenshot of my OpenBSD desktop showing 2 Xterm windows the left running vim and the right n(vi) both showing the output of my current .kshrc file

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

                        Currently I'm a user with only two plugins loaded by vims own system no packer or anything. They are the gruvbox theme and colorizer to color HTML color codes.
                        I've been researching to see if I could work with and wondered about undo history and found that it might be possible ?

                        u

                        Undo the last change made to the file.
                        If repeated the u command alternates between these two states.
                        The . command when used immediately after u causes the change log to be rolled forward or backward depending on the action of the u command.

                        If you're an nvi user what other tips or hacks are there that I should know about ? I don't suppose there is some magical way to theme it ?

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

                          nice! For nvi users, no patch needed just add to your shell profile:

                          export EXINIT='source ~/.config/nvi/nexrc'

                          EXINIT is the standard ex/vi init variable, works across nvi and traditional vi implementations.

                          Just make sure ~/.nexrc and ~/.exrc don't exist, otherwise nvi reads those first and ignores EXINIT.

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

                            I just spent a half-hour hacking in the (GUI version of ) config file, and I have figured out abbreviations and custom keymapping, which means I can move my "production" editing from to Neovide with a clean Lua config file.

                            Do I need to move away from gVim/? I'm not sure, but we're in this game to try new things, right?

                            Is it worth it to move from Vimscript to Lua?

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

                              OH so it looks like the new fork is looking to drop vim9script.

                              Feature freezing vimscript and implementing Kuroko scripting?

                              https://codeberg.org/NerdNextDoor/evi/issues/46

                              That's a no from me then. Think I'll just be sticking to what I know which is Vim.

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

                                I've a couple of questions for hardcore users. Since the AI revelation will you be sticking with Vim ? If not are you watching and considering it ?

                                https://codeberg.org/NerdNextDoor/evi

                                  [?]David Cantrell 🏏 » 🌐
                                  @DrHyde@fosstodon.org

                                  Configuring a new dev VM, and it came out of the build script with an *ancient* . Now building . I will then install .vim in it because I am a pervert.

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

                                    ICYMI - EVi, a hard-fork of Vim v9.1.0 before AI was used in the project. - Codeberg.org

                                    https://codeberg.org/NerdNextDoor/evi


                                      [?]Ricardo Martín :bsdhead: » 🌐
                                      @ricardo@mastodon.bsd.cafe

                                      EVi, a hard-fork of Vim v9.1.0 (Jan 2024)
                                      codeberg.org/NerdNextDoor/evi

                                        [?]Tomáš » 🌐
                                        @prahou@merveilles.town

                                        self-report - take 2

                                        take 1: analognowhere.com/_/ratmrg/

                                        Fish: "So, this is everyone who thinks you're cool for using vi over vim."

There's a million penguins around.

                                        Alt...Fish: "So, this is everyone who thinks you're cool for using vi over vim." There's a million penguins around.

                                          [?]jack » 🌐
                                          @jack@mastodon.sdf.org

                                          Now that seems to be going down the drain... might this finally be the year of on the ?

                                          Also containing *proper" since the !

                                          Re: hachyderm.io/@AndrewRadev/1161

                                          A terminal running Emacs, running Eliza, the Emacs psychiatrist.

                                          Alt...A terminal running Emacs, running Eliza, the Emacs psychiatrist.

                                            [?]Ricardo Martín :bsdhead: » 🌐
                                            @ricardo@mastodon.bsd.cafe

                                            [?]Jeff Forcier [he/him] » 🌐
                                            @bitprophet@social.coop

                                            fuck fuck fuck fuck fuck fuck fuck hachyderm.io/@AndrewRadev/1161

                                            I had been meaning to gently consider neovim sometime…how’s the slop quotient over there? 😒

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

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

                                                [?]tusharhero » 🌐
                                                @tusharhero@mathstodon.xyz

                                                @b0rk idk if we can call vim/GNU Emacs/GNU Nano core Unix programs. Since ED IS THE STANDARD EDITOR!

                                                  [?]scy » 🌐
                                                  @scy@chaos.social

                                                  Ugh, come on. Is nothing sacred anymore?

                                                  (via kolektiva.social/@SharpCheddar)

                                                  Screenshot from the Neovim repository on GitHub. There's a warning box at the top that says "A user you've blocked has previously contributed to this repository: claude"

                                                  Alt...Screenshot from the Neovim repository on GitHub. There's a warning box at the top that says "A user you've blocked has previously contributed to this repository: claude"

                                                  Same thing, but for Vim's repo.

                                                  Alt...Same thing, but for Vim's repo.

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

                                                    So it seems 9.2 is now available on so I can test out the new features whilst waiting for it arriving on 😀

                                                      [?]R.L. Dane :Debian: :OpenBSD: :FreeBSD: 🍵 :MiraLovesYou: [he/him/my good fellow] » 🌐
                                                      @rl_dane@polymaths.social

                                                      @moses_izumi

                                                      I'm like the very worst #vim user. I've used it for a quarter century and maybe understand a tenth of its abilities. XD

                                                      I'm absolutely addicted to the vi-style modal controls for editing, as it feels like a superpower, like you're becoming one with the editor. Everything else about vim/neovim seems rather inscrutable to me, and I honestly found WordPerfect 5.1 (1989) easier to use. :/

                                                      Honestly, the people who write #TUI applications for linux and other Unixy OSes should seriously look at 1980s #DOS applications. They were actually easier to use, learn, and master, and I'm saying that as someone who hated DOS. XD

                                                        [?]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

                                                          [?]Dendrobatus Azureus » 🌐
                                                          @dendrobatus_azureus@polymaths.social

                                                          @rl_dane

                                                          If I need to synchronize between machines I use this program, Standard Notes, it's Open Source. For the rest I just open up vim.athena or vim.motif and put them in a .nfo file

                                                          https://f-droid.org/packages/com.standardnotes

                                                          #Web #links #sync #rsync #Vim #VimMasterRace #Standard #Notes #programming #technology

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

                                                            9.2 Released

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

                                                            https://www.vim.org/vim-9.2-released.php

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

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

                                                                #netbsd boosted

                                                                [?]JdeBP » 🌐
                                                                @JdeBP@mastodonapp.uk

                                                                On , Joy vi is in /usr/src/cmd/vi:

                                                                github.com/illumos/illumos-gat

                                                                On , Bostic is in /usr/src/usr.bin/vi/vi; having it in /usr/src/external/bsd/nvi; and in /usr/src/contrib/nvi:

                                                                cgit.freebsd.org/src/tree/cont

                                                                FreeBSD has an nvi2 in ports:

                                                                freshports.org/editors/nvi2/

                                                                OpenBSD has elvis in ports:

                                                                github.com/openbsd/ports/blob/

                                                                Ritter's Heirloom vi is on SourceForge:

                                                                ex-vi.sourceforge.net

                                                                STEVIE was posted to comp.sources.unix in 1988:

                                                                sources.vsta.org/comp.sources.

                                                                Unfortunately, Sven Guckes's vi Clones WWW site was never completed with some of this, notably lacking Heirloom vi, for example.

                                                                guckes.net/vi/clones.html

                                                                But it does mention oft-overlooked commercial clones such as Watcom's vi, a from-scratch implementation started in 1983 that is also now source-available:

                                                                github.com/open-watcom/owp4v1c

                                                                  [?]JdeBP » 🌐
                                                                  @JdeBP@tty0.social

                                                                  @cks

                                                                  It's not even a hot take. It's actual history.

                                                                  STEVIE came from the days when people were re-inventing Joy vi for other platforms and systems with (gasp!) arrow keys and console-paradigm I/O.

                                                                  It was less than a decade until people were thinking that Joy vi could be improved and were actively trying to make things that were better.

                                                                  Watcom vi, for another example, came out in the early 1990s and that had windows, and uses for function keys.

                                                                    [?]Justine Smithies [She / Her] » 🌐
                                                                    @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

                                                                      [?]R.L. Dane :Debian: :OpenBSD: :FreeBSD: 🍵 :MiraLovesYou: [he/him/my good fellow] » 🌐
                                                                      @rl_dane@polymaths.social

                                                                      You know what would be amazing?

                                                                      Some kind of OS-level overlay that would let you use vi movement and editing keys in any program.

                                                                      I'm talking about going beyond something like having custom QMK keystrokes to use hjlk as the arrow keys (which is super neat, to be clear). I'm talking about a little pop-up that lets you enter something like A and it hits the End key for you, or Rapple^[ and it types 'apple[del][del][del][del][del]`

                                                                      Am I the only one that thinks reaching for those special keys on the keyboard is a total drag? Especially on laptops? XD

                                                                      #vi #vim #nvim #NeoVim