Custom Right-Click Menus in Neovim (LOL)

แชร์
ฝัง

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

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

    yaeh we are interested to learn more about jumplist and tag stack

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

      coming up next :)

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

      ​@@teej_dv appreciate it😍

    • @follantic
      @follantic 7 วันที่ผ่านมา

      100%!

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

      Yep! I currently only use the jumplist so I suspect I'm missing out on some key functionality that tag stack can provide.

  • @sahilmishra2945
    @sahilmishra2945 9 วันที่ผ่านมา +6

    theres not a single time when you say "should I go over this" where I say no, in fact it's nice because it gives me a heads up for something new that I should check out, wish you had a 10 minute long video where you just say should I go over and then list every cool feature

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

    Very interested in jumping back!
    I always just use Ctrl-O; but really need more specific jumpbacks such as within the same file.

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

    despite how little I care about this specific content, i find it interesting to learn more about the vim api

  • @tilakmadichettitheappdeveloper
    @tilakmadichettitheappdeveloper 9 วันที่ผ่านมา +94

    cancel this guy now

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

      Well he also made telescope so cut him some slack

    • @no_name4796
      @no_name4796 9 วันที่ผ่านมา

      @@abhiavipatel and nvim-lspconfig. Who really uses neovim for editing code without using that plugin lol?

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

    I see, april fool's advent of nvim.

  • @ranjithkumar-xt2zw
    @ranjithkumar-xt2zw 9 วันที่ผ่านมา +5

    Thanks teej for posting daliy

  • @akshettrj
    @akshettrj 8 วันที่ผ่านมา

    Loving this series 👏🏻👏🏻

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

    Hey TJ, I wanted to thank you for this initiative. I had tried to switch to (n)vim for some time now. The explanations you are giving in this series helped me fill some of the gaps and questions I had. One thing still remains a pain for me. I usually have 2 "tabs" (windows in vim land) open - usually code and test or code and code. And during development I need to move those tabs to the left or right and have specific files in the left and right. Could you please do a video on that. How to manage windows with specific buffers and switch them easily? Thanks

    • @jamesaffleck4192
      @jamesaffleck4192 9 วันที่ผ่านมา +2

      I'm not sure if this is what you want.
      C-w h/j/k/l = switch to active window to the left/below/above/right of current window.
      (Many people remap these to just c-h/j/k/l)
      C- H/J/K/L = move window to that direction
      Another handy one is using c-6 or is it c-^ this switches to most recent vim buffer (like last channel on a TV remote).
      A lot of people don't absolutely love the above setup, so they will also use primeagen's harpoon plugins, or use telescope's buffer search.
      :Telescope buffers
      To pick the file they want.
      For switching tabs gt/gT switch to prev/next tab.

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

    "attempt to call field '_get_urls' (a nil value)" I guess it's another case of use of a function not yet in the stable release?

  • @mohitkumar-jv2bx
    @mohitkumar-jv2bx 9 วันที่ผ่านมา +6

    I can easily see people unpacking their pitchforks. 😂😂

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

    Finally I can satisfy the right click and “reveal file in Explorer” option that I miss from vscode lol. Plus I can now add whatever the hay option I want!

  • @MichaelGame_Dev
    @MichaelGame_Dev 7 วันที่ผ่านมา

    Thanks for updating the github! This series has been helpful.
    I'm currently using Lazyvim, but it's a bit too much. I want to use something like a cross between this and kickstart. The default kickstart file just has so many tables in it, it gets difficult to understand where I am in the structure!

  • @craigdanielmaceacher
    @craigdanielmaceacher 9 วันที่ผ่านมา +2

    Probably a little easier to setup the amenu using the LspAttach/LspDetach autocmd, so we know we have an lsp attached the buffer

  • @Windeycastle
    @Windeycastle 6 วันที่ผ่านมา

    Because I've never heard about jumplist and tag stack, it would be very interesting to hear about!

  • @zenshade2000
    @zenshade2000 9 วันที่ผ่านมา +2

    Oh Lord, now we're going to get newbies turning Neovim into VsCode, which I find just hilariously funny for some reason. :)

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

    i wish we could change the border of popup menu.

  • @11WicToR11
    @11WicToR11 9 วันที่ผ่านมา +2

    i would like to see jump-list video ...i m still confused about "ctrl-o" and "ctrl-t", and why both work for lsp references for example

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

    6:47 cool! I didn't know C-t back command!

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

      I didn't either, I always used Ctrl-o, which isn't quite the same lol.

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

      @@hyperthreaded same here!

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

      Same, even though I won't use the menu, just for that piece of information was worth watching the full video

  • @theTalkingYuccaTree
    @theTalkingYuccaTree 8 วันที่ผ่านมา

    This video is sacrilegious

  • @zohaibakber3056
    @zohaibakber3056 9 วันที่ผ่านมา +7

    multi cursor tutorial when?

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

      Multicursors were pushed to 0.12
      Ie they aren't yet a thing on neovim

  • @Teslacoil33
    @Teslacoil33 6 วันที่ผ่านมา

    Me before watching the video: I'll just watch this one, but there's no way I'll actually bother with it.
    Me after watching the video : O.O

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

    Great tutorial. But where‘s the test? Red test, green test, you know? How can I be sure it works?

    • @paulosantana9607
      @paulosantana9607 9 วันที่ผ่านมา

      He did functional tests and even got the video as evidence

  • @MCTTABOB
    @MCTTABOB 9 วันที่ผ่านมา

    actually I'm guilty of using mouse a lot in neovim and this is quite useful
    its because my primary occupation is just reviewing code and writing very little

  • @adriansrfr
    @adriansrfr 8 วันที่ผ่านมา

    One thing id love to see is to be able to query lua and return a pretty table. It seems it should be able to be done with csv, json, toml, yaml, etc but I have not figured out how to do it. Can telescope do this?

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

    Jump list video would be really good

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

    Finally, I can use VIM

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

    Error executing lua callback, attempt to call field '_get_urls' (a nil value). Do I need any package to use the _get_urls function?

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

      I had the same problem, and I checked the code at the github page for the _defaults.lua and I can't see what I'm missing or messing up

    • @avuenja
      @avuenja 9 วันที่ผ่านมา

      Same thing here, check on GH, and nothing missing. Idk why works on TJ machine haha @teej_dv

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

      @@LocoFreeman Same, well, I guess I could try to use other method, but to be honest is a function I won't ever use so I just deleted it:
      vim.cmd [[
      aunmenu PopUp
      anoremenu PopUp.Inspect Inspect
      amenu PopUp.-1-
      anoremenu PopUp.Definition lua vim.lsp.buf.definition()
      anoremenu PopUp.References Telescope lsp_references
      nnoremenu PopUp.Back
      amenu PopUp.-2-
      ]]
      local group = vim.api.nvim_create_augroup("nvim_popupmenu", { clear = true })
      vim.api.nvim_create_autocmd("MenuPopup", {
      pattern = "*",
      group = group,
      desc = "Custom PopUp Setup",
      callback = function()
      vim.cmd [[
      amenu disable PopUp.Definition
      amenu disable PopUp.References
      ]]
      if vim.lsp.get_clients({ bufnr = 0 })[1] then
      vim.cmd [[
      amenu enable PopUp.Definition
      amenu enable PopUp.References
      ]]
      end
      end,
      })

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

      same issue here using Neovim v0.10.0

    • @Ninjafire300
      @Ninjafire300 8 วันที่ผ่านมา +2

      same problem

  • @Ash-qp2yw
    @Ash-qp2yw 9 วันที่ผ่านมา +1

    Update the repo, TJ!
    I've been using neovim for about 3-odd years now, and I'm considering going through and reworking my config off this series. I have some cruft that's built up that I no longer use

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

      haha sorry! just updated!

  • @JulianColeman03
    @JulianColeman03 9 วันที่ผ่านมา

    "a little bit goofy". Naaaaahhhh

  • @wcrb15
    @wcrb15 9 วันที่ผ่านมา

    OMG this is cursed and I love it

  • @Redyf
    @Redyf 6 วันที่ผ่านมา

    Please make a video on debugging and testing too

  • @RobertFletcherOBE
    @RobertFletcherOBE 9 วันที่ผ่านมา

    How do I add Devin to the right click menu

  • @Mini-kyu
    @Mini-kyu 8 วันที่ผ่านมา

    Ok. You got me..

  • @diegobarbieri7804
    @diegobarbieri7804 9 วันที่ผ่านมา

    Dayly Tj > Daily drugs

  • @sreedev
    @sreedev 8 วันที่ผ่านมา

    what is a mouse?

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

    Blasphemy

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

    :ReallyMad:

  • @niacinsoupbowl
    @niacinsoupbowl 9 วันที่ผ่านมา

    Sysadmins use neovim also and the mouse is useful for us.... Don't be dissing the mouse!

  • @averagetechnologyenojyer
    @averagetechnologyenojyer 9 วันที่ผ่านมา

    Chad

  • @cristobaljvp
    @cristobaljvp 9 วันที่ผ่านมา

    I am unsubscribing...
    jk tj keep up with the good work

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

    This video is pure heresy: blasphemy is not something to be "joked" about or classified as "funny".
    My disappointment is immeasurable and my day is ruined.

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

    1 view in 1 minute, bro fell off..

  • @Unknown_V7
    @Unknown_V7 9 วันที่ผ่านมา

    Anyone who wants to do that just go back to vscode

    • @vsz-z2428
      @vsz-z2428 9 วันที่ผ่านมา

      i never used vscode in the first place

  • @loo_9
    @loo_9 9 วันที่ผ่านมา

    despite how little I care about this specific content, i find it interesting to learn more about the vim api