linuxusers.in 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.

Admin email
dharmiik@proton.me
Admin account
@dharmik@linuxusers.in

Search results for tag #vim

VimLinks »
@VimLinks@hachyderm.io

If you'd like to prank a fellow Vim user, send them a text file with `vim: revins` at the bottom and ask them to type some text in it... vimhelp.org/options.txt.html#%

Unless they've turned off their `modeline` setting, something like this should happen:

Alt...A normal text file can be edited just fine. Adding `vim: revins` at the bottom turns on "reverse insert" mode the next time it's edited. Typed characters get entered right-to-left.

    oscarmlage »
    @oscarmlage@mastodon.bofhers.es

    Gruvbox feels like coming home for Christmas.

      unixbhaskar »
      @unixbhaskar@fosstodon.org

      secana 🦀 »
      @secana@mastodon.social

      TIL: has a built in command "TOhtml" which exports your code to a webpage you can share or print. neovim.io/doc/user/lua.html#vi

        radhitya.org »
        @al1r4d@pegelinux.top

        ... [SENSITIVE CONTENT]

        My setup has changed. Now, i only use and only.

        The rest is following what i need: gcc, golang.

        set nocompatible
        set autoindent
        set smartindent
        set tabstop=4
        set shiftwidth=4
        set textwidth=79
        set colorcolumn=80
        syntax off

          Hacker News 50 » 🤖
          @hn50@social.lansky.name

          Show HN: Searchable Vim Cheat Sheet with Favorites (Open-Source)

          Link: nvim-cheatsheet.vercel.app/
          Discussion: news.ycombinator.com/item?id=4

            Digital Mark λ ☕️ 🕹 🙄 »
            @mdhughes@appdot.net

            Child labelled Vi: Why are we hiding from the police, daddy?
