this is ridiculously useful. tmux has previously been a pain for me to setup and learn to use. similarly, I've been looking for a way to learn some vim keybindings without diving into it just yet. thanks!
Imagine using Awesome window manager to open a kitty terminal to run tmux to connect to a server running a split buffer in vim. So many tiling options! :D
yes, it's absolutely not needed to use so many. When you are using something like Awesome, you already have all tiling power, not only for terminal app, but for gui apps too. And vim also has built in everything, including terminal in split
I just started learning vim, can you tell me what the tell you all talking about? tmux sounds like a window manager or something but why all this trouble to achieve what?
@@rp2804basically when you are programming everything using cli and tui tools, you need something to tile windows and switch quickly between them. The ones using a tiling wm do not face that issue much often, so they don't need tmux in most cases. For other people, for example on MacOS, it proves to be a lifesaver. Because at the end it is just a terminal multiplexer
I'm beyond shocked. People using BSD & Linux wary of changing their default key bindings in tmux!? You go to a friend's machine who uses different keybindings than you? "tmux list-keys" on the command line even within a tmux session. Better yet, you save a copy of yours, save a copy of theirs, "diff your-defaults their-defaults". Voila. I'm a late convert to the game (I've been using the default keybindings for years out of simple laziness) and... I couldn't regret it more. Just change the defaults to more sane options. e.g.Pretty much everything beats the default prefix C-b. vi-style navigation is easy especially if you've been using vi, vim, neovim, etc. for ages. It's like six lines in a config. Print it out or write it out if you can't place a dotfile in a Github repo. Don't do the work for the tools, let the tools work for you.
I feel like tpm is overkill as most plugins were not really useful in my opinion, also i do not like changing leader keys cuz if i use tmux without my config i would be lost
I'm curious then, how often do you use tmux without your config? And also, what would inherently cause you to not be able to use your own config? Are you jumping on other people's systems regularly, who also use tmux? What if their config remaps the leader key, I mean it seems pretty common considering how terrible the B key is to reach on a standard QWERTY, row-staggered keyboard. I suppose you could just run tmux with the -f flag, and point it to /dev/null to run it without any configuration.
@@oku-mq7kg I don't use my dotfiles on my server for several reasons so whenever i have to tweak it or anything none of my configs are available and i would repeatedly hit wrong keys, so i tend not to overwrite builtin keybindings depending on how painful they are to hit or if i really use them all the time and i dont use the termux prefix that often
@@bhavyakukkar yes, but why would you use a text editor as a terminal multiplexer when you could just use a terminal multiplexer as a terminal multiplexer?
@@bhavyakukkar you don't really waste it by not using something you don't need. it's not a finite resource, and it doesn't cost you anything (apart from a few kilobytes) to have it there vs not. are you saying it would be less wasteful somehow (ie an improvement) for vim to remove multiplexing?
Never been a fan of changing default key bindings. If you go to someone else’s machine (or them to yours) or try to help them learn or do something you can’t because you don’t know how to do things when the keys are different.
If I had friends, they'd definitely be jealous now 😂
Relatable
this is ridiculously useful. tmux has previously been a pain for me to setup and learn to use. similarly, I've been looking for a way to learn some vim keybindings without diving into it just yet. thanks!
that looks sick, just a link to a post where I can copy and paste would be awesome... because I'm lazy 🤣
I’ll have to do just that!
I did pause the video a bunch of times and were able to follow the instructions:) looking good my tmux
You should continue to do long videos like this
amazing dude!
Wow, how did I live without weather plugin in my tmux?! This is definitely the most important thingie in my entire work process!
Lol
Then ford Dracula/tmux and change the colors variables to Catppuccin colors and you’re set!
I settled in the theme wars with Gruvbox-dark. Is the Dracula theme better? I like the powerline config..
Haha. I love Gruvbox as well! I like catppuccin the best now
Imagine using Awesome window manager to open a kitty terminal to run tmux to connect to a server running a split buffer in vim. So many tiling options! :D
😂
yes, it's absolutely not needed to use so many. When you are using something like Awesome, you already have all tiling power, not only for terminal app, but for gui apps too. And vim also has built in everything, including terminal in split
I just started learning vim, can you tell me what the tell you all talking about? tmux sounds like a window manager or something but why all this trouble to achieve what?
@@rp2804basically when you are programming everything using cli and tui tools, you need something to tile windows and switch quickly between them. The ones using a tiling wm do not face that issue much often, so they don't need tmux in most cases. For other people, for example on MacOS, it proves to be a lifesaver. Because at the end it is just a terminal multiplexer
I guess if you bind ctrl+s to the leader for tmux, you just have to repeat it to actually trigger XOFF? Other than that, no issues with your config.
I'm beyond shocked. People using BSD & Linux wary of changing their default key bindings in tmux!? You go to a friend's machine who uses different keybindings than you? "tmux list-keys" on the command line even within a tmux session. Better yet, you save a copy of yours, save a copy of theirs, "diff your-defaults their-defaults". Voila.
I'm a late convert to the game (I've been using the default keybindings for years out of simple laziness) and... I couldn't regret it more. Just change the defaults to more sane options. e.g.Pretty much everything beats the default prefix C-b. vi-style navigation is easy especially if you've been using vi, vim, neovim, etc. for ages. It's like six lines in a config. Print it out or write it out if you can't place a dotfile in a Github repo.
Don't do the work for the tools, let the tools work for you.
What terminal emulator is this ?
I was wonder, why do you need a tmux, so I tried to set it up, and because of you I did, and I love it, lol
How to tell me that you're a dev and not an ops guy without telling me you're a dev and not an ops guy.
Lol
Ok but why do you need temperature in your terminal?
I never go outside. How else will I know?
No relative line numbers?
I feel like tpm is overkill as most plugins were not really useful in my opinion, also i do not like changing leader keys cuz if i use tmux without my config i would be lost
That’s fair!
I'm curious then, how often do you use tmux without your config? And also, what would inherently cause you to not be able to use your own config?
Are you jumping on other people's systems regularly, who also use tmux? What if their config remaps the leader key, I mean it seems pretty common considering how terrible the B key is to reach on a standard QWERTY, row-staggered keyboard.
I suppose you could just run tmux with the -f flag, and point it to /dev/null to run it without any configuration.
@@oku-mq7kg I don't use my dotfiles on my server for several reasons so whenever i have to tweak it or anything none of my configs are available and i would repeatedly hit wrong keys, so i tend not to overwrite builtin keybindings depending on how painful they are to hit or if i really use them all the time and i dont use the termux prefix that often
@@alexstone691do you not ssh into your server through a tmux session on your desktop? I thought that was a large use case for tmux.
am coolest person in the cafe now eheheheh
Then when you are on another box without those bindings, you can't function.
Glad I don't use zellij then
Okay I saw youtube video, article, this short, now I want full-lenght film with editor's cut 🤣
😂
Nixos the true masterrace just takes 6 months to learn
I really do not understand using tmux alongside vim. vim can multiplex
people do things other than vim in their terminal. so you might have vim running in some panes but not others.
@@voskresenie- what I mean is that you can do those things in vim inside a terminal buffer
@@bhavyakukkar yes, but why would you use a text editor as a terminal multiplexer when you could just use a terminal multiplexer as a terminal multiplexer?
@@voskresenie- fair point, though you are still wasting the multiplexing feature provided by the text editor
@@bhavyakukkar you don't really waste it by not using something you don't need. it's not a finite resource, and it doesn't cost you anything (apart from a few kilobytes) to have it there vs not. are you saying it would be less wasteful somehow (ie an improvement) for vim to remove multiplexing?
Never been a fan of changing default key bindings. If you go to someone else’s machine (or them to yours) or try to help them learn or do something you can’t because you don’t know how to do things when the keys are different.
yeah, hahaha
yeah but these are dotfiles u can easily just temp rename to disable
But i dont have friends, i couldn’t make them jealous 😅
Him and Primagean and Theo don't have friends because of the 70s porn star mustaches
Man, now I'm writing code 1000% faster
Step 1: uninstall tmux.
Bridgeport! No wonder you’re a vim user
You lost me at brew
Neovim buggy
you mean pacman -S tmux?
whyd you sound like PewView? 🤔
You lost me at vim. No thanks. I really like readline bindings.
I like wasd for movement and I'm not even sorry.
I’ll be making a long form video for tmux soon so remember to subscribe!!!
What tool is giving you the autocomplete suggestion for /.tmux.conf when you type 'nvim' in the terminal?
What software are you using to change the prompt?
You are trying way too hard to sound like fireship
what
vim-tmux-navigator