Quickfix can do so much!

Поделиться
HTML-код
  • Опубликовано: 14 дек 2024

Комментарии • 70

  • @walterlw1078
    @walterlw1078 23 часа назад +29

    TJ raising a new generation of vim enjoyers. Thanks for all the effort, it's much appreciated.

  • @isaacalves6846
    @isaacalves6846 День назад +62

    C stands for quiCk.

    • @IainSimmons
      @IainSimmons 23 часа назад +22

      Because q was taken for reQord or maQro

    • @HiAdrian
      @HiAdrian 22 часа назад +5

      @@IainSimmons Me trying to quit: _recording @q_

    • @LorenzoBettini
      @LorenzoBettini 5 часов назад

      "obviously"... ;)

    • @ntitcoder
      @ntitcoder 4 часа назад

      quiC fiC

  • @j4yd34d5
    @j4yd34d5 День назад +17

    The plugins ‘quicker’ and ‘bqf’ make the quickfix list pure magic.

    • @Darkstar159
      @Darkstar159 15 часов назад +2

      Also pqf is nice alongside them

    • @karaloop9544
      @karaloop9544 11 часов назад +2

      Not to forget Trouble from folke. Very nice quickfix integration.

  • @ByronPendason
    @ByronPendason День назад +9

    I'm really enjoying this series TJ. I'm following along with my own config, building it up as we go, and it's been extremely useful. Thank you!

  • @ziggy-dev
    @ziggy-dev 19 часов назад +2

    For the diagnostics quickfix, I have ":Telescope diagnostics bufnr=0" (and one without bufnr) mapped. This makes it super easy to filter diagnostics as needed and then Ctrl+Q to send the results to the quickfix list.

  • @mbaneshi
    @mbaneshi 4 часа назад

    finally he finds his way , go to vim event , and show his expertises to world, thanks , your tongue is awesome for this purpose

  • @daidao8435
    @daidao8435 19 часов назад +2

    Quick fix list with telescope is dope

  • @daltonyon
    @daltonyon 19 часов назад

    Great video, I use :cdo a lot to refactoring, thanks TJ, I'm always learning something new in Neovim with you!!

  • @sfryxell
    @sfryxell День назад +2

    Grok the pain away. I feel half as lost as I was at the begining of this series

  • @cgent7
    @cgent7 20 часов назад

    TJ, Thanks for making videos like these.

  • @BenjaminSchwartz-w5n
    @BenjaminSchwartz-w5n 5 часов назад

    Thank you so much this video was extremely helpful

  • @stephenkbolton
    @stephenkbolton 22 часа назад

    One of my early keybinds that i love. Up down opens and closes quick fix while left right goes next previous

  • @darklord2222
    @darklord2222 14 часов назад

    This is the video I never knew I needed

  • @asciimage
    @asciimage День назад +13

    cwickfix

  • @Haskellor
    @Haskellor День назад

    Learning NeoVim while learning C doing Advent Of Code. Good for me that you're doing an Advent of Neovim ! For now I'm mostly using it like I used Vim, I haven't configured an LSP or I have one and I don't know how to use the autocomplete and stuff, but anyway it's really fun and interesting. Will keep at it for at least 3 months and I'll see if I ditch VS Code for good (although I never had anything against it beside some slowing up sometimes on personal projects).
    Thank you for the work !

  • @bagfleet
    @bagfleet 23 часа назад

    Love this series!

  • @articho28
    @articho28 День назад +4

    This is great, thanks!
    Can you also do a video about arg and arglist?

  • @azziz95
    @azziz95 День назад

    yet another cool feature of quickfix list is that you can move through the history with colder/cnewer commands

  • @omarmagdy1075
    @omarmagdy1075 20 часов назад

    I have been using vim for 4 years and didn't know about this damn.

  • @2mbst1
    @2mbst1 День назад

    Quickfix is goat and one of many reasons I won't switch over to zed; which is probably the most interesting alternative out there right now.

  • @gseidler
    @gseidler День назад +1

    Some of these mappings (like grr) and other LSP ones were not default on nvim 0.10.2 homebrew release. I read somewhere they are on the nightly builds only. Added them manually to my config.

    • @martinarce8138
      @martinarce8138 2 часа назад

      Could you share it? that'd be awesome

  • @AlexTrush
    @AlexTrush 11 часов назад

    Could you also help me understand the difference between quickfix and location list? Looks like location list could work together with quickfix list, since according to documentation it should be local for a window, but I am unable to build my workflow for it. Like, for example, put diagnostics from all project to the quickfix list, but put diagnostics for the current buffer to location list?

  • @ypathan420
    @ypathan420 11 часов назад

    is there a way to pipe all marks in a buffer to the quickfix list, in a large codebase, that would be very helpful for me

    • @ypathan420
      @ypathan420 11 часов назад

      i can use :lua=vim.api.nvim_buf_get_mark(0, 'a') to get individual marks but how do i get an array for the entire page

  • @mrhoads7
    @mrhoads7 9 часов назад

    Just dropped into this video series… what is a reference? Is that all of the other places in the module/file/project that a variable is “referenced”?

    • @reo101
      @reo101 8 часов назад

      Yep, basically. FWIW it's just a list of file locations (with row and col) that an LSP server gives you when you ask it "where do i use 'thing' under my cursor, which is at filr X, line Y, col Z". It's mostly used for variables, functions and structs/classes, yes

  • @Bvngee
    @Bvngee 22 часа назад +1

    What I want to know is, how can you easily delete an item from the quickfix list?? My brain wants to `dd` over entries like in oil.nvim or mini.files, but alas the quickfix is an immutable buffer. Do I need a plugin for this or is there a way I could remap this???

  • @elixirfun
    @elixirfun 12 часов назад

    how does he do Ctrl + an arrow to jump words in the command mode?

  • @georgivasilev3417
    @georgivasilev3417 День назад

    would love to see video for location list , as they are still confusing to me for some reason.

  • @BobSmith-u9l
    @BobSmith-u9l День назад

    Can you get to "jump to function" and "jump back"????

    • @glwbr
      @glwbr 22 часа назад +2

      If you have lsp installed and it supports you can go to function definition, declaration, implementation or usage. You can navigate the jump-list (places where your cursor was) using CTRL+o to move back and CTRL+i to go forward. The jumplist can be used with the quickfix feature, for example to quickly go to a line of code containing errors.

  • @leonardodavinci2856
    @leonardodavinci2856 День назад

    lol I was seardhing for the quick fix. But i was thinking quickfix differently.
    Wanted to know if there is some way to automatically import the missing variables in javascript.

    • @sebascoding
      @sebascoding День назад

      Those are called "code actions". It's sad VSCode don't use the proper names for things (worse if you think that they made up the names).

  • @jvdmeulen
    @jvdmeulen День назад +1

    Is it me, or is volume very low?

  • @irlshrek
    @irlshrek 19 часов назад

    I think C is for "change".
    Like cdo is "change do" and cfdo is "change file do"

  • @grim.reaper
    @grim.reaper День назад

    This is great 🤯

  • @Peter-UK-nl6cv
    @Peter-UK-nl6cv День назад +3

    cuickfix

  • @Daniel-the_one
    @Daniel-the_one День назад

    Wonderful :)

  • @chriskamu
    @chriskamu День назад

    I think if you leave out the global 'g' flag with the cdo substitute it should only replace all the correct references, since we got the references from the lsp. 😊
    Edit: I was wrong :D

    • @sebascoding
      @sebascoding День назад +3

      Only because the references were the firsts in each line, it's not reliable.

    • @chriskamu
      @chriskamu 12 часов назад

      You are right. Thanks for the correction.

  • @iambasanta
    @iambasanta 16 часов назад

    I always thought c was for current. LOL

  • @Kane0123
    @Kane0123 День назад

    Let's go

  • @bibekshah3701
    @bibekshah3701 15 часов назад

    C for quickfix is far better than K for knife

  • @artyshan5944
    @artyshan5944 День назад +1

    More like a slowfix for me

  • @severgun
    @severgun День назад +2

    cuiqfix

  • @bkerzy46
    @bkerzy46 23 часа назад

    if you write "cuick" and pronounce it in spanish, it sounds exactly like "quick", so maybe that's why

  • @ajcollins623
    @ajcollins623 День назад +3

    Cuikfix

  • @caioleonhardt
    @caioleonhardt 23 часа назад +1

    the keymap was really great. The only thing it didn't work for me was the ":.lua" command to execute the line. I gonna check the documentation, it seems pretty neat.

    • @Bvngee
      @Bvngee 22 часа назад

      I was having trouble with that one too, I kept getting errors even in nvim 0.10.x

    • @caioleonhardt
      @caioleonhardt 21 час назад

      @@Bvngee E471: Argument required ?
      btw, I had 0.9.5 and upgraded to 0.10.2 and it worked.

    • @Bvngee
      @Bvngee 19 часов назад

      @@caioleonhardt yup, that was the one. I’ll keep that in mind thanks

  • @At-Dawn-We-Ride
    @At-Dawn-We-Ride 19 часов назад

    Why the amused reaction to "c"? It's spelled "cuic" (not "quick") after all. 🤓

  • @slawtul
    @slawtul День назад

    Aren't you tired of writing code exclusively using a keyboard? Pressing the 'ESC' key or typing 'jj' non-stop for several hours is really exhausting. By the end of the day, I'm genuinely tired of writing code.

  • @kdcadet
    @kdcadet День назад

    this is g@eat! thank you!