Daddy hidden around the corner: Because we use vi son, they use emacs.
<Cop car patrolling>

            Alt...Child labelled Vi: Why are we hiding from the police, daddy? Daddy hidden around the corner: Because we use vi son, they use emacs. <Cop car patrolling>

              Digital Mark λ ☕️ 🕹 🙄 »
              @mdhughes@appdot.net

              Digital Mark λ ☕️ 🕹 🙄 »
              @mdhughes@appdot.net

              Normally I do all filtering in external scripts, even things like comments or snippets, mostly Python or awk, but repeated regexp in place makes more sense as vim9script.

                Digital Mark λ ☕️ 🕹 🙄 »
                @mdhughes@appdot.net

                You: I need emacs to process this file!
                Me: We have emacs ^[dba vim at home.

                vim9script
                # Changes all leading '\t' to ' '
                def g:Detab()
                while 1
                try
                execute ":%s/\\v^( *)\t/\\1 /g"
                catch /Pattern not found/
                break
                endtry
                endwhile
                echo "Detabbed!"
                enddef
                nnoremap <F6> :call Detab()<CR>

                (put this in your .vimrc, reload, or in a file and :so FILE )

                  unixbhaskar »
                  @unixbhaskar@fosstodon.org

                  Well, if you know very well, in case you missed it ...then

                  youtu.be/KAydUXf9jFA

                    Bastian Greshake Tzovaras »
                    @gedankenstuecke@scholar.social

                    So, yesterday I wrote my first script to make handling Markdown-templates easier. I was so proud of myself, I even wrote a blog post about it. 🚀

                    And the minor bug I discovered in my script has already been solved thanks to some great insight by @scy ❤️

                    tzovar.as/vim-templates/

                      Hacker News 50 » 🤖
                      @hn50@social.lansky.name

                      Augment.vim: AI Chat and completion in Vim and Neovim

                      Link: github.com/augmentcode/augment
                      Discussion: news.ycombinator.com/item?id=4

                        Hacker News 50 » 🤖
                        @hn50@social.lansky.name

                        Justine Smithies »
                        @justine@snac.smithies.me.uk

                        Having way too much fun re configuring my old setup and I haven't even got to the LSP and linting side of things yet. That'll get setup a little later probably using ALE and COC but I'm not 100% just yet ? I might even push my config to my git repo to share or allow others to show me the error of my ways.

                          Justine Smithies »
                          @justine@snac.smithies.me.uk

                          Slowly converting it specifically for and storing my config at ~/.vim/vimrc using vim-plug for plugin support.

                            Justine Smithies »
                            @justine@snac.smithies.me.uk

                            Haha found an old init.vim of mine that'll do for starting over with and I'm sure I'll change things up a tad as I go along.

                            https://codeberg.org/JustineSmithies/qtile-x-dotfiles/src/branch/master/.config/nvim/init.vim

                              Justine Smithies »
                              @justine@snac.smithies.me.uk

                              I'm considering moving back to from . Why ? I don't know, it just feels more my era and I'm not really feeling Lua to be honest. Has any other BSD user travelled this path too ? 🤔

                                Hacker News 50 » 🤖
                                @hn50@social.lansky.name

                                Show HN: VimLM – A Local, Offline Coding Assistant for Vim

                                Link: github.com/JosefAlbers/VimLM
                                Discussion: news.ycombinator.com/item?id=4

                                  radhitya.org boosted

                                  nixCraft 🐧 »
                                  @nixCraft@mastodon.social

                                  In the age of GenAI and privacy abuse, open-source software and everyone who is contributing to building, maintaining, and supporting FLOSS are real heroes. Today, I thank all of them on this day.

                                  I appreciate keeping software free so everyone can afford and use it. I love , , and very much.

                                  Thank you.

                                  PS: Please share your gratitude with the tag.

                                    Hacker News 50 » 🤖
                                    @hn50@social.lansky.name

                                    Justine Smithies »
                                    @justine@snac.smithies.me.uk

                                    I knew that this cheatsheet coaster would come in handy for my ksh vi mode and antics.

                                    FYI This was purchased from the link below

                                    https://www.etsy.com/uk/shop/WestArtFactory

                                    A photo of a PCB style coaster for cups with a Vim cheatsheet printed on it.

                                    Alt...A photo of a PCB style coaster for cups with a Vim cheatsheet printed on it.

                                    A photo of a PCB style coaster for cups with a Vim cheatsheet printed on it.

                                    Alt...A photo of a PCB style coaster for cups with a Vim cheatsheet printed on it.

                                      Justine Smithies »
                                      @justine@snac.smithies.me.uk

                                      As if my brain isn't going off in enough tangents already, now I'm really considering switching my oksh interactive shell from to mode. Should I be going down this rabbit hole ? FYI I am a , user but to do this I'm my terminal. I must be mad. 😜

                                        screwlisp »
                                        @screwtape@mastodon.sdf.org

                                        @dougmerritt
                                        I completely lost the scheme article I was planning to talk about after tagging all the schemers x_x I found and wrote another /#emacs personal at least x_x

                                          screwlisp boosted

                                          Ramin Honary »
                                          @ramin_hal9001@fe.disroot.org

                                          in eshell, issuing vi drops you into this interesting fantasy mode. It’s quite funny to use !! within vi within emacs. Consider using it instead of #vim or #doom.

                                          @screwtape I never thought to try that! So I checked it out, Eshell actually has a vi aliased to the command eshell-exec-visual, which goes through the trouble of creating a Term-mode buffer running a terminal process of whatever command you specify (e.g. “vi”) and titling it the name of the process (e.g. “*vi*“) for you. You can do the same thing with less, or top, probably also fish shell, though I haven’t tried it.

                                          You know what would be really funny? If you modified the find-file command to open every file in a Vi process via eshell-exec-visual!

                                          But ultimately, it is like running the man command in Emacs, which runs Less in a similar way. I usually prefer my applications to be written in Emacs Lisp (like viper or woman), and not run a compiled C program in a separate process controlling Emacs with ANSI terminal control codes.

                                          #tech #software #emacs

                                            screwlisp »
                                            @screwtape@mastodon.sdf.org

                                            Instead of working on my parser I wrote a silly useage post.

                                            medium.com/@screwlisp/executin

                                            The gist is that in eshell, issuing vi drops you into this interesting fantasy mode. It's quite funny to use !! within vi within emacs. Consider using it instead of or .

                                            Unreadably dark blue comment vi in emacs. A simple lisp program that reads and sorts a list, then quits. The invocation being done in vi, visible at the bottom, is
!!printf "(1 3 2)" | sbcl --noinform --load sort-numbers.lisp
the output from a previous attempt is visible in the comment.

                                            Alt...Unreadably dark blue comment vi in emacs. A simple lisp program that reads and sorts a list, then quits. The invocation being done in vi, visible at the bottom, is !!printf "(1 3 2)" | sbcl --noinform --load sort-numbers.lisp the output from a previous attempt is visible in the comment.

                                              unixbhaskar »
                                              @unixbhaskar@fosstodon.org

                                              Show off! 😜 ...ah, consistent reminders are everywhere, and that not letting me off :)

                                                Hacker News 50 » 🤖
                                                @hn50@social.lansky.name

                                                Hacker News 50 » 🤖
                                                @hn50@social.lansky.name

                                                Hacker News 50 » 🤖
                                                @hn50@social.lansky.name

                                                Llama.vim – Local LLM-assisted text completion

                                                Link: github.com/ggml-org/llama.vim
                                                Discussion: news.ycombinator.com/item?id=4

                                                  screwlisp boosted

                                                  nLupo :anarchist_flag: :antrans_flag: »
                                                  @nlupo@amikejo.xyz

                                                  I've become a heretic. I started to like #Emacs more and more. Don't get me wrong I like the simplicity of #Vim/#Vis, but #Emacs can be modified to be anything you want. I also like #Lisp.

                                                    Hacker News 50 » 🤖
                                                    @hn50@social.lansky.name

                                                    Bad Apple but it's 6,500 regexes that I search for in Vim

                                                    Link: eieio.games/blog/bad-apple-wit
                                                    Discussion: news.ycombinator.com/item?id=4

                                                      Hacker News 50 » 🤖
                                                      @hn50@social.lansky.name

                                                      dharmik »
                                                      @dharmik@fosstodon.org

                                                      here's a theme based on this one frame of the Nostromo UI from Alien.

                                                      here’s the theme github.com/dhrm1k/nostromo.vim. feel free to use it. fork it. edit it.

                                                      do let me know how it is.

                                                        Back to top - More...