Advanced telescope.nvim Examples

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ธ.ค. 2024
  • Telescope.nvim advanced usage!!
    telescope: github.com/nvi...
    fzf-native: github.com/nvi...
    I mentioned my course from boot dev, which you can check out here: boot.dev/teej
    Language Server from Scratch: • tree-sitter explained
    All notes are here: github.com/tjd...
    #neovim #lua #programming #modding

ความคิดเห็น • 91

  • @lorenzotecchia
    @lorenzotecchia วันที่ผ่านมา +16

    stayed up all night for this

    • @teej_dv
      @teej_dv  วันที่ผ่านมา +1

      Haha sorry, I'll try and have the next one done earlier in the day 😉

  • @wesleychaffin4029
    @wesleychaffin4029 วันที่ผ่านมา +23

    Sending results to the quickfix list with ctrl--q is such a hack! thanks for sharing!

    • @tkingless
      @tkingless วันที่ผ่านมา

      ctrl--q is sending all, if only want to select a few, use alt-q
      use 'tab' to select a few interested entries before alt-q sending to qfixlist
      it is useful too, refer to '?' in selection mode

    • @callmetyler
      @callmetyler วันที่ผ่านมา +3

      I use this one almost everyday. Very convenient

    • @camilocoelho7097
      @camilocoelho7097 วันที่ผ่านมา

      I am giving nvim another chance for the nth time. This is one of the things I really want to understand.

    • @shivamtrivedi4669
      @shivamtrivedi4669 วันที่ผ่านมา

      @@camilocoelho7097please do, I am telling you and do not quit this time no matter how much you want to. I also went back and forth, got frustrated multiple times but then decided to just stick with it and now I enjoy it and it's only been couple of months.

    • @krusator
      @krusator วันที่ผ่านมา

      and you can also preselect found entries with tab and then send them to quickfix list

  • @dennistanui7085
    @dennistanui7085 วันที่ผ่านมา +23

    I thought your son heard you say "live multigrep" and they thought it was a curse word and was like "heeey, (you can't say that)"

    • @Kane0123
      @Kane0123 วันที่ผ่านมา

      Who is your daddy and what does he do? My dad writes code and grips craps... vim btw

  • @polares8187
    @polares8187 10 ชั่วโมงที่ผ่านมา

    this video was a banger. Incredibly informative but also understandable! This is amazing

  • @ozzyaararon
    @ozzyaararon 23 ชั่วโมงที่ผ่านมา

    I've been stumbling around one of those big neovim setups like Astronvim for a while now after spending years with a custom vim setup. These telescope and lua tutes are fucking awesome dude. I've been modding neovim to my hearts delight since watching you. Getting lua in my editor is chefs kiss!

  • @lpanebr
    @lpanebr วันที่ผ่านมา +1

    13:46 that was very good! You should fake missing stuff more often so we think you're actually human.

  • @FACKDAWURLD
    @FACKDAWURLD 19 ชั่วโมงที่ผ่านมา

    You deserve millions of views for this series. Don’t worry though, this is long living content that will get views in the months/years to come. Great job!

  • @sandersjj
    @sandersjj 13 ชั่วโมงที่ผ่านมา

    This was long on my bucket list but didn't know how to do it. Thanks so much for sharing. I really love the series

  • @hackerware_sh
    @hackerware_sh วันที่ผ่านมา +3

    Really insightfull! I found the docs for creating custom telescope pickers a bit hard to digest, but this video clarifies a lot of stuff! Thanks!

  • @Theosibo
    @Theosibo วันที่ผ่านมา

    Me sitting here waiting on this mornings video with my coffee, just soaking in the advanced telescope goodness a second day in a row.

  • @radvilardian
    @radvilardian 14 ชั่วโมงที่ผ่านมา

    great series TJ, can't wait for more. What a way to my 2025

  • @jorgeimo
    @jorgeimo วันที่ผ่านมา +1

    This is just what I needed, thanks! Looking forward to more telescope videos, I’m writing a picker that fetches data to display in the picker and I was using octo as reference , but I don’t think it uses what you showed here, now I have a new thing to explore 👀

  • @ChrisLanghans-dy4bb
    @ChrisLanghans-dy4bb 6 ชั่วโมงที่ผ่านมา

    Great video.
    Would love to see a video about implementing a picker which lists all snippet names. I keep forgetting them. Listing and picking them would be really great

  • @FlaskTest
    @FlaskTest วันที่ผ่านมา +1

    thank you for continuing the series

  • @MohitVerma-q2n
    @MohitVerma-q2n 16 ชั่วโมงที่ผ่านมา

    This is awesome!!!
    Learning so much
    Thnx TJ

  • @xcuu
    @xcuu วันที่ผ่านมา

    Can’t wait to watch the video explaining harpoon :)

  • @theIbraDev
    @theIbraDev วันที่ผ่านมา

    I have been using live grep alot, and i have been putting all the results in a quickfix, and then opened that quicklist back into telescope again to filter out filetypes lul. This is a way better way to do it thanks

  • @brattonross
    @brattonross วันที่ผ่านมา

    great video as always, maybe I will write my own picker over the holidays for fun :)
    speaking of the quickfix list, in the past i've found it handy to search in telescope, hit C-q, and then use :cdo to run a command against all of the results

  • @abombfuenmayor
    @abombfuenmayor วันที่ผ่านมา

    Thanks!

  • @emersonbarros6815
    @emersonbarros6815 วันที่ผ่านมา +4

    4:16 that was cute bro

    • @Kane0123
      @Kane0123 วันที่ผ่านมา +1

      When he rebels as a teenager he's going to start using Emacs.

  • @linuxshawty
    @linuxshawty วันที่ผ่านมา

    this kind of content exactly is making me learn nvim so fast tysm

    • @linuxshawty
      @linuxshawty วันที่ผ่านมา

      i started vim a week ago but tj makes it so lighttttt

  • @numptywithacamera
    @numptywithacamera วันที่ผ่านมา

    Very cool really liking this series TJ

  • @ronniemagatti3342
    @ronniemagatti3342 วันที่ผ่านมา

    Now that's good content! Thanks for sharing!

  • @LorenzoBettini
    @LorenzoBettini 7 ชั่วโมงที่ผ่านมา

    looking forward to the new one!

  • @imrongamidli5190
    @imrongamidli5190 2 วันที่ผ่านมา +1

    Nice, thanks for coming back 😅

  • @Flonkation
    @Flonkation วันที่ผ่านมา

    Yeah , actually been wanting this finxhionality I've noticed, thx

  • @AlfioCardillo-pk2ko
    @AlfioCardillo-pk2ko วันที่ผ่านมา +1

    Wow! What a great video, this is truly amazing!
    I would like to ask if someone know if there was a way to remember the previous input we gave to telescope. I would like to implement Intellij multi grep picker, where actually when you open it, the second part (the one that matches the file name) is set already by default to the one used before, while the first part is empty so that you can search for something else.

  • @郜喜逢
    @郜喜逢 19 ชั่วโมงที่ผ่านมา

    good job, thanks for your effort

  • @benjaminpapin4312
    @benjaminpapin4312 22 ชั่วโมงที่ผ่านมา

    amazing content! thank you

  • @kenanfyi
    @kenanfyi วันที่ผ่านมา

    Thanks! Beautiful as always.
    Quick question: how can I change this custom picker's (multigrep) theme to ivy?

  • @mohammedsafki7564
    @mohammedsafki7564 13 ชั่วโมงที่ผ่านมา +1

    Hey teej what are you using to show the keystrokes below???

  • @m4saurabh
    @m4saurabh วันที่ผ่านมา

    Wake at 4:00 in the night for this.

    • @moussaadem7933
      @moussaadem7933 วันที่ผ่านมา

      he is saying he wakes up at 4am or something

    • @m4saurabh
      @m4saurabh วันที่ผ่านมา

      Nah, I sleep after I see the sun rays, at least that's actually less insane than waking up at 4AM, I wake after afternoon.

  • @FTWknob
    @FTWknob 18 ชั่วโมงที่ผ่านมา

    Could you go over how to handle multiselections? I'm trying to set up a keymap for closing multiple (selected via telescope) buffers from a list. I just can't seem to find any documentation, or source code, on handling the multiselection programatically.

  • @willernst
    @willernst วันที่ผ่านมา

    Whoa, shit got real in this one!

  • @isthisajokemate
    @isthisajokemate วันที่ผ่านมา

    Thank you TJ

  • @zeocamo
    @zeocamo วันที่ผ่านมา

    TJ you should show have to make a user command for the lua function, so the command can be mapped outside of the "plugin", and show they can call it? maybe :D

  • @SalvatoreBenedetto
    @SalvatoreBenedetto วันที่ผ่านมา

    Why not extending Telescope prompt to support arguments such as "file:tsx" like some online code search have? So that an user can write "pattern file:cpp" ?

  • @jesusrag
    @jesusrag วันที่ผ่านมา

    that's fire man

  • @한국어의이름이라면강
    @한국어의이름이라면강 วันที่ผ่านมา

    9:30 how to add @hint ?(i dont know what is called)

  • @MontlicTitagres
    @MontlicTitagres วันที่ผ่านมา

    This is magic!

  • @hyperthreaded
    @hyperthreaded วันที่ผ่านมา

    Can you have it store a per-picker last used search string and search string history, and automatically pre-fill the search field with the last used string and have some way of navigating through the history?
    Great series btw, much appreciated!

  • @zeocamo
    @zeocamo วันที่ผ่านมา

    Tj easy now, you are jump around and adding :find() without saying why at the time, we want people to make more plugins for Telescope, so take some air and easy, good video tho

  • @DEVDerr
    @DEVDerr วันที่ผ่านมา

    Is it possible maybe to change filtering in multigrep from double spaces to pipe "|" ? It's common pattern in templating languages and thought it could match better for me :D

  • @arnoeagleeyes
    @arnoeagleeyes วันที่ผ่านมา

    Great video. Tx ! One question though. Can you explain the table.insert() ? I know that it inserts a line in a table, but which table ? What does it reference ?

    • @ArdentInfoSec
      @ArdentInfoSec วันที่ผ่านมา

      Unless I miss understood, it creates a table of flags and arguments to pass to the ripgrep (rg) command in order.

    • @arnoeagleeyes
      @arnoeagleeyes วันที่ผ่านมา +1

      @@ArdentInfoSec Oh .. I must have been sleeping. The first argument is the table to insert into right ? The rg arguments part i got. tx.

  • @terxxxz
    @terxxxz วันที่ผ่านมา

    I guess If I haven't found this channel I would still be using vs code.

  • @fionnbracken
    @fionnbracken วันที่ผ่านมา

    There's a great instructive video on the youtube channel Developer Voices where he creates a telescope picker for viewing docker images, and shows how to step by step.

  • @erickerney5850
    @erickerney5850 5 ชั่วโมงที่ผ่านมา

    Totally agree this is fire and exactly what I am looking for to create some small neovim plugins. For whatever reason I cannot get the keymap portion to work though... Anyone else?

  • @taetaebahohiningamo
    @taetaebahohiningamo วันที่ผ่านมา

    buy a terminal coffee using telescope 😂

  • @ardra246
    @ardra246 8 ชั่วโมงที่ผ่านมา

    Killin!

  • @pluto8404
    @pluto8404 วันที่ผ่านมา

    nvim scares me some times when I fat finger keys and random menus pop up.

  • @marcobuess
    @marcobuess วันที่ผ่านมา

    By no means would I question my nvim overlord but allow me to ask if fzf={} is really required besides load_extension. Healthcheck shows it as OK with load_extension alone. Can I somehow confirm it's working as expected? ❤

  • @Moelkenzi
    @Moelkenzi วันที่ผ่านมา

    Thnkz Tj 😊

  • @lickflames
    @lickflames วันที่ผ่านมา

    how many takes per video do you do? :)

  • @bigmiraclewhips
    @bigmiraclewhips วันที่ผ่านมา

    very useful function

  • @prashlovessamosa
    @prashlovessamosa วันที่ผ่านมา

    Can you please release all videos all at once 😅

  • @LorenzoBettini
    @LorenzoBettini วันที่ผ่านมา

    Concerning the use of joinpath, I get a Lua warning:
    └╴ Cannot assign `string|string[]` to parameter `string`.
    - `string[]` cannot match `string?`
    - Type `string[]` cannot match `nil`
    - Type `string[]` cannot match `string` Lua Diagnostics. (param-type-mismatch) [24, 31]
    Why isn't the warning also in the video, I'm wondering?

    • @sp3ctum
      @sp3ctum วันที่ผ่านมา

      It might be that the nvim version is different. The types are bundled with nvim, I think.

  • @examinethose
    @examinethose วันที่ผ่านมา

    giving us the juice

  • @sh_zik
    @sh_zik วันที่ผ่านมา

    Commit and push your changes please

  • @romankovalov9015
    @romankovalov9015 วันที่ผ่านมา

    makes TWO videos about his plugin xD

  • @malgahfattahillahi8380
    @malgahfattahillahi8380 วันที่ผ่านมา

    hell yeah

  • @nabinmaiti9167
    @nabinmaiti9167 17 ชั่วโมงที่ผ่านมา

    pleas help my preview windownot showing any result, i have rg installed

    • @11WicToR11
      @11WicToR11 14 ชั่วโมงที่ผ่านมา

      same issue, didnt find the answer yet

  • @kleanse
    @kleanse วันที่ผ่านมา

    8:13

  • @oliverfoxi
    @oliverfoxi 13 ชั่วโมงที่ผ่านมา

    Don't you think it's too advanced? Telescope has poor documentation. I have a lot of struggle to make simple customisation for my picker😢

    • @nottheengineer4957
      @nottheengineer4957 42 นาทีที่ผ่านมา

      My brother in christ you are watching the documentation

  • @shateq
    @shateq 2 วันที่ผ่านมา

    Clutch

  • @markmcdonnell
    @markmcdonnell วันที่ผ่านมา

    Anyone got the code so i don't have to type it out 😅

  • @NicolasJoye
    @NicolasJoye วันที่ผ่านมา +1

    How do I buy you coffee...🎉

    • @ForeverZer0
      @ForeverZer0 วันที่ผ่านมา

      TJ prefers fresh goat's milk.

    • @Kane0123
      @Kane0123 วันที่ผ่านมา

      If you meant, how do i buy your coffee - thats basically self exclusion. If you meant you want to buy Teej some coffee, I'm pretty sure he has enough access to caffiene ;)

  • @fernandoalex.
    @fernandoalex. วันที่ผ่านมา

    Thanks!