This plugin makes you a Vim and TMUX GOD

preview_player
Показать описание

In this video I want to talk about my favorite tmux and neovim plugin. Vim tmux navigator allows you to seamlessly transition between vim and tmux panes for the ultimate IDE experience with tmux.

Also, you'll look like the coolest freaking nerd ever when you're switching around your panes all crazy and whatnot
Рекомендации по теме
Комментарии
Автор

I was lucky enough to find this early on in my tmux journey. So much less mental overhead

ascourter
Автор

This is one of my favorite tmux plugins, great video!

JoshMedeski
Автор

However it will stop you from using <ctrl-l> to clear the terminal

tobias-edwards
Автор

I remember when I discovered this. Life changing stuff 🤯
Great video!

kiyov
Автор

Yep. I've had this setup for ~5 years. Thanks for sharing.

tiberiusvetus
Автор

Having used this before, I ended up removing it. Personally, approach that works better for me is running things in vim (using :term to run things in vim windows) and leaving tmux for tasks that are more long running like shells, running servers or interactive sessions. I like the compartmentalization. Also having a command/test output in a vim window makes it a breeze to do things like copy-paste, or adding notes into errors. One less plugin is always a plus too :)

Furthermore, you can bind keys in tmux to trigger without the prefix, (eg. `bind -n M-j select-pane -D` to bind ALT+j to go down). Having that mental separation of CTRL+[hjkl] being vim and ALT+[hjkl] being tmux is nice.

jmend
Автор

Thanks for making a short but informative walkthrough. I'll have to try this as i always forget the shortcuts for tmux.

rdwok
Автор

I actually have pushed a direct derivative of this for the tmux side, "tmux-nav-master", it provides a few more mappings and it also keeps fzf mappings (C-j & C-k).

TheSast
Автор

Thanks for highlighting this. I use vim and just started with tmux so this is really helpful.

philsmith
Автор

Great video thanks. I use tmux + vim daily with two other tmux panes and switching has always been fiddly. Time to give it a try and get a level up on productivity.

rolandicus
Автор

There are also plugins that add a tiling manager layer (e.g. So you end only using your wm navigation keybinds for everything.

leg_snapper
Автор

This plugin for me was a game changer, I've created custom script for all my projects, and it become's efforless to navigate between them

writegoodcode
Автор

So much YES. Thanks for the quick vid.

techdufus
Автор

thanks just getting back into linux in a hands on way and had no idea this was a thing. this will save so much clunk.

jongdonglu
Автор

I’m used to <C-W> for bom splits so I set the same for tmux but with its prefix, <C-a> in my case, I’m using <C-h> for one of my Harpoon files so using this didn’t make a lot of sense to me considering the remapping and relearning the mappings I’m already used to…
But it is a cool tool, specially if you don’t have a big config already setup so incorporating this has no friction at all.

zehph
Автор

Yes I love this plugin ! But today I am more using the term command to run my tests and write the result in a separate buffer (so I can easely navigate like a classic vim window, copy, past, set marker etc).

For instance the combination of :sp and :term can help doing the test with a simple mapping:
nnoremap <leader>t :sp<bar>term [term command for the test]

I am more of an old fashion vimmer that prefer extending the builtin functionnalities and separate responsibilities (vim for dev and tmux for project management).
Did you try Zellij ? As I saw it has a better integration with vim for devs and I am thinking of switching one day.

Thanks again for the video !

fabricehategekimana
Автор

Yeay tmux navigator, this man has taste. <3
Currently I ran zellij. Thats quite neat.
I had to rustify everything, because ehh culture i assume 😅🤷‍♀

Skylla
Автор

thanks for the video, I put off doing this for awhile and finally did it after seeing how easy it was from your video. Now the next challenge is making it work with i3 so I can navigate from vim, to tmux to an i3 pane and back 😂

underflowexception
Автор

I thought you said: "thot bot" 😂

Love this plugin! Great video, dude!

dreamsofcode
Автор

I feel like tmux is a complete overkill for what most of us need it for.
But idk, maybe I just didn't get to the point where I absolutely need it yet. I just use kittys built in pane & session management features ^^

fschlegelone