social.dk-libre.fr 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

[?]Celfred »
@celfred@framapiaf.org

Day 12 - Macros

Regarding macros, q is the key ! It can avoid many repetitions.

A true life example : having a list of First name, Last name in a file (125 lines) I wanted to invert LAST NAME, First name.

I typed (from the beginning of line 1 :
qadf,A,<ESC>px0xgUf,jq
And then 125@a to repeat !

(1/2)

    [?]Hyde 📷 🖋 :debian: »
    @hyde@lazybear.social

    Day 11: Registers ⚙️. If you didnt know you can inspect all the registers, or specific ones. You can insert them easily while you type too with <C-r>.

    I summarize all the commands in this post ⤵️.

    If you participate, and do post on your blog, send me a link to them 🙏

    lazybea.rs/vimovember

      [?]Hyde 📷 🖋 :debian: »
      @hyde@lazybear.social

      ### Day 10: Insert tricks (2/2)

      5. <C-k> insert a Unicode or special character using `:digraphs`. <C-k>Eu -> €
      <C-k>$$ -> £
      6. Filename completion in the current directory with <C-x><C-f>
      7. <C-x><C-l> Whole line completion, Vim searches the buffer for lines that
      start with what you’ve typed and offers completions.

        [?]Hyde 📷 🖋 :debian: »
        @hyde@lazybear.social

        ### Day 10: Insert tricks (1/2)

        1. Press <C-o> to run one normal-mode command, then return to insert mode.
        2. <C-r> {register} to insert register content. <C-r>0 " Insert last yanked
        text
        3. <C-r> =strftime('%c') --> will insert this date Mon 10 Nov 2025 17:30:49 GMT
        <C-r> =512*2 --> will insert 1024
        4. <C-t> / <C-d> – Increase/Decrease line indent while in Insert mode.

          [?]Hyde 📷 🖋 :debian: »
          @hyde@lazybear.social

          ### Day 9: Repeat (2/2)

          * :normal .

          :3,10normal .
          -> repeats your last change on every line from 3 to 10.

          Combine this with macros or registers, and you have automation magic without writing loops.

            [?]Hyde 📷 🖋 :debian: »
            @hyde@lazybear.social

            ### Day 9: Repeat (1/2)

            Most Vim users know:

            . -> repeats your last change
            @. -> repeats your last macro

            But many don't know how to repeat your last Ex command:

            @: -> repeats your last Ex command

            Another one I like is to use `@@` to repeat the last executed macro you created
            with `q`.

            So if you ran:

            @q

            You can now type:

            @@ to repeat it once
            10@@ to repeat it ten times

            1/2

              [?]JdeBP »
              @JdeBP@mastodonapp.uk

              If you are interested in the broad range of vi clones that have existed (and still exist) over the decades, one of the better resources on the subject was published by Sven Guckes:

              guckes.net/vi/clones.html

              I hope that someone takes up the mantle here, because M. Guckes collected more information than the O'Reilly book had, and there's more to be had from the decade since.

                [?]Celfred »
                @celfred@framapiaf.org

                Day 9 - Substitute

                Today, I'd contribute by telling that the point is often to avoid repeating typing the same key. For example, try not to repeat jjjjj or kkkkk, but rather use moving keymaps such as {, CTRL-u, CTRL-D….
                The Hard Time plugin may help.

                Otherwise, I like CTRL-a in insert mode to avoid typing the same thing several times. You type it once, leave insert mode, go in insert mode somewhere else and hit CTRL-a. The same text gets written (_a_gain ?).

                  [?]Hyde 📷 🖋 :debian: »
                  @hyde@lazybear.social

                  For substitution, you don’t have to use only %. You can:

                  On visually selected lines:
                  :'<,'>s/foo/bar/g

                  Or by line numbers:
                  :10,20s/foo/bar/g

                  Or relative to cursor:
                  :.,+5s/foo/bar/g
                  (current line to +5)
                  You can use -5 to search 5 lines above your cursor too.

                  You can also use the substitution with`:global`. For example, replace only on
                  line matching a pattern:

                  :g/pattern/ s/foo/bar/

                  2/2

                    [?]Hyde 📷 🖋 :debian: »
                    @hyde@lazybear.social

                    ### Day 8: substitute

                    In Day6, we showed the use of `:%s/foo/bar/` to replace foo with bar.

                    But, did you know that you can use `:%s//blah/` to use the last search in
                    a substitution using the `//` shortcut.

                    Another great one for substitutions is `cgn`. It will search your last search,
                    and put you in a change/interactive mode.

                    Hit <Esc>, and `.` and it will go to the next one.

                    1/2

                      [?]Hyde 📷 🖋 :debian: »
                      @hyde@lazybear.social

                      You have also `:vimgrep` to search through all your files:

                      :vimgrep pattern **/*md

                      Then open a new buffer with a list of all files:
                      :copen

                      Navigate through the files using `:cnext` and `:cprev`

                      If interested in more things, like how I use Telescope, and other plugins, you
                      can check: lazybea.rs/tags/vim/

                      4/4

                        [?]Hyde 📷 🖋 :debian: »
                        @hyde@lazybear.social

                        You can count the occurrence of a word using `:s/word//gn`, it will returns:

                        6 matches on 6 lines

                        Then use n/N to search the next/previous one.
                        You can do that on a visual selection too.

                        Of course, you can also do a search and replace using `:%s/foo/bar/gc`. g for
                        global, all file, and c to confirm.

                        In Normal mode, if you want to search your history, thit `q/` and it will open a
                        new buffer with all your history searches. Pretty nice way to look into your
                        history.

                        3/4

                          [?]Hyde 📷 🖋 :debian: »
                          @hyde@lazybear.social

                          Do something on your last change with `gn` / `gN`:

                          - dgn " delete next match
                          - cgn " change next match
                          - ygN " copy previous match

                          After an operatien, just hit `.` to repeat the change on the next match.

                          2/4

                            [?]Hyde 📷 🖋 :debian: »
                            @hyde@lazybear.social

                            ### Day 7: Search

                            Vim offers many built-in features for searches:

                            * / # : searches for the word under the cursor forward / backward

                            While the above matches only the whole word, there is another option to find the
                            word inside bigger words. Use `g`:

                            * / # : matches car only
                            g* / g# : matches car, cars, carpet(s), carapace, etc...

                            1/4

                              [?]Hyde 📷 🖋 :debian: »
                              @hyde@lazybear.social

                              @pancake yeah they are great !

                              And today many tools are inspired by vim for the navigation, keybindings etc ...

                              What a great community !

                              We ❤️

                                [?]Hyde 📷 🖋 :debian: »
                                @hyde@lazybear.social

                                modes can be awkward for many users.

                                The modes are: normal, visual, insert, command, and replace.

                                One of the thing I use really often, and is unknown to many is to use in Insert mode, ctrl-o.

                                1/2

                                  [?]Hyde 📷 🖋 :debian: »
                                  @hyde@lazybear.social

                                  Day 6: Visual

                                  How to reselect your last visual region: use `gv`.

                                  When selecting with Ctrl-v, $ extends to the end of each line individually.
                                  <Ctrl-v> 5j $
                                  A, <Esc>

                                  Appends ',' at the end of each of 6 lines, even if they’re different lengths.

                                  You want to substitute only in a selected region, use `:'<,'>s/dog/cat/g`.

                                  2/2

                                    [?]Hyde 📷 🖋 :debian: »
                                    @hyde@lazybear.social

                                    Day 6: Visual

                                    Ctrl-v, to select a column block, and v, to select lines are often not used, but
                                    they are great.

                                    How to comment a paragraph quickly:
                                    `<Ctrl-v> } I# <Esc>`

                                    How to replace in visual mode:

                                    select lines or characters with `v` or <Ctrl-v> and type `r@` to replace all of
                                    them with the @ character.

                                    Change case of selected text:

                                    * gU → uppercase
                                    * gu → lowercase
                                    * ~ → toggle case

                                    1/2

                                      [?]Daniel Kastinen »
                                      @danielk@social.sunet.se

                                      Day 5: Undo

                                      I usually don't need to undo more than a step or two, but sometimes I have regretted not installing `undotree`:

                                      github.com/mbbill/undotree

                                      it allows you to walk trough your undo history and branch it, like a quick and dirty git without any commits. So if you find yourself in that situation a lot, that plugin is a tip you might want to try out!

                                        [?]Hyde 📷 🖋 :debian: »
                                        @hyde@lazybear.social

                                        ### Day 5: undo

                                        Even if you don't have a DeLorean to travel back in time, with Vim you can
                                        use two commands to do it :

                                        :earlier 10m " will display the current file how it was 10 minutes ago.

                                        :later 5m " will revert changes that were written 5 minutes after going back 10 minutes

                                        Also:
                                        3u → undo last 3 changes.
                                        <C-r>3 → redo last 3 undone changes.

                                        Personally, I use this plugin: github.com/mbbill/undotree.

                                        Just go, and check it out!

                                          [?]Vieux Mâle Beige clair »
                                          @flaccide@friendica.world

                                          @ffeth

                                          Je ne veux faire pleurer personne mais là, je rejoins @Julianoe :
                                          à quoi ça sert d'utiliser laborieusement quand on a un plus graphique à portée de clics genre ou ?
                                          Vraie question dénuée de sarcasme.

                                          (Désolé pour la pollution de ton fil
                                          @Camille_Poulsard )

                                          @Joannanewsomsuperfan

                                            [?]samjc »
                                            @sam_c@mstdn.social

                                            @hyde day 5 Undo

                                            Entering insert mode counts as a single action for the sake of undo. Therefore, if you go into insert mode and type a large amount of text, you don't get much fine-grained control if you choose to undo.

                                            In light of this, it can be useful to rebind some punctuation in insert mode (such as , . ! ? ; : and <CR>) to escape to normal mode and back after inserting the mark, thus creating natural "checkpoints" in your undo history.

                                              [?]Celfred »
                                              @celfred@framapiaf.org

                                              Day 5 - Undo

                                              Speak Vim ! Easy as it sounds : u is undo (in normal mode) ;) (and CTRL-r is redo)
                                              But typing earlier (count) s(econds) or m(inutes) or h(ours)… [you get it, right ?] may be handy (later is the counterpoint).
                                              And setting the undofile option makes undo operations persistent (after closing your file), which I kind of appreciate sometimes.

                                                [?]nico »
                                                @n@social.tourmentine.com

                                                e-Jim 🖧 boosted

                                                [?]Celfred »
                                                @celfred@framapiaf.org

                                                Day 2 - Move

                                                I like using zt to move the line I'm reading to the top of the screen. zz moves it to the middle and zb to the bottom.
                                                I also often use the H, M and L keys to move my cursor to the High, Middle or Lower part of the screen without scrolling.
                                                The [Flash plugin](github.com/folke/flash.nvim) is also a great move plugin : hitting s then the searched letter, which then gets labeled with a target letter to move there in a… flash !

                                                  [?]Hyde 📷 🖋 :debian: »
                                                  @hyde@lazybear.social

                                                  Day 4: Numbers

                                                  Generate a sequence of numbers from the command mode:

                                                  :put =range(10, 50, 10)

                                                  will generate:

                                                  10
                                                  20
                                                  30
                                                  40
                                                  50

                                                  :put =range(100, 0, -25)

                                                  100
                                                  75
                                                  50
                                                  25
                                                  0

                                                  The range is (start, end, increment/decrement)

                                                  2/2

                                                    AodeRelay boosted

                                                    [?]Hyde 📷 🖋 :debian: »
                                                    @hyde@lazybear.social

                                                    Day 4: Numbers

                                                    Everybody knows Ctrl-a to increment a number, and Ctrl-x to decrement a number. Just put the cursor on the line of a number and hit, the keys! Ma - gic !

                                                    Another thing that you may want to try:

                                                    - open a file
                                                    - type:

                                                    0
                                                    0
                                                    0
                                                    0
                                                    0
                                                    0

                                                    - then Ctrl-v or V to select the lines "visually"
                                                    - hit the keys: g Ctrl-a
                                                    - Enjoy the result:

                                                    0
                                                    1
                                                    2
                                                    3
                                                    4
                                                    5

                                                    It works also if you do with two or more zeros (00, 000, etc)

                                                    1/2

                                                      [?]Celfred »
                                                      @celfred@framapiaf.org

                                                      Day 4 - Numbers

                                                      Besides the useful CTRL-a and CRT-x that increase/decrease numbers (even if your cursor is not exactly on the number, as long as it is before the targeted number), I appreciate the integrated calculator. When in Insert mde, CTRL-r, then =2+2 and you get 4 typed in your text :) (note the expert level of this example !)

                                                        opio ⏚ boosted

                                                        [?]Neil Brown »
                                                        @neil@mastodon.neilzone.co.uk

                                                        # "Using LibreOffice and other Free software for documents as a lawyer"

                                                        I was asked recently about how I get on using LibreOffice for document-related legal work, and I promised to write down some thoughts.

                                                        The short answer is that I use a mix of LibreOffice and other FOSS tools, and I’m very positive about it, with no particular concerns.

                                                        If you have questions, please do ask!

                                                        neilzone.co.uk/2025/11/using-l

                                                          [?]Hyde 📷 🖋 :debian: »
                                                          @hyde@lazybear.social

                                                          Please boosts 🙏

                                                          We want more people 🙌🏼

                                                            Ewen boosted

                                                            [?]Hyde 📷 🖋 :debian: »
                                                            @hyde@lazybear.social

                                                            :1,.d " delete from top to current line
                                                            :%d " delete the entire file
                                                            :/foo/,/bar/d " delete from the first match of foo to first match of bar

                                                            d3w " delete three words
                                                            dG " delete to end of file
                                                            dgg " delete to beginning of file

                                                            There are so many great ways to edit your files with

                                                            3/3

                                                              Ewen boosted

                                                              [?]Hyde 📷 🖋 :debian: »
                                                              @hyde@lazybear.social

                                                              Some other tips:

                                                              :g/foo/d " delete lines containing foo
                                                              :v/foo/d " delete lines NOT containing foo
                                                              :g/^$/d " delete all empty lines
                                                              da( " delete a pair of parentheses and content
                                                              di" " delete inside quotes
                                                              da{ " delete a block with braces
                                                              d2ap " delete two paragraphs
                                                              dtX " delete until character `X`
                                                              dfX " delete through character `X`
                                                              dT/ dF " same but backward

                                                              2/3

                                                                e-Jim 🖧 boosted

                                                                [?]Hyde 📷 🖋 :debian: »
                                                                @hyde@lazybear.social

                                                                Day 3: delete

                                                                While we have the common dd, x or d{motion} like dap to delete a paragraph or daw to delete a word, there are less known ones.

                                                                When you do a 'd' like 'dap' to delete a paragraph, Vim copies it in the _yank_ register, overwriting what you have copied before.

                                                                To avoid that, use the "black hole register":

                                                                "_d{motion}

                                                                "_dd will delete the line without storing it.

                                                                1/3

                                                                  controlc boosted

                                                                  [?]Hyde 📷 🖋 :debian: »
                                                                  @hyde@lazybear.social

                                                                  Day 2: moves

                                                                  offers many effective ways to move around in your files.

                                                                  Beyond the common ones, 0,$, gg, G, there are also some I use quite often:

                                                                  `. That's backstick and the dot. It will move to the last exact place where you edited your files.

                                                                  Or '. The quote and the dot does the same but it goes at the start of the last edited line.

                                                                  Of course, I love also { and } for paragraphs, and many others !

                                                                    [?]Hyde 📷 🖋 :debian: »
                                                                    @hyde@lazybear.social

                                                                    Today, for : moves!

                                                                    Join us, and share some tips, thoughts about how you use moves :)

                                                                    The original post about the challenge:
                                                                    lazybea.rs/vim-adp/

                                                                      AodeRelay boosted

                                                                      [?]nixCraft 🐧 »
                                                                      @nixCraft@mastodon.social

                                                                      Vim was released 33 years ago. To celebrate, try this: open Vim and type :smile to see an Easter egg. Happy birthday to the best programmers text editor out there!!!

                                                                      The :smile command is a charming Easter egg added to the Vim editor by its original creator, Bram Moolenaar (who sadly passed away). This screenshot shows that Easter egg.

                                                                      Alt...The :smile command is a charming Easter egg added to the Vim editor by its original creator, Bram Moolenaar (who sadly passed away). This screenshot shows that Easter egg.

                                                                        Breizh boosted

                                                                        [?]It's FOSS »
                                                                        @itsfoss@mastodon.social

                                                                        Happy birthday to Vim! 🥳

                                                                        Happy Birthday

Vim logo

Nov 2, 1991

It's FOSS

There are multi-colored balloons on the four corners of this image.

                                                                        Alt...Happy Birthday Vim logo Nov 2, 1991 It's FOSS There are multi-colored balloons on the four corners of this image.

                                                                          Russ Sharek boosted

                                                                          [?]Hyde 📷 🖋 :debian: »
                                                                          @hyde@lazybear.social

                                                                          This month, the carnival was a FAIL.

                                                                          So, for November, I won’t host a carnival again, but instead, I’ll start a new Vim project inspired by

                                                                          Boosts are welcome 🙏🏼

                                                                          lazybea.rs/vim-adp

                                                                          Rules for the Vimovember project

                                                                          Alt...Rules for the Vimovember project

                                                                            [?]Yann Büchau :nixos: »
                                                                            @nobodyinperson@fosstodon.org

                                                                            Is really the only standalone desktop calendar app that can just subscribe to calendars? 🤨

                                                                            needs a ton of dependencies and stuff running.
                                                                            the same for .
                                                                            apparently just hooks into GNOME online accounts.

                                                                            There are some terminal calendar apps, but yeah... If one has keybindings and is configurable via config files, I am open to suggestions.

                                                                              [?]Patrick :neocat_flag_bi: »
                                                                              @patrick@hatoya.cafe

                                                                              why use tmux when you can just :vsp and :term in vim ​:neocat_floof_explode:

                                                                                JP Mens boosted

                                                                                [?]synlogic4242 »
                                                                                @synlogic4242@social.vivaldi.net

                                                                                AWS down

                                                                                Linux, curl, sqlite3 and vim all still up and rock solid

                                                                                complexity kills, kids!

                                                                                :-)

                                                                                @bagder








                                                                                  [?]Hyde 📷 🖋 :debian: »
                                                                                  @hyde@lazybear.social

                                                                                  🗳
                                                                                  DamonHD boosted

                                                                                  [?]JesseBot »
                                                                                  @jessebot@social.smallhack.org

                                                                                  What's your terminal based editor on Linux/Unix? If it's not listed here, please comment!

                                                                                  #tui #terminal #Linux #unix #editor #ide #vim #vi #neovim #Emacs #spacemacs #nano

                                                                                  vi:11
                                                                                  vim:72
                                                                                  neovim:57
                                                                                  nano:34
                                                                                  emacs:50
                                                                                  spacemacs:2
                                                                                    AodeRelay boosted

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

                                                                                      [?]nico »
                                                                                      @n@social.tourmentine.com

                                                                                      [?]Wolf »
                                                                                      @YesJustWolf@hachyderm.io

                                                                                      @b0rk I am so glad you are giving the a try. I used (and later, ) for decades and Helix is really making things better for me. I’m sure I’m just one of many who follow you and have posted recommendations for Helix. If I recall correctly, when I mentioned it, I did tell you not to listen to me but to find someone you know and trust. That seems to have done the trick, though I’m sure none of this has anything to do with me. I’m just glad you have a new tool to evaluate, one I consider worth using. Good luck, and keep us posted, please!

                                                                                        [?]Simon D. »
                                                                                        @siltaer@piaille.fr

                                                                                        Comment reformater des données JSON compactées pour les rendre plus lisibles par un humain.
                                                                                        grimoire.d12s.fr/2025/format_j

                                                                                        :%!jq .

                                                                                          Corentin boosted

                                                                                          [?]Bruno Bord »
                                                                                          @brunobord@dice.camp

                                                                                          Comment ai-je pu vivre toutes ces années sans savoir que l'historique (n)vim n'est pas linéaire et qu'il peut être parcouru sous sa forme arborescente, aussi et surtout grâce à github.com/mbbill/undotree ??? (bientôt dispo dans une prochaine release de nvim, de base, sans plugin)

                                                                                            [?]Hyde 📷 🖋 :debian: »
                                                                                            @hyde@lazybear.social

                                                                                            OK you have only two / plugins to use which one would they be ?

                                                                                            Anyone user interested in writing an article on this for the ?

                                                                                              [?]chesheer »
                                                                                              @chesheer@mastodon.bsd.cafe

                                                                                              So, exporting 73Kb ODS document (several sheets with one small table on each one of them) into XML in results in 439Mb file.
                                                                                              basically dies on this file. opens it instantly. I can even navigate it freely and syntax highlighting works. Although it doesn't help much.
                                                                                              Here's a catch:

                                                                                              me@desktop:~/temp$ wc -l file.xml
                                                                                              1 file.xml

                                                                                              It's a 439 Mb long line.
                                                                                              I have no idea what's wrong with LibreCalc.

                                                                                                Luc, framage boosted

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

                                                                                                Dumb trick: I knew that I wanted to jump about ¾ of the way into my file, but didn't want to page down a whole lot from the top of the document, nor did I want to jump to the bottom and page up a bunch.

                                                                                                Vim lets you type a number and the "%" to jump to a particular percentage line of the file. So to jump to my target, I typed

                                                                                                75%

                                                                                                and bang, landed within a couple lines of my desired destination. To learn more:

                                                                                                :help N%

                                                                                                  [?]Hyde 📷 🖋 :debian: »
                                                                                                  @hyde@lazybear.social

                                                                                                  The second edition of the Carnival

                                                                                                  October's topic is 'Best unknown plugins?'

                                                                                                  It's not specific to you can also write about 😉

                                                                                                  : 94/100

                                                                                                  lazybea.rs/vim-carnival-202510

                                                                                                    [?]Wolf »
                                                                                                    @YesJustWolf@hachyderm.io

                                                                                                    @hare_ware Putting in my vote for . I've used everything you've mentioned. I'm a expert (I've even made videos). is what we use at work and has been a favorite (with Vim bindings ) forever; but I'm all in on Helix. This is a datapoint for you, not any kind of coercion. Give it a chance, compare, decide if it gives you what you need.

                                                                                                      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.

                                                                                                        [?]Niels K. »
                                                                                                        @nielsk@mastodon.social

                                                                                                        Whatever I do in my work as a be it writing yaml for Ansible or Salt or programming, I always go back to (or nowadays ) on my local machine. I don’t even know why it feels so annoying to switch between a a non-cli editor like VS Codium, Pycharm, etc, even emacs and my terminal.

                                                                                                          [?]Hyde 📷 🖋 :debian: »
                                                                                                          @hyde@lazybear.social

                                                                                                          034! This week @thorstenzoeller is my guest.

                                                                                                          If you love , / , , you should follow him!

                                                                                                          He was kind to reply to those topics:

                                                                                                          -
                                                                                                          -
                                                                                                          -
                                                                                                          -
                                                                                                          -Eggplant

                                                                                                          This is 91/100 post for the challenge.

                                                                                                          lazybea.rs/ovr-034

                                                                                                            [?]kazé »
                                                                                                            @fabi1cazenave@mastodon.social

                                                                                                            Vous utilisez Vim avec les flèches ? Ou peut-être avec HJKL ? Dans les deux cas, vous sous-utilisez complètement votre éditeur, et ma conf au prochain @capitoledulibre est faite pour vous !

                                                                                                            (comme , , …) dispose d’un ensemble de commandes de déplacements bien plus pertinentes qu’un simple pavé de flèches, fût-il proche de la position de repos.

                                                                                                            cfp.capitoledulibre.org/cdl-20

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

                                                                                                              Which is the greatest pro book? Still Practical Vim?

                                                                                                                [?]Paul :python: :django: »
                                                                                                                @pbx@fosstodon.org

                                                                                                                I was in a small town cafe today working in my Org files in when a guy walked past me and said, “I’m more of a guy so I’m going to sit over here.”

                                                                                                                I think we’ll be friends.

                                                                                                                  [?]Bruno Cesar Rocha ★ rochacbruno »
                                                                                                                  @bruno@go.rocha.social

                                                                                                                  I did something :)

                                                                                                                  BTW: This is #vim 9 not #neovim

                                                                                                                  Vim 9 with Claude

                                                                                                                  Alt...Vim 9 with Claude

                                                                                                                    Tykayn boosted

                                                                                                                    [?]kazé »
                                                                                                                    @fabi1cazenave@mastodon.social

                                                                                                                    Woohoo ! Ma proposition de conférence au Capitole du Libre vient d’être acceptée : « Navigation Vim : la vie après HJKL »
                                                                                                                    cfp.capitoledulibre.org/cdl-20

                                                                                                                    Ça sera le 15 ou 16 novembre à Toulouse. J’y serai tout le weekend, notamment sur le stand des où on pourra parler , , ,

                                                                                                                    Merci à l’équipe du @capitoledulibre de valider si vite les propositions, ça facilite l’organisation. Courage à vous !

                                                                                                                      AodeRelay boosted

                                                                                                                      [?]knoppix »
                                                                                                                      @knoppix95@mastodon.social

                                                                                                                      It replaces Maps since you’re not going outside. 😅⌨️

                                                                                                                      This could be @nixCraft 's setup.

                                                                                                                      A meme showing popular Google apps replaced by Vim editor icons, labeled “DEGOOGLING GUIDE.” Gmail, Google Photos, Google Search, Chrome, Google Keep, Google Drive, Google Passwords, Google Auth, Google Calendar, Play Store, ChatGPT, and Google Maps are all replaced by Vim, except for "No VPN" which is crossed out.

                                                                                                                      Alt...A meme showing popular Google apps replaced by Vim editor icons, labeled “DEGOOGLING GUIDE.” Gmail, Google Photos, Google Search, Chrome, Google Keep, Google Drive, Google Passwords, Google Auth, Google Calendar, Play Store, ChatGPT, and Google Maps are all replaced by Vim, except for "No VPN" which is crossed out.

                                                                                                                        xcanehan 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

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

                                                                                                                          @ploum What I mostly use, however, is a self-written program which is loosely based on "rem" but tailored to my needs. And while I would agree that a text-file-based calendar is suitable for most things (and the simplicity and elegance of the calendar.txt format appeals a lot to me), there are a few reasons why I would probably not want to rely on it alone:

                                                                                                                          * I would have to look up the dates for certain events like moving holidays or moondays by other means (and I would have to *remember* looking them up beforehand).

                                                                                                                          * I like to be able to be reminded about certain events in advance.

                                                                                                                          * Sometimes, I might be interested in recurring events rather far in the future, which I would likely not have entered manually in a text file at that point (this is rather an edge case, admittedly).

                                                                                                                          Yet, I like the calendar.txt format pretty much, and I guess I will use it alongside my own program for a while and see how it works out.

                                                                                                                          Also, it is pretty easy to create a syntax file for the format, which might make editing it even more pleasant!

                                                                                                                          (2/2)

                                                                                                                            [?]Hyde 📷 🖋 :debian: »
                                                                                                                            @hyde@lazybear.social

                                                                                                                            @rl_dane where's your post about how you use ?

                                                                                                                              [?]barrys not henryu »
                                                                                                                              @harrysentonbury@social.linux.pizza

                                                                                                                              [?]Hyde 📷 🖋 :debian: »
                                                                                                                              @hyde@lazybear.social

                                                                                                                              Today is officially the first day for the Carnival

                                                                                                                              September's topic is 'How do you use Vim?'

                                                                                                                              It's not specific to Vim, if you are interested, you can also write about or 😉

                                                                                                                              : 88/100

                                                                                                                              lazybea.rs/vim-carnival-sept-2

                                                                                                                                6 ★ 2 ↺
                                                                                                                                Breizh boosted

                                                                                                                                [?]oldsysops »
                                                                                                                                @oldsysops@social.dk-libre.fr

                                                                                                                                @oldsysops@social.dk-libre.fr this first google request as a linux user was : "how to exit vim".
                                                                                                                                some things never change...

                                                                                                                                  [?]DeaDSouL :fedora: »
                                                                                                                                  @DeaDSouL@fosstodon.org

                                                                                                                                  @deshipu Nice setup!

                                                                                                                                  Just wondering, why multiple instances over splits (`:vs` and `:sp`) ?

                                                                                                                                    [?]ploum »
                                                                                                                                    @ploum@mamot.fr

                                                                                                                                    Lorsqu’un geek s’est définitevement mis à sur un clavier ergonomique, on dit qu’il est "casé"

                                                                                                                                    Et vous savez le bruit que font les touches d’un ergonautes qui tape hyper rapidement dans ? Elles font "jousssssss"

                                                                                                                                    Et le bruit d’une blague particulièrement débile devant un auditoire silencieux ?

                                                                                                                                    Elle fait "ploum"

                                                                                                                                    De rien

                                                                                                                                    poke @vjousse et @fabi1cazenave

                                                                                                                                      [?]Entité terrestre auto-critique »
                                                                                                                                      @s4mdf0o1@piaille.fr

                                                                                                                                      Elle m'a notamment fournit des scripts de config à mon propre goût et usages (sauvegarde et restauration de sessions dans des projets ), à partir de custom plugin sessions.vim, à chargement auto dans le dossier courant, énorme.

                                                                                                                                        [?]Fedilab Apps »
                                                                                                                                        @apps@toot.fedilab.app

                                                                                                                                        @ShinIce You can long press on the tab of a tag timeline, press "Any of these" to add more tags to the same tab/timeline. (In the input box, tags are separated by a space)

                                                                                                                                        For example, long press on tab and add 'nvim' and 'neovim' to it

                                                                                                                                          [?]Shin.Ice :debian: »
                                                                                                                                          @ShinIce@social.tchncs.de

                                                                                                                                          Hey @apps would it be possible to make the timelines editable? I mean, I use them a lot to have a quick jump over to followed hastags but I also like to group some. For example and , right now I have 3 different xD
                                                                                                                                          If needed I can also file an issue, just let me know =)

                                                                                                                                            controlc boosted

                                                                                                                                            [?]scy »
                                                                                                                                            @scy@chaos.social

                                                                                                                                            In (and ), you can use "gf" to open the file under the cursor for editing.

                                                                                                                                            However, this only works if that file already exists.

                                                                                                                                            If it doesn't, and you want to open it as a new, empty file for editing, you can use ":e <cfile>" instead.

                                                                                                                                            (see :h <cfile>)

                                                                                                                                              [?]Wolf »
                                                                                                                                              @YesJustWolf@hachyderm.io

                                                                                                                                              update: I've come to rely on it. It's a must have for my daily shell usage. Works great everywhere ... except on . Lots of problems there. Here's how I solved them:

                                                                                                                                              * Install `ble.sh`. Use `curl` to do this. Do not get it with Git. Do not attempt to build from source.
                                                                                                                                              * Install by sourcing `ble.sh` at the **end** of your `.bashrc`. That's how the instructions about getting it with `curl` tell you to do it. The Git based instructions want you to say something different in your `.bashrc`. You want the `curl` instructions.
                                                                                                                                              * In my install, was too slow out-of-the-box. Missed keystrokes, etc. I copied the `blerc.template` from the GitHub repo to a local `~/.blerc`, and edited it to disable almost every kind of completion and also syntax highlighting. Speed is now acceptable. (Might be that my box is too slow. That seems unlikely.)
                                                                                                                                              * I use `vi` mode; . `ble.sh` picks that up from my `.inputrc`; . I use for my prompt. I had to disable in `.blerc` the showing of my current `vi` state (insert, visual, command, etc) and also edit `.inputrc` to not add characters to the prompt to show insert vs command mode. Those changes let me have my normal `starship` prompt.

                                                                                                                                              I do have one problem remaining. It's not related to `atuin`; it's related to the command line itself. In and , it's easy for me to be on the command line and get what I've typed so far directly into my editor; . Usually something like Esc-v or the like. `ble.sh` doesn't seem to have a way to do that, but maybe I just haven't found it yet.

                                                                                                                                                [?]Feu d'jais 🥞 »
                                                                                                                                                @feudjais@eldritch.cafe

                                                                                                                                                Le LSP vue_ls qui a besoin de vtsls, mais j'ai beau configurer les deux, ça ne marche toujours pas. Je vais clamser. 💀

                                                                                                                                                  [?]Feu d'jais 🥞 »
                                                                                                                                                  @feudjais@eldritch.cafe

                                                                                                                                                  Bon je galère avec Neovim, j'ai besoin de votre aide.

                                                                                                                                                  J'ai treesitter et treesitter-textobjects.

                                                                                                                                                  J'essaye de réindenter un fichier .vue. Il y a donc un mélange de HTML, JavaScript et SCSS. Pour HTML et JS ça s'indente correctement, pas d'erreur dans l'arbre des noeuds.

                                                                                                                                                  En revanche, le SCSS ne s'indente pas bien. Il y a des ERROR dans l'arbre de TreeSitter. Après avoir joué un peu avec, j'ai l'impression que ça bug à cause de :has et de @\extend.

                                                                                                                                                  Avez-vous une idée pour m'aider à résoudre mon problème ?

                                                                                                                                                  Edit : j'ai aussi vue-language-server en LSP.

                                                                                                                                                  Merci par avance. Svp retoots 🙏

                                                                                                                                                    [?]kazé »
                                                                                                                                                    @fabi1cazenave@mastodon.social

                                                                                                                                                    @ThierryStoehr Mince, j’avais jamais entendu parler du @CampusDuLibre ! Mais n’étant plus étudiant ni vacataire, je crains que cet évènement ne s’adresse pas à moi.

                                                                                                                                                    Par ailleurs, pendant ce weekend du 15-16 novembre 2025 il y a le où on aura plein de choses à présenter : , le , peut-être aussi une conférence et un atelier … La vie est une suite douloureuse de choix !

                                                                                                                                                    @lanuisance

                                                                                                                                                      [?]Paco Velobs »
                                                                                                                                                      @PacoVelobs@mamot.fr

                                                                                                                                                      @romanroe You'll have to pick over if you want to come back to the while having a modern experience regarding the tooling.