Custom Right-Click Menus in Neovim (LOL)

  Рет қаралды 8,174

TJ DeVries

TJ DeVries

Күн бұрын

Пікірлер: 66
@FlaskTest
@FlaskTest 9 күн бұрын
yaeh we are interested to learn more about jumplist and tag stack
@teej_dv
@teej_dv 9 күн бұрын
coming up next :)
@FlaskTest
@FlaskTest 8 күн бұрын
​@@teej_dv appreciate it😍
@follantic
@follantic 7 күн бұрын
100%!
@Teslacoil33
@Teslacoil33 6 күн бұрын
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 күн бұрын
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 күн бұрын
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 күн бұрын
despite how little I care about this specific content, i find it interesting to learn more about the vim api
@tilakmadichettitheappdeveloper
@tilakmadichettitheappdeveloper 9 күн бұрын
cancel this guy now
@abhiavipatel
@abhiavipatel 9 күн бұрын
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 күн бұрын
I see, april fool's advent of nvim.
@ranjithkumar-xt2zw
@ranjithkumar-xt2zw 9 күн бұрын
Thanks teej for posting daliy
@akshettrj
@akshettrj 8 күн бұрын
Loving this series 👏🏻👏🏻
@camilocoelho7097
@camilocoelho7097 9 күн бұрын
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 күн бұрын
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 күн бұрын
"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 күн бұрын
I can easily see people unpacking their pitchforks. 😂😂
@CNich90
@CNich90 9 күн бұрын
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 күн бұрын
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 күн бұрын
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 күн бұрын
i wish we could change the border of popup menu.
@11WicToR11
@11WicToR11 9 күн бұрын
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 күн бұрын
<a href="#" class="seekto" data-time="407">6:47</a> cool! I didn't know C-t back command!
@hyperthreaded
@hyperthreaded 8 күн бұрын
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 күн бұрын
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 күн бұрын
multi cursor tutorial when?
@no_name4796
@no_name4796 9 күн бұрын
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 күн бұрын
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 күн бұрын
Jump list video would be really good
@Kane0123
@Kane0123 8 күн бұрын
Finally, I can use VIM
@Alonso_Cid
@Alonso_Cid 9 күн бұрын
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 күн бұрын
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 күн бұрын
@@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 9 күн бұрын
same issue here using Neovim v0.10.0
@Ninjafire300
@Ninjafire300 8 күн бұрын
same problem
@Ash-qp2yw
@Ash-qp2yw 9 күн бұрын
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 күн бұрын
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 күн бұрын
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
Neovim Plugin From Scratch: Markdown Presentation (Part 1)
20:19
My New Favorite Terminal Just Dropped
24:42
Theo - t3․gg
Рет қаралды 86 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
This may be my favorite CLI tool ever
8:15
typecraft
Рет қаралды 96 М.
Floating toggle-able terminal in Neovim in 50 lines of Lua
11:09
Making a Better Particle Simulation in C++ (Part 2)
25:05
Keyframe Codes
Рет қаралды 25 М.
Web Developers Are Disconnected
21:36
ThePrimeTime
Рет қаралды 182 М.
Vim Dadbod - My Favorite SQL Plugin
6:01
TJ DeVries
Рет қаралды 41 М.
tree-sitter explained
15:00
TJ DeVries
Рет қаралды 97 М.
are we cooked w/ o3?
13:58
ThePrimeTime
Рет қаралды 291 М.
Language Performance Comparisons Are Junk
1:23:37
ThePrimeTime
Рет қаралды 171 М.
How to ACTUALLY switch from VS Code to Neovim
5:09
Joshua Morony
Рет қаралды 280 М.
Черная Magic Mouse
0:53
Romancev768
Рет қаралды 807 М.
НЕ ДАМ ЕЁ В ОБИДУ😡 #shorts
0:24
Паша Осадчий
Рет қаралды 1,6 МЛН
DID YOU NOTICE ANY LAPSES IN THE VIDEO or NOT? / MARGO_FLURY
0:34
MARGO FLURY | Маргарита Дьяченкова
Рет қаралды 12 МЛН
BIP HOUSE  .бип хаус 🥰🏡  #shorts
0:13
bip_house
Рет қаралды 1,2 МЛН
НИКОГДА не иди на сделку с сестрой!
0:11
Даша Боровик
Рет қаралды 729 М.