vim-peculiar: Making quick multi-line edits in vim

Ғылым және технология

github.com/JRasmusBm/vim-pecu...

Пікірлер: 18

  • @MartinsTalbergs
    @MartinsTalbergs3 жыл бұрын

    Looks great!

  • @s1n7ax
    @s1n7ax3 жыл бұрын

    Didn't even know any of this find and norm commands existed

  • @JRasmusBm

    @JRasmusBm

    3 жыл бұрын

    Happy I could show you something new! 😄 Feel free to reach out if you have any follow-up questions 😇

  • @JRasmusBm
    @JRasmusBm3 жыл бұрын

    By the way I will work on sound and script quality in future videos, I wanted to get this out ASAP because I was very excited 😇

  • @JRasmusBm
    @JRasmusBm3 жыл бұрын

    I have updated the prompt since the video was made, please refer to github.com/JRasmusBm/vim-peculiar/issues/9 for more info 😇

  • @williamfish1407
    @williamfish14073 жыл бұрын

    I use g, v, norm, etc, all the time and have similar work flows to you it seems. Inspired by you making this easier for people and getting yourself out there 😀. I'll give the plugin a whirl!

  • @MrRedstonefreedom
    @MrRedstonefreedom3 жыл бұрын

    BTW Rasmus the script quality is fine, it isn't bad that it's "conversational". Sure, could be improved, but the sound quality is probably more important. My tip for that is to get a cheap shotgun mic & mount it to your desk (w/ a shock mount). They can be like ~$30 for a drastic improvement in sound quality.

  • @JRasmusBm

    @JRasmusBm

    3 жыл бұрын

    I had already ordered a better 🎤 when I recorded this video, so hopefully the next video will sound better 😄

  • @MrRedstonefreedom

    @MrRedstonefreedom

    3 жыл бұрын

    @@JRasmusBm I regret adding this because I think it made you miss my questions below 😅

  • @MrRedstonefreedom

    @MrRedstonefreedom

    3 жыл бұрын

    nvm I figured it out

  • @JRasmusBm

    @JRasmusBm

    3 жыл бұрын

    ​ @MrRedstonefreedom I didn't miss your comment! I just decided to make a video about it, hence the delay (see my other reply). Hope you enjoy it! 😄

  • @MartinsTalbergs
    @MartinsTalbergs3 жыл бұрын

    vim surround has a complementary plugin .. vim-repeat , maybe that source solves “.” problem

  • @JRasmusBm

    @JRasmusBm

    3 жыл бұрын

    Thank you for the recommendation! 😄 I have been experimenting quite a bit with it over the last year (one of the reasons I waited so long with releasing it). Vim-repeat works to a point, when I set it up it repeated the first interaction (i.e. the text object selection) but not the subsequent ones (i.e. the search pattern and the norm command). I tried to set it up so that vim-repeat would call PeculiarR, but then you have to resubmit the text object 😔 Happy with any recommendations as to how to make it work 😇

  • @MrRedstonefreedom
    @MrRedstonefreedom3 жыл бұрын

    2 questions: 1. at 3:21, how did you replicate temp1 4 times without leaving insert mode 2. how did you sequentially bump the numbers? C-a would've just bumped each 1 to 2 Thanks in advance!

  • @MrRedstonefreedom

    @MrRedstonefreedom

    3 жыл бұрын

    Got it, you did visual-block + g_CTRL-a

  • @JRasmusBm

    @JRasmusBm

    3 жыл бұрын

    Hey MrRedstonefreedom! 😄 Thank you so much for the great questions! I know you already found the answers, but I took them as inspiration for my next video. You can find it here: kzread.info/dash/bejne/ZHaC0ZmhlarXYto.html

Келесі