This one just saved my life! Came from following Prime's old neovim setup, realizing halfway through Packer was discontinued, and I had just started to get comfortable setting things up. This was a smooth run since you even had the same file structure, maybe you started there too. Either way, thank you once again!
@ascourterКүн бұрын
Thanks! haha I actually did start from Prime's config too so I am glad the migration went well for you too!
@niclasgustafsson568819 сағат бұрын
@@ascourter I was about to give up my neovim setup because of the packer realization. So you kind of saved my ongoing to convert to this environment. Big up!
@diggus885 күн бұрын
At 3:44 when you start typing :HopAnywhere, fuzzy-matching commands are shown. Is that a setting or a plugin? And if it's a plugin, which one?
@ascourter5 күн бұрын
It's a plugin for cmp. Check out my video on "The Most Requested Feature"
@LaurentVioleau7 күн бұрын
I dont really get how remapping r and s could be a good idea...
@ascourter7 күн бұрын
@@LaurentVioleau everyone prefers different things
@LaurentVioleau7 күн бұрын
@@ascourter indeed, and that makes my day more interesting :)
@rizwanelansyah4718 күн бұрын
Can this lsp work on sigle file?
@ascourter8 күн бұрын
I have not tried this but I think it should work. If it does not work, share the error back and I can dig more into it.
@j-day9 күн бұрын
Thank you
@quocnguyen609410 күн бұрын
Hi Sir, how can I setup vim-visual-multi in lazy config? I got trouble on it T.T
@luizarnoldchavezburgos363810 күн бұрын
Thansk. I am starting learning vim just for fun and it helped me.
@avgvstvs9614 күн бұрын
For single words I use # to search for all occurences of the word under my cursor, then :%s//replacement word/g. I use LazyVim, so I'm not sure if this is a part of it, but it's great because I don't have to type the regex, it automatically selects it with %s// after using # on a word.
@ivanandraschko633014 күн бұрын
Hello, I just want to thank you, I was struggling making my conform plugin working with gofumpt. You just earn a like and a subscriber, cheers man!!
@TheLazyCat00017 күн бұрын
better way for none greedy match: .*? ? for none greedy. also works with everything else, eg .+?
@ascourter17 күн бұрын
@TheLazyCat000 thanks for sharing!
@taylorjohnsonct20 күн бұрын
Great video. Subscribing. Keep up the good work.
@ascourter20 күн бұрын
@@taylorjohnsonct thank you!
@ahallock21 күн бұрын
They could have been more creative with the names... I thought the package manager and distro were the same thing. The websites are similar, too.I actually thought I was being gaslighted lol
@ascourter21 күн бұрын
@@ahallock haha I tripped over that too. LazyVim vs lazy.nvim were too similar for me when I was getting started.
@joeysung31121 күн бұрын
getting into neovim, found all the plugin stuff kinda overwhelming, but realizing that I can do A LOT with just the base stuff. I'm almost completely clueless on why I would ever need a sidebar filetree.
@ascourter21 күн бұрын
@@joeysung311 it's definitely overwhelming. I felt the same way getting into it. You honestly don't need any plugins but some are nice for different workflows.
@ykhatat21 күн бұрын
The remote flash operation can also be combined with flash sitter (the S key), which becomes a lot more useful specially in JSON files. I love this.
@ivanjermakov22 күн бұрын
I don't think anything beats leap.nvim by efficiency.
@pietraderdetective895322 күн бұрын
hi great content here. can you make a similar video using multicursors.nvim ? it's similar to vim-visual-multi but more updated. cheers!
@borjovsky316424 күн бұрын
nice plugin, but I couldn't find the most basic config: how do I set the TIMEOUT of the messages???
@baejisoozy25 күн бұрын
Thanks heaps! Very helpful.
@ascourter25 күн бұрын
@@baejisoozy glad I could help!
@cyberpsion26 күн бұрын
I got the image blocking the text link, how to add an empty line to the image?
@chenxinyan2004Ай бұрын
I am switching from WezTerm to kitty, and my keymap for switching to left pane with C-h inside tmux is not working. I couldn't figure out what's wrong. How did you config your kitty with tmux to be able to navigate with C-hjkl?
@ascourterАй бұрын
@@chenxinyan2004 I didn't add anything for kitty. I did add key mappings in my tmux.conf. Also note that if you're trying to switch panes from Neovim to a terminal, you'll need a Neovim plugin for that. Hopefully that helps!
@chenxinyan200428 күн бұрын
@@ascourter Yes I did setup everything and it worked in WezTerm as expected. The problem only exists in kitty and I am not sure if it is because of kitty's keyboard protocal
@chenxinyan200428 күн бұрын
@@ascourter I cannot switch from tmux pane to tmux pane using C-h, but it works fine with nvim pane to tmux pane.
@dogaarmangilАй бұрын
1:57 "Y" should be "<leader>Y"
@ascourterАй бұрын
For me I have it mapped without leader
@vsadrnАй бұрын
Great video, for clearing your screen while the program is running, you can add a bind to your tmux config, like ``` bind l send-keys -R
@JoshMedeskiАй бұрын
Great video, Andrew! Thanks for the shoutout for my project, sesh ⚡ I personally prefer creating custom sesh session, it's easy and helps you create more unique configurations. I'll make a video on it and comment below when it's uploaded!
@picklyptАй бұрын
The autocomplete is so cool!
@picklyptАй бұрын
This is a really good video! I am using ufo now, thanks :)
@IainSimmonsАй бұрын
You're missing out on some of the nice newer features of sesh, like the --icons flag to show icons next to the session names so you can distinguish active tmux sessions, etc and the configurations where you can have a default shell command run when you open a particular session (with any name you want to give it, rather than always the name of the directory). Maybe a follow up video? Or i suppose Josh might need to do a new sesh video!
@ascourterАй бұрын
@@IainSimmons oh nice! I'm definitely behind then. I'll update to use those other features!
@VČ-u9zАй бұрын
Thanks for tutorial, like your config. I use same one but got below two issues with it: • Error image.nvim: magick rock not found, please install it and restart your editor. Error: "loop or previous error loading module 'magick'" • [mason-spconfig.nvim] Server "typescript-language-server" is not a valid entry in ensure_installed. Make sure to only provide Ispconfig server names.
@ascourterАй бұрын
@@VČ-u9z thanks for letting me know! I need to remove that typescript server. Not sure why you're getting that magick one though, I'll check that.
@VČ-u9zАй бұрын
@@ascourter I installed brew install imagemagick, does not resolve issue also tried `luarocks --lua-dir=$(brew --prefix luajit) install magick` but same no idea really why this happens Also recently got omnisharp issue [ERROR Mon Dec 16 09:33:26 2024] ...m/lazy/mason-lspconfig.nvim/lua/mason-lspconfig/init.lua:33: Failed to set up lspconfig integration. ...ig.nvim/lua/mason-lspconfig/server_config_extensions.lua:4: module 'lspconfig.server_configurations.omnisharp' not found:No LuaRocks module found for lspconfig.server_configurations.omnisharp no field package.preload['lspconfig.server_configurations.omnisharp'] cache_loader: module lspconfig.server_configurations.omnisharp not found cache_loader_lib: module lspconfig.server_configurations.omnisharp not found no file './lspconfig/server_configurations/omnisharp.lua' no file '/opt/homebrew/share/luajit-2.1/lspconfig/server_configurations/omnisharp.lua' no file '/usr/local/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua' no file '/usr/local/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua' no file '/opt/homebrew/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua' no file '/opt/homebrew/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua' no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua' no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua' no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/lua/lspconfig/server_configurations/omnisharp.lua' no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/lua/lspconfig/server_configurations/omnisharp/init.lua' no file '/Users/user1/.luarocks/share/lua/5.1/lspconfig/server_configurations/omnisharp.lua' no file '/Users/user1/.luarocks/share/lua/5.1/lspconfig/server_configurations/omnisharp/init.lua' no file './lspconfig/server_configurations/omnisharp.so' no file '/usr/local/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so' no file '/opt/homebrew/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so' no file '/Users/user1/.luarocks/lib/lua/5.1/lspconfig/server_configurations/omnisharp.so' no file './lspconfig.so' no file '/usr/local/lib/lua/5.1/lspconfig.so' no file '/opt/homebrew/lib/lua/5.1/lspconfig.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file '/Users/user1/.local/share/nvim/lazy/luarocks.nvim/.rocks/lib/lua/5.1/lspconfig.so' no file '/Users/user1/.luarocks/lib/lua/5.1/lspconfig.so'
@VČ-u9zАй бұрын
@@ascourter I installed lua with brew ❯ brew install lua luarocks Warning: lua 5.4.7 is already installed and up-to-date. To reinstall 5.4.7, run: brew reinstall lua Warning: luarocks 3.11.1 is already installed and up-to-date. To reinstall 3.11.1, run: brew reinstall luarocks
@VČ-u9zАй бұрын
@@ascourter thanks for reply, I have below issue with magick image.nvim 25.9ms start lua version 5.1 needed, but found Lua 5.4.7 lua5.1 or lua or lua-5.1 version 5.1 not installed -- but installed it with brew ❯ brew install lua luarocks ==> Downloading... Warning: lua 5.4.7 is already installed and up-to-date. To reinstall 5.4.7, run: brew reinstall lua Warning: luarocks 3.11.1 is already installed and up-to-date. To reinstall 3.11.1, run: brew reinstall luarocks
@VČ-u9zАй бұрын
Thanks for tutorial and config! When I use this config I do not have same UI as you have in video, I got default green tmux bar on top of Kitty terminal but no tabs with fancy colors and text in it? I also tried to use spaceship but all tabs dropped down with some strange tabs colors like grey color boxes with ~ symbol
@ascourterАй бұрын
@@VČ-u9z do you have a nerd font configured?
@VČ-u9zАй бұрын
@@ascourter I have Jetbrains Nerd Font -- brew install font-jetbrains-mono-nerd-font -- font_family JetBrainsMono Nerd Font bold_font JetBrainsMono Nerd Font italic_font JetBrainsMono Nerd Font bold_italic_font JetBrainsMono Nerd Font font_size 13 background_opacity 0.95
@VČ-u9zАй бұрын
@@ascourter thanks for reply, I have JetBrainsMono Nerd Font in kitty settings font_family JetBrainsMono Nerd Font bold_font JetBrainsMono Nerd Font italic_font JetBrainsMono Nerd Font bold_italic_font JetBrainsMono Nerd Font font_size 13 background_opacity 0.95
@estark616Ай бұрын
Hey Andrew I tried reaching out to you privately on LinkedIn and Twitter before posting here which was unsuccessful (I'm assuming by design), you've shared your private keys in the video. Maybe you've already reset them or they're old invalid keys, but I thought I'd let you know regardless.
@ascourterАй бұрын
@@estark616 thanks! I'll make sure to reset those! Not sure why I didn't see your messages though, you should've been able to message me on Twitter. I'll check on that.
@steveneeson5698Ай бұрын
Hey! What’s the stuff you’re using so your cursor jumps in such an epic way? I want it too! 😅
@itztlacoliuhquiАй бұрын
I think its the trailing cursor of kitty
@jarnoruuskanenАй бұрын
If you use kitty terminal emulator you can add "cursor_trail 1" to your kitty.conf to enable this feature.
@ascourterАй бұрын
@@steveneeson5698 the kitty trailing cursor! It's so awesome! github.com/kovidgoyal/kitty/discussions/8009#discussioncomment-11154764
@ascourterАй бұрын
@@itztlacoliuhqui yup!
@ascourterАй бұрын
What do you typically do in your tmux workflow?
@vikingthedudeАй бұрын
1-2 sessions at most at a time, with 3 windows per session: my shell, neovim and any misc thing
@zerdofish9989Ай бұрын
share my private keys on youtube
@IainSimmonsАй бұрын
Also using sesh, it's the best!
@itzaryaanyt20039 күн бұрын
Is there any way to remove the saved session without manually deleting from .tmux/resurrect
@ascourter9 күн бұрын
@itzaryaanyt2003 I think deleting from that directory is the only way. I found this open issue you might post on to see if there's an alternative: github.com/tmux-plugins/tmux-resurrect/issues/466
@Eye-LinuxАй бұрын
08:31 I've been looking for the for weeks now. THANK YOU
@ascourterАй бұрын
@@Eye-Linux glad I could help!
@JoseGarcia-qq6skАй бұрын
I am trying the plugin right now. Works nicely indeed
@ELghazАй бұрын
hi, i'm new to vim, so as long as we can install from extras we don't need to configure in lua and mason? for example extras lang java and other languages
@ascourterАй бұрын
Welcome to vim (and LazyVim)! Think of extras as a bundle of plugins that are configured for you (you could manually add some or all of those plugins yourself into your configuration). So if you want to grab the extras and plug that in then behind the scenes it will use mason and lua to set it up for you. Hope that helps!
@flameKuchenАй бұрын
Omg....brew install pkg-config saved my life. Thanks for digging into this!
@FedericoDanielAnastasi-b9wАй бұрын
I think based from what i'm finding around there aren't currently code action for the kotlin lsp in comparison to the java
@carlosdeluis3Ай бұрын
hey Andrew, does anuvyklack/windows work correctly with vim-dadbod-ui window? I have problem that is not reacting. Can't figure it out yet, if you know something please let me know. Thanks
@ascourterАй бұрын
Good question. I was going to setup vim-dadbod-ui this week so I will let you know if it works out of the box for me.
@carlosdeluis3Ай бұрын
@@ascourter thanks alot
@AhmadMughal1Ай бұрын
I started using flash a lot when i started with nvim but with time i just started jumping with relative line number and using f to find. i know mentally that if i just use flash it would be simpler but it just doesn't fall under the muscle memory for me as words could be different everytime same with the labels shown.
@recklessvelociraptor2579Ай бұрын
How to stop it from showing all images outside of notes, it was not a feature in notion and it pretty useless
@ascourterАй бұрын
Sorry, I don't quite understand your question. Are you wanting to disable showing images inside notes?
@yousifalfaki43892 ай бұрын
i love how you say the video about installation of nvim and you talk about tumx and your terminal setup
@ascourter2 ай бұрын
I shared additional context for people who aren't familiar with tmux or Kitty
@jon-keys2 ай бұрын
I didn't go with the one plugin trick, but for setting up the Java LSP and getting the annotations working for Lombok was very helpful, thanks for the guide
@Klvn4L2 ай бұрын
When you open your file explorer on, there's this border that runs around the window(or tab) with the current dir at rhe top left. How did you set that up? 04:20
@ascourter2 ай бұрын
@@Klvn4L I believe that is tmux. Check out my latest video on setting that up
@DaibertDiego2 ай бұрын
Do you have a debug configuration working? I'm not getting it.
@ascourter2 ай бұрын
@@DaibertDiego I have not gotten a reliable debug configuration working so far 🥲
@TopicTide22 ай бұрын
I want to disable this permanently. Everytime i go into normal mode it just folds everything. It has to be destroyed from the planet.
@ascourter2 ай бұрын
@@TopicTide2 ooof that sucks. Definitely disable if it's not working well for you!
@DavideFicano2 ай бұрын
As usual your videos are useful, focused on the goal. I'm really confused on how to integrate tmux on my work flow (as developer), how to get benefits from using it. I open multiple terminal windows (without tmux) and in one I edit files with nvim, in another I start the web server, in yet another a new nvim session, honestly I'm fine but I would like to understand if using tmux I can work even better. Every time I start using tmux but then I stop intimidated by the keyboard shortcuts to use and by the fact that a single panel window doesn't help me. Can you make a new video where you show how to get the most out of switching from an "old" way of thinking like mine to one that includes tmux?
@ascourter2 ай бұрын
@@DavideFicano thanks for the feedback and the question. I talked through a couple scenarios or workflows but didn't show them in practice. I think having a video on that could be very useful. In the interim, I think tmux would allow your environment to be more consistent and navigable than having separate terminal windows. You'd also be able to resume long running sessions and work across multiple projects. How do you switch between projects today? And how do you navigate between different terminal windows?
@DavideFicano2 ай бұрын
@@ascourter currently every terminal window is a "project", tabs on window are strictly related, for example two nvim instances editing files on same projects Navigation is done brutally with CMD+Tab, very fast Rarely I connect via SSH so resuming long process isn't really useful for me, other long running tasks run via docker or simply locally (like web server, deno, vite)
@bagfleet2 ай бұрын
I’m intrigued by tmux, but I don’t see how it should work in tandem with my tiling window manager. Since I already have different terminal windows as “panes” in my window manager. Having different panes in tmux as well seems superfluous. I don’t even see a reason to use tmux with just my neovim sessions. Neovim is so easy to start and get going that having persistent sessions doesn’t add anything. Maybe I’m missing something obvious? Thanks for a great video btw!
@ascourter2 ай бұрын
Good questions! I'll probably make another video going over my workflow and I'll try to speak to your questions and what benefits and tradeoffs there are
@proton462 ай бұрын
Nice video, i haven't used it in some time., i think i'll try it again now.
@ascourter2 ай бұрын
@@proton46 thanks! Let me know if you run into difficulties and I can make a follow on video.
@loo_92 ай бұрын
i’ve found continuum and resurrect a bit intrusive. when i exit tmux and go back in it takes a while to load and flashes through all the sessions. so if i accidentally exit (skill issue IK) then re-enter i have to sit through the loading even though it’s loading the old state of the session i just closed. any suggestions?
@ascourter2 ай бұрын
I definitely get the frustration. Let me dig into it, I don't know a great solution off the top of my head.