Getting Started with Tmux
19:26
2 ай бұрын
My Neovim configuration in 2024
20:48
Configure Golang in Kickstart.nvim
18:23
Configure Golang in Neovim
7:25
5 ай бұрын
Render Images in Neovim & tmux
14:51
The Best Oil.nvim Configuration
7:15
Migrate from Notion to Obsidian
15:15
Setup Neovim for Kotlin Development
11:55
The Most Requested Neovim Config
4:43
3 Neovim Tricks for Everyone
3:52
LSP Basics in Neovim
4:13
Жыл бұрын
Sed - Replace text using your CLI
7:07
Autocommands in Neovim
7:09
Жыл бұрын
Intro to Customizing LazyVim
8:10
Code Folding in Neovim
11:22
Жыл бұрын
Jump around buffers in Neovim
5:23
LazyVim v10 Released
7:32
Жыл бұрын
5 more tips on being a jerk
2:21
Жыл бұрын
Пікірлер
@nattebonja2998
@nattebonja2998 5 сағат бұрын
now my issues the log on sl4j cannot be resolved
@niclasgustafsson5688
@niclasgustafsson5688 Күн бұрын
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
@ascourter Күн бұрын
Thanks! haha I actually did start from Prime's config too so I am glad the migration went well for you too!
@niclasgustafsson5688
@niclasgustafsson5688 19 сағат бұрын
@@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!
@diggus88
@diggus88 5 күн бұрын
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?
@ascourter
@ascourter 5 күн бұрын
It's a plugin for cmp. Check out my video on "The Most Requested Feature"
@LaurentVioleau
@LaurentVioleau 7 күн бұрын
I dont really get how remapping r and s could be a good idea...
@ascourter
@ascourter 7 күн бұрын
@@LaurentVioleau everyone prefers different things
@LaurentVioleau
@LaurentVioleau 7 күн бұрын
@@ascourter indeed, and that makes my day more interesting :)
@rizwanelansyah471
@rizwanelansyah471 8 күн бұрын
Can this lsp work on sigle file?
@ascourter
@ascourter 8 күн бұрын
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-day
@j-day 9 күн бұрын
Thank you
@quocnguyen6094
@quocnguyen6094 10 күн бұрын
Hi Sir, how can I setup vim-visual-multi in lazy config? I got trouble on it T.T
@luizarnoldchavezburgos3638
@luizarnoldchavezburgos3638 10 күн бұрын
Thansk. I am starting learning vim just for fun and it helped me.
@avgvstvs96
@avgvstvs96 14 күн бұрын
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.
@ivanandraschko6330
@ivanandraschko6330 14 күн бұрын
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!!
@TheLazyCat000
@TheLazyCat000 17 күн бұрын
better way for none greedy match: .*? ? for none greedy. also works with everything else, eg .+?
@ascourter
@ascourter 17 күн бұрын
@TheLazyCat000 thanks for sharing!
@taylorjohnsonct
@taylorjohnsonct 20 күн бұрын
Great video. Subscribing. Keep up the good work.
@ascourter
@ascourter 20 күн бұрын
@@taylorjohnsonct thank you!
@ahallock
@ahallock 21 күн бұрын
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
@ascourter
@ascourter 21 күн бұрын
@@ahallock haha I tripped over that too. LazyVim vs lazy.nvim were too similar for me when I was getting started.
@joeysung311
@joeysung311 21 күн бұрын
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.
@ascourter
@ascourter 21 күн бұрын
@@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.
@ykhatat
@ykhatat 21 күн бұрын
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.
@ivanjermakov
@ivanjermakov 22 күн бұрын
I don't think anything beats leap.nvim by efficiency.
@pietraderdetective8953
@pietraderdetective8953 22 күн бұрын
hi great content here. can you make a similar video using multicursors.nvim ? it's similar to vim-visual-multi but more updated. cheers!
@borjovsky3164
@borjovsky3164 24 күн бұрын
nice plugin, but I couldn't find the most basic config: how do I set the TIMEOUT of the messages???
@baejisoozy
@baejisoozy 25 күн бұрын
Thanks heaps! Very helpful.
@ascourter
@ascourter 25 күн бұрын
@@baejisoozy glad I could help!
@cyberpsion
@cyberpsion 26 күн бұрын
I got the image blocking the text link, how to add an empty line to the image?
@chenxinyan2004
@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
@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!
@chenxinyan2004
@chenxinyan2004 28 күн бұрын
@@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
@chenxinyan2004
@chenxinyan2004 28 күн бұрын
@@ascourter I cannot switch from tmux pane to tmux pane using C-h, but it works fine with nvim pane to tmux pane.
@dogaarmangil
@dogaarmangil Ай бұрын
1:57 "Y" should be "<leader>Y"
@ascourter
@ascourter Ай бұрын
For me I have it mapped without leader
@vsadrn
@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
@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
@picklypt Ай бұрын
The autocomplete is so cool!
@picklypt
@picklypt Ай бұрын
This is a really good video! I am using ufo now, thanks :)
@IainSimmons
@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
@ascourter Ай бұрын
@@IainSimmons oh nice! I'm definitely behind then. I'll update to use those other features!
@VČ-u9z
@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
@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
@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
@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
@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
@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
@ascourter Ай бұрын
@@VČ-u9z do you have a nerd font configured?
@VČ-u9z
@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
@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
@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
@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
@steveneeson5698 Ай бұрын
Hey! What’s the stuff you’re using so your cursor jumps in such an epic way? I want it too! 😅
@itztlacoliuhqui
@itztlacoliuhqui Ай бұрын
I think its the trailing cursor of kitty
@jarnoruuskanen
@jarnoruuskanen Ай бұрын
If you use kitty terminal emulator you can add "cursor_trail 1" to your kitty.conf to enable this feature.
@ascourter
@ascourter Ай бұрын
@@steveneeson5698 the kitty trailing cursor! It's so awesome! github.com/kovidgoyal/kitty/discussions/8009#discussioncomment-11154764
@ascourter
@ascourter Ай бұрын
@@itztlacoliuhqui yup!
@ascourter
@ascourter Ай бұрын
What do you typically do in your tmux workflow?
@vikingthedude
@vikingthedude Ай бұрын
1-2 sessions at most at a time, with 3 windows per session: my shell, neovim and any misc thing
@zerdofish9989
@zerdofish9989 Ай бұрын
share my private keys on youtube
@IainSimmons
@IainSimmons Ай бұрын
Also using sesh, it's the best!
@itzaryaanyt2003
@itzaryaanyt2003 9 күн бұрын
Is there any way to remove the saved session without manually deleting from .tmux/resurrect
@ascourter
@ascourter 9 күн бұрын
@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
@Eye-Linux Ай бұрын
08:31 I've been looking for the for weeks now. THANK YOU
@ascourter
@ascourter Ай бұрын
@@Eye-Linux glad I could help!
@JoseGarcia-qq6sk
@JoseGarcia-qq6sk Ай бұрын
I am trying the plugin right now. Works nicely indeed
@ELghaz
@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
@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
@flameKuchen Ай бұрын
Omg....brew install pkg-config saved my life. Thanks for digging into this!
@FedericoDanielAnastasi-b9w
@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
@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
@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
@carlosdeluis3 Ай бұрын
@@ascourter thanks alot
@AhmadMughal1
@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
@recklessvelociraptor2579 Ай бұрын
How to stop it from showing all images outside of notes, it was not a feature in notion and it pretty useless
@ascourter
@ascourter Ай бұрын
Sorry, I don't quite understand your question. Are you wanting to disable showing images inside notes?
@yousifalfaki4389
@yousifalfaki4389 2 ай бұрын
i love how you say the video about installation of nvim and you talk about tumx and your terminal setup
@ascourter
@ascourter 2 ай бұрын
I shared additional context for people who aren't familiar with tmux or Kitty
@jon-keys
@jon-keys 2 ай бұрын
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
@Klvn4L
@Klvn4L 2 ай бұрын
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
@ascourter
@ascourter 2 ай бұрын
@@Klvn4L I believe that is tmux. Check out my latest video on setting that up
@DaibertDiego
@DaibertDiego 2 ай бұрын
Do you have a debug configuration working? I'm not getting it.
@ascourter
@ascourter 2 ай бұрын
@@DaibertDiego I have not gotten a reliable debug configuration working so far 🥲
@TopicTide2
@TopicTide2 2 ай бұрын
I want to disable this permanently. Everytime i go into normal mode it just folds everything. It has to be destroyed from the planet.
@ascourter
@ascourter 2 ай бұрын
@@TopicTide2 ooof that sucks. Definitely disable if it's not working well for you!
@DavideFicano
@DavideFicano 2 ай бұрын
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?
@ascourter
@ascourter 2 ай бұрын
@@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?
@DavideFicano
@DavideFicano 2 ай бұрын
@@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)
@bagfleet
@bagfleet 2 ай бұрын
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!
@ascourter
@ascourter 2 ай бұрын
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
@proton46
@proton46 2 ай бұрын
Nice video, i haven't used it in some time., i think i'll try it again now.
@ascourter
@ascourter 2 ай бұрын
@@proton46 thanks! Let me know if you run into difficulties and I can make a follow on video.
@loo_9
@loo_9 2 ай бұрын
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?
@ascourter
@ascourter 2 ай бұрын
I definitely get the frustration. Let me dig into it, I don't know a great solution off the top of my head.