Jump around buffers in Neovim

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

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

  • @ascourter
    @ascourter  8 месяцев назад

    As of Jan 2024 symbols-outline.nvim is archived but the fork can be found here: github.com/hedyhli/outline.nvim

    • @appa_23
      @appa_23 6 месяцев назад

      New version of Trouble.nvim also has this integrated

    • @ascourter
      @ascourter  6 месяцев назад

      @@appa_23 awesome! Thanks for sharing this!

  • @verb0ze
    @verb0ze Год назад +2

    I've been using vim/nvim forever, use marks quite frequently, and I can't believe I never knew about the buffer jump with capital letter marks! Thanks for sharing, I love it when I discover some new trick in vim!

    • @ascourter
      @ascourter  Год назад

      Thanks for watching! I love discovering new tricks too. Glad I could show you a good one!

  • @equu497
    @equu497 Год назад +1

    Great video Andrew! Found you a few weeks ago and I've been loving your content. Glad you talked about leap, it was one of the easiest plugins to setup and most intuitive to start using.
    In your opinion, is symbols-outline really necessary when you're used to using 'Telescope lsp_document_symbols'?

    • @ascourter
      @ascourter  Год назад +1

      Thanks @equu497! Appreciate the kind words. Good question on symbols.nvim. I don't think it's necessary per se, but it gives you a different view and some handy shortcuts like hitting r to rename a symbol. I don't think you are missing out on a lot if you have a different workflow but it could shortcut some workflows.

  • @007arek
    @007arek Год назад

    Is there a plugin or an option in telescope to filter jumplist only for current file? IDK if that list is ordered.

    • @korigamik
      @korigamik Год назад

      Telescope marks

    • @ascourter
      @ascourter  Год назад

      From what I can tell reading the code, there isn't a way to pass in something to narrow down the list. You could use :changes or g; and g, to jump to different changes in your buffer. I intend to make another video in this highlighting Harpoon since it was created due to some of the shortcomings of marks and jumplist.

  • @oreonengine9444
    @oreonengine9444 Год назад

    Hi, I don't get the autocompletion on search with ':/'. How can I enable this? Thanks for any help!

    • @ascourter
      @ascourter  Год назад +1

      Do you mean when running commands or searching in the buffer?
      This one is for commands: github.com/hrsh7th/cmp-cmdline

    • @oreonengine9444
      @oreonengine9444 Год назад

      @@ascourter No I mean when searching in the buffer

    • @ascourter
      @ascourter  Год назад

      @@oreonengine9444 Oh I see. It actually uses the same plugin (cmp-cmdline). Here's where I configure it:
      github.com/exosyphon/nvim/blob/834b36b31f99c6bac88c2ec5245173ffa99cae08/after/plugin/lsp.lua#L62

    • @oreonengine9444
      @oreonengine9444 Год назад

      @@ascourter Alright, thank you 🙏

  • @phantombeing3015
    @phantombeing3015 11 месяцев назад

    I am using lazyvim. How do i disable the dialog which pops up when i press : and type it in bpttom bar and also how to enable the autocomplete there?

    • @ascourter
      @ascourter  11 месяцев назад

      The popup is from Noice.nvim and you can disable that in your config or using :NoiceDisable. The command line autocomplete is from this plugin:
      github.com/hrsh7th/cmp-cmdline

    • @ascourter
      @ascourter  11 месяцев назад +1

      If you aren't sure how to disable that plugin then check out my video on Customizing LazyVim

    • @phantombeing3015
      @phantombeing3015 11 месяцев назад

      @ascourter ok. Thanks. I just installed and am using it. Most of the things work fine. I will try it.

    • @phantombeing3015
      @phantombeing3015 11 месяцев назад

      @@ascourter i disabled noice but the autocomplete is not working. The one where when I search, a pop up appears with possible words in doc.

    • @ascourter
      @ascourter  11 месяцев назад

      @@phantombeing3015 don't forget you need to configure the plugin after installing it. Check out this post if you are still having trouble. www.reddit.com/r/neovim/s/FqtM15tQ38

  • @Redyf
    @Redyf Год назад

    What font is that in neovim?

  • @ascourter
    @ascourter  Год назад

    What else do you use to quickly navigate in Neovim?

    • @cantucodes
      @cantucodes Год назад

      flash.nvim!

    • @Comeyd
      @Comeyd Год назад +1

      A mouse 😅
      Old habits die hard, unfortunately…

    • @devstefancho
      @devstefancho Год назад +2

      i use harpoon written by primeagen
      it helpful when switching btw two files

    • @seanarooni
      @seanarooni Год назад +1

      telescope live grep, plus i have an extra command where i grab whatever word the cursor is on and telescope live grep that word. also +1 for harpoon.

  • @lel7531
    @lel7531 Год назад

    Why not Aerial ?

    • @ascourter
      @ascourter  Год назад

      Symbols and aerial are similar to me so I picked one. Is there something you like about aerial?