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
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
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.
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!
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!
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
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?
@@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, })
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
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.
yaeh we are interested to learn more about jumplist and tag stack
coming up next :)
@@teej_dv appreciate it😍
100%!
Yep! I currently only use the jumplist so I suspect I'm missing out on some key functionality that tag stack can provide.
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
Very interested in jumping back!
I always just use Ctrl-O; but really need more specific jumpbacks such as within the same file.
despite how little I care about this specific content, i find it interesting to learn more about the vim api
cancel this guy now
Well he also made telescope so cut him some slack
@@abhiavipatel and nvim-lspconfig. Who really uses neovim for editing code without using that plugin lol?
I see, april fool's advent of nvim.
Thanks teej for posting daliy
Loving this series 👏🏻👏🏻
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
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.
"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?
I can easily see people unpacking their pitchforks. 😂😂
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!
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!
Probably a little easier to setup the amenu using the LspAttach/LspDetach autocmd, so we know we have an lsp attached the buffer
Because I've never heard about jumplist and tag stack, it would be very interesting to hear about!
Oh Lord, now we're going to get newbies turning Neovim into VsCode, which I find just hilariously funny for some reason. :)
i wish we could change the border of popup menu.
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
6:47 cool! I didn't know C-t back command!
I didn't either, I always used Ctrl-o, which isn't quite the same lol.
@@hyperthreaded same here!
Same, even though I won't use the menu, just for that piece of information was worth watching the full video
This video is sacrilegious
multi cursor tutorial when?
Multicursors were pushed to 0.12
Ie they aren't yet a thing on neovim
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
Great tutorial. But where‘s the test? Red test, green test, you know? How can I be sure it works?
He did functional tests and even got the video as evidence
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
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?
Jump list video would be really good
Finally, I can use VIM
Error executing lua callback, attempt to call field '_get_urls' (a nil value). Do I need any package to use the _get_urls function?
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
Same thing here, check on GH, and nothing missing. Idk why works on TJ machine haha @teej_dv
@@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,
})
same issue here using Neovim v0.10.0
same problem
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
haha sorry! just updated!
"a little bit goofy". Naaaaahhhh
OMG this is cursed and I love it
Please make a video on debugging and testing too
How do I add Devin to the right click menu
Ok. You got me..
Dayly Tj > Daily drugs
what is a mouse?
Blasphemy
:ReallyMad:
Sysadmins use neovim also and the mouse is useful for us.... Don't be dissing the mouse!
Chad
I am unsubscribing...
jk tj keep up with the good work
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.
1 view in 1 minute, bro fell off..
Anyone who wants to do that just go back to vscode
i never used vscode in the first place
despite how little I care about this specific content, i find it interesting to learn more about the vim api