Тёмный

My Forever Dev Workflow 

typecraft
Подписаться 46 тыс.
Просмотров 55 тыс.
50% 1

X: / typecraft_dev
🚨Tmux for newbs - Episode 3🚨
If you've been following along this series, you've learned about tmux and how to configure it to look beautiful. In this episode, we combine the power of Tmux with Neovim. Welcome to my forever dev workflow.
Pull up a chair - let's get after it.
chapters:
0:00 - intro and showing off
1:04 - Overview
1:40 - vim tmux navigator (navigator? barely even know 'er!)
8:00 - vim-test and vimux
12:59 - tmuxifier && managing sessions

Наука

Опубликовано:

 

18 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 153   
@typecraft_dev
@typecraft_dev Месяц назад
dotfiles for this config! github.com/typecraft-dev/dotfiles
@gjermundification
@gjermundification Месяц назад
How do you use tmuxifier or any other tool to manage projects? I have /opt/local/dev/ in which contains most my projects that are not yet deployed. first of all I would like to have templates; such as for these current tasks: Commodore 64 and AmigaOS using: vasm, tmux, and neovim, Rust projects mainly ratatui using: tmux, and neovim, Swift projects mainly vapor using: tmux, and neovim, and I also have set in which I use all the time using: xcdatamodel, FMPXMLRESULT, psql, tidy, xmlstartlet, jq, xsltproc. You 2 cents?
@alienews0
@alienews0 29 дней назад
so the idea instead of installin a linux with i3 or hyprland is to install heavy (compared to screen) multiplexers and adding to them multiple plugins make several configurations for each program to have an almost as coherent experience as if we went linux+tilling wm in the first place ?! Weird...
@curtisbridges
@curtisbridges Месяц назад
Man, I love your intro. Such '80s action tv show vibes!
@alcb1310
@alcb1310 Месяц назад
Great video nerd, since I discovered tmuxifier is a major part in my workflow as well, the ability to create your working session with one command is priceless, I even created some scripts that work on top of tmuxifier that allows me to change between open sessions
@raymondong349
@raymondong349 Месяц назад
really love this series and how practical they are for day to day usage!
@threee1298
@threee1298 29 дней назад
You’re a hero ❤ seems like you can read my mind and give me what I need right before I need it. Also editing is so clean I’d love to see your process some day
@typecraft_dev
@typecraft_dev Месяц назад
Going to upload this config to GitHub soon. Link coming shortly
@robertkozak
@robertkozak Месяц назад
I was about to remind you again. Thanks nerd
@mokied
@mokied Месяц назад
Hey, when I start a tmux session it doesn't "source .zshrc" so I don't get starship prompt and other zsh plugins. In your video you seem to at least have the starship prompt working.
@mr.bojangles6111
@mr.bojangles6111 Месяц назад
Great video as always, thank you! It's been a big help getting me started with tmux.
@PetrenkoAndrii
@PetrenkoAndrii Месяц назад
You have very cool and efficient workflow. I have to refine mine as well. Thanks for your example!
@starmechlx
@starmechlx Месяц назад
Yesssss. This was the missing piece. Finally really started falling in love with tmux after giving it a serious shot thanks to the other videos, but using it together with Neovim was kind of a pain. This is the final piece of the triforce it seems to it really making Neovim feel like an IDE that feels good to use. Big big thanks. Frickin nerd
@tuananhdo1870
@tuananhdo1870 19 дней назад
what is the other force in the triforce
@fatboyslimshady6767
@fatboyslimshady6767 Месяц назад
You have resparked my Childlike curiosity towards Tech, Thank You typecraft
@typecraft_dev
@typecraft_dev Месяц назад
It's my pleasure
@noisycarlos
@noisycarlos Месяц назад
Just added tmux navigator. I was just wondering if this could be done just yesterday. Amazing, thanks!
@TiagoEgas
@TiagoEgas Месяц назад
Super smooth... Aaaand beautiful!!!
@typecraft_dev
@typecraft_dev Месяц назад
Thanks. You’re beautiful
@andherium
@andherium Месяц назад
Thanks for vim test and vimux
@nicohussein2635
@nicohussein2635 Месяц назад
Great content! Please keep pushing this way!! 🚀
@typecraft_dev
@typecraft_dev Месяц назад
You got it!!
@tonit6113
@tonit6113 Месяц назад
You explain very nicely, very easy to follow. Thanks for sharing
@typecraft_dev
@typecraft_dev Месяц назад
Glad it was helpful!
@ziggyshea
@ziggyshea Месяц назад
vim-test looks amazing. I always hated jumping between projects that used different testing libraries and having to look up how to run (individual) tests. Also, a side note for Tmux sessions: if you're working with Jira tickets, naming sessions after the ticket makes jumping between ticket work so much easier. You can be working on one ticket, get some PR feedback on another, jump to that ticket's session, edit and push, then jump back to the original ticket's session. Sudden urgent bug fix required? Just make a new session, fix it, then jump back to the original session.
@adamdrake39
@adamdrake39 Месяц назад
Mate! This is awesome. Tmuxifier is going into my setup now.
@typecraft_dev
@typecraft_dev Месяц назад
Great to hear!
@arafays
@arafays Месяц назад
2:43 now thats some I think they called easter egg's or something.
@smaltotsham8960
@smaltotsham8960 Месяц назад
It looked like a love bite for a sec
@yashrajdargan2203
@yashrajdargan2203 Месяц назад
That's what we called working ✊ long way to go dev boy
@iamreinder
@iamreinder Месяц назад
Nice. I didn’t know I needed this. But I do!
@PhanorColl
@PhanorColl Месяц назад
great video, I;m starting to use TMUX, although I'm a heavy neovim user, didnt know about those tmux plugins. Thanks.. BTW, love the intro.
@typecraft_dev
@typecraft_dev Месяц назад
Thanks!
@Dainslief31
@Dainslief31 Месяц назад
Man !! I cant begin to thank u enough , I was new to nvim nd a lot scared of all the configs things , but u made it look like chuld's play to me , nd your tutorials are the simplest nd concise , i love it !!! Please never stop uploading such content
@WaldirBorbaJunior
@WaldirBorbaJunior Месяц назад
Geee... another amazing tuto... Really love it. 1st time that I heard about tmuxifier. I've created a bash file that does similarly to tmuxifier :)
@typecraft_dev
@typecraft_dev Месяц назад
Nice! Yeah it’s a pretty simple tool and it works great
@byteZorvin
@byteZorvin 23 дня назад
Cant thank you enough This was so good
@tronus98
@tronus98 Месяц назад
I started learning Linux in 98 off an old version of Slackware (for that time). I remember having to compile everything and chase down dependencies on the computer with the internet connection... then load up a floppy disk and run upstairs to run ./configure again. Only to be met by another dependency. Lol. Rinse and repeat. I don't code but I did experiment with a programming language designed to spit out sheet music and finally had a reason to use the terminal other than configuring Linux (I was using stock emacs) I guess what I'm getting to is, I think the terminal is neat as hell and I wish i had more of a reason to use it more. I'd love to be able to code a program like Transcribe! A piece of software that let's you load in audio or video... slow it down but maintain pitch and clarity, along with smoothness... as well as pitch up or down, set start points for learning tough passages without having to hunt down the start every pass/listen, etc... but all in the terminal. Finally I could live in the terminal and get my "money's worth." Annnyways. That's my story. Awesome video. I'll be checking out more for sure
@Redyf
@Redyf Месяц назад
Bro's in the neovim army, RESPECT++
@typecraft_dev
@typecraft_dev Месяц назад
Always
@almightytony09
@almightytony09 Месяц назад
Navigator? Barely even know 'er! I appreciate the chapter label. lol
@typecraft_dev
@typecraft_dev Месяц назад
lol
@ericlindell3777
@ericlindell3777 Месяц назад
Great vid, thanks!
@ObscuraDeCapra
@ObscuraDeCapra 2 дня назад
"This is a clunky workflow, but thankfully the mouse was invented like fifty fuckin' years ago and made all of this completely superfluous."
@tunglies
@tunglies Месяц назад
Very useful video. I am new to vim and tmux, wondering how to saving life by set something and make them beautiful and easy to use. This one just all I need.
@j1d7s
@j1d7s Месяц назад
Very nice being able to move between tmux and Neovim like this, I have immediately adopted it! I am using the oil plugin and needed to change the keybindings there since they clashed with the new ones and I also needed to change the keybinding of clearing the terminal window from Ctrl-L to Alt-L, but now I am all set, thanks! The testing plugin is also something I did not know before, very useful! I have been using tmuxinator for quite a while now, I am setting up two windows at work, the first one mainly for Neovim and the second one for various services which need to be running, I have also set it up in such a way that some of the panes watch others to know when to start "their" service to avoid my laptop from running into memory problems, works like a charm. One thing which I would love to get some tips on in a future video is tips regarding how to manage keybindings and whichkey, maybe you have some suggestions how to make that process smoother (in case you use whichkey at all). Maybe this could be an interesting topic for a video. I am using so many plugins that there is not much choice left after the leader key for the follow-up key and it is getting a bit unwieldy.
@typecraft_dev
@typecraft_dev Месяц назад
Which key is definitely a good topic! Thank you
@panchocorderos
@panchocorderos Месяц назад
thx nerd! I'm waiting for the vim + rails workflow 🚀
@typecraft_dev
@typecraft_dev Месяц назад
next video I go over it!
@panchocorderos
@panchocorderos Месяц назад
and then a video using lazygit with nvim? i'm trying to open the lazygit app with a keymap, but i can't 🥲@@typecraft_dev
@jocdiazm
@jocdiazm Месяц назад
Halfway through the video I realized that you always said “pane” instead of “pain”. Was so weird but accurate to hear you say “there is a plugin to navigate tmux pains”
@spacecadet_Hill
@spacecadet_Hill 5 часов назад
why do i get excited every time he says btw
@Galopino1994
@Galopino1994 Месяц назад
have you tried neovim terminals? more integrated experience, especially with overseer.nvim to autocomplete commands from package.json/cargo/makefile/etc.
@curtisbridges
@curtisbridges Месяц назад
2:00 The only downside to using vim-tmux-navigator is you lose the native "clear screen" of terminals (ctrl-l) and have to type "clear" instead. My muscle memory was not able to overcome this. 😕
@alienews0
@alienews0 29 дней назад
maybe starship on top ?
@luissanmiguel8967
@luissanmiguel8967 Месяц назад
I could be wrong, but I believe the vim-tmux-navigator plugins handles the tmux -> tmux case as well as the nvim -> nvim case so you don't have to set those key binds
@fliplucky8813
@fliplucky8813 Месяц назад
I really cannot thank you enough for your videos. My brain works in a special way where I can understand everything that is moving, but I fail to comprehend static stuff like configuration. I understand advanced concepts in ways most people cannot, but trip over stuff other people think is basic or common knowledge Your videos help me to configure stuff which I can understand, but i cannot configure. We all need a Typecraft in our lives. Thank you for not making me feel like an idiot, which most videos do. Please keep making these vidoes.
@Montagic
@Montagic Месяц назад
These videos rock! Do you have any plans on easy deployment of these dotfiles, something like Ansible? That’s one of my final steps for everything and I’ve been putting it off 😅
@learnityourself
@learnityourself Месяц назад
next level content
@typecraft_dev
@typecraft_dev Месяц назад
next level comment :)
@LeeTSoldaT
@LeeTSoldaT Месяц назад
Thanks for the amazing video! ❤ I have a question about vim-tmux-navigator however; I'm currently developing extensively in Python, meaning I'm often in a subshell (a virtualenvironment of some sort, like Poetry). Vim-Tmux-Navigator seems to have issues identifying nvim-processes inside subshells. Do you have any nice solution to this? Haven't found any clear info on the topic. Thanks mate!
@gearmaxim
@gearmaxim Месяц назад
tmuxifier goes crazy
@typecraft_dev
@typecraft_dev Месяц назад
It’s awesome
@meowhib
@meowhib Месяц назад
you're the best!
@typecraft_dev
@typecraft_dev Месяц назад
No you are :)
@jole2354
@jole2354 Месяц назад
I see you're using rails, so I was wondering which LSP/plugins/configs you use for that? Thanks and great video!
@typecraft_dev
@typecraft_dev Месяц назад
covering that in the next video, actually!
@saeedxgholami
@saeedxgholami Месяц назад
The problem I have with `Ctrl + vim nav key` is that the `Ctrl + l ` key ,, which in most terminal application mapped to `clear` command. I use `ctrl+l` to clear screen a lot. so I can't use the keys mentioned in the video I have to use `Leader + vim nav key ` to nav between panes.
@kevs3913
@kevs3913 Месяц назад
Great video, just i have a question... in tmux config we mapped the tmux navigation pane to LEADER LDRP not to CTRL LDRP, im a right? it seem a bit weird use LEADER LDR on tmux and CTRL LRDP on nvim.. or maybe im missing something.
@LukasSmith827
@LukasSmith827 Месяц назад
the thumbnail is visual harassment, great video though
@vishaldinesh
@vishaldinesh Месяц назад
Man I'm waiting for the arch i3 video to drop.
@samiyute4152
@samiyute4152 Месяц назад
Everytime i heard LDUR!🤣
@willballentine5362
@willballentine5362 Месяц назад
Question for the class: I’m a .Net/C# dev wanting to move away from VS or Rider into NeoVim but having trouble configuring it to work well in an enterprise environment. Any tips/tricks/ or resources y’all could point me to?
@farzadmf
@farzadmf Месяц назад
I'm confused; those plugin files don't seem to match lazy.nvim spec?! Shouldn't those keymap commands be inside an init/config function or something?! PS: I'm also shocked that nobody seems to use ctrl+l to clear the terminal (not only this video, but everyone seems to use ctrl bindings for navigation). I personally use ctrl+l a million times a day! Oh hey, AMAZING video BTW!
@senfglas214
@senfglas214 Месяц назад
What did you do at 10:17 ? @q ? Is this multiline editing standard in nvim? I only know this from vscode
@brittager
@brittager 18 дней назад
Hi, When I copy a new plugin installation command to the tmux config file, it gets installed, but I do not get the same message you do "Already installed 'tpm', ... Press ENTER to continue". I just get "TMUX environment reloaded. Done, press ESCAPE to continue." Is this a particular setting you have or a version thing or something else? I enjoy your series on tmux, it's helping me getting started.
@aperyon1990
@aperyon1990 Месяц назад
I had an error with this setup. When I use the in neovim on the edge, it does not navigate to tmux, as it is trying to use the wincmd instead. I have my settings load after the plugins, so this might override the plugin config. So I deleted the wincmd keymaps and both neovim pane and neovim to tmux navigations work, so I think it's not necessary to add the wincmd keymaps.
@gnom-om
@gnom-om Месяц назад
Could you please describe benefit of using tmux & nvim instead of using such nvim packages as AstroNvim and others? I am currently use AtroVim and have the same ability to split windows. Love your videos, thanks a lot!
@ClariNerd
@ClariNerd 23 дня назад
If you need to change something and you aren’t the one who set all the settings, how do you ensure that your changes don’t break anything?
@Keb_Le
@Keb_Le Месяц назад
Tryna get my workflow like yours :D
@typecraft_dev
@typecraft_dev Месяц назад
Hell yeah!!
@mobugs
@mobugs Месяц назад
is it possible to send text from a vim buffer to a tmux pane? use case is going through code inside a repl.
@arco_ix
@arco_ix Месяц назад
neovim & kitty 😸
@theesquag
@theesquag Месяц назад
My fav, I only wish kitty had remote persistence
@typecraft_dev
@typecraft_dev Месяц назад
Meeeooowwww
@Armadous
@Armadous Месяц назад
If only there were a free, cross-platform application that could seamlessly combine a code editor, file manager, terminal, and test runner; one that allows you to freely position the windows and panels as you desire, AND remembers those settings. What a pipe dream.
@irascib1e
@irascib1e 26 дней назад
Yes! It's called nvim 🎉
@CrazyLuke11
@CrazyLuke11 Месяц назад
Thanks nerd!
@tenulate
@tenulate Месяц назад
10:25 so we don't need to put key bindings inside a config = function()... end? Love the content
@typecraft_dev
@typecraft_dev Месяц назад
it depends on the plugin. if its a lua plugin that has to be initialized then you do. This is an old vimscript plugin so you don't have to worry about that
@dikshitsingh5522
@dikshitsingh5522 Месяц назад
Please make a video on your personal dotfiles
@rlifts
@rlifts Месяц назад
How is it that you are doing the nvim config? At 7:16 you're opening a file in .config/nvim . This is not the standard place for modules, it's usually ~/.config/nvim/lua/. Then you do a return in the file, who/what is the handler for this return lazyvim ? I'm kinda confused about your nvim setup.
@jamlie977
@jamlie977 Месяц назад
thanks nerd! *LDUR echoes*
@AnthonyBullard
@AnthonyBullard Месяц назад
I love the navigation, but need different keybinds since they clash with harpoon
@typecraft_dev
@typecraft_dev Месяц назад
Oh really?!
@AnthonyBullard
@AnthonyBullard Месяц назад
Yeah, but it might be advantageous to rebind harpoon instead
@pritamdodeja
@pritamdodeja Месяц назад
Anybody using a configuration like this for ipython? My workflow is tmux, vim, ipython, vimwili, task warrior, all under the management of git. I wish there was something that would ipdb usage easier w.r.t indentation and better integration between ipython embedded and ipdb. That would be heaven, but even without it, I feel this type of a workflow is a real life cheat code. Great content!
@muneefaltamimi8677
@muneefaltamimi8677 22 дня назад
nvim and tmux worked and can navigate, but navigation in nvim windows got destroyed while using tmux, is there any way to fix it??
@marlonsbardelatti202
@marlonsbardelatti202 Месяц назад
hey mr typecraft, idk if there is already a solution for this problem but a created a rust cli tool to easily change the colorscheme of tmux status line, so it matches your nvim colorscheme. I'm a beginner so probably there's a better way of doing this. Would u like to take a look?
@JuanVqz
@JuanVqz 24 дня назад
Hey dude, now that you have that great setup, install vim-test, and thank me later 🎉
@Lucs-ku5cb
@Lucs-ku5cb Месяц назад
What is your opinion about Zellij?
@typecraft_dev
@typecraft_dev Месяц назад
haven't tried it yet. I'll have to check it out
@c_kemper
@c_kemper Месяц назад
There’s also tmuxinator… I preferred that one until I wrote my own.
@typecraft_dev
@typecraft_dev Месяц назад
That’s solid as well
@arafays
@arafays Месяц назад
ldur mentioned :D
@typecraft_dev
@typecraft_dev Месяц назад
Hahaa
@xiLike2Doitx
@xiLike2Doitx 21 день назад
Does it work well with resurrect?
@anonlegion9096
@anonlegion9096 16 дней назад
Yo what breed is your dog @0:49? I have a mixed breed puppy that looks just like him/her!!
@typecraft_dev
@typecraft_dev 16 дней назад
He’s a mini golden doodle lol
@odra873
@odra873 Месяц назад
can you also create a video for a windows setup?
@zeocamo
@zeocamo Месяц назад
Why add Tmux here, you can open terminal windows in Nvim too, you can move then around, as it is just buffers you can sent commands to the windows. What do tmux do here that you can't do in nvim???(nvim got sessions too)
@0xngmi
@0xngmi Месяц назад
where are the conf files to use?
@MattRobinsonDev
@MattRobinsonDev Месяц назад
thanks nerd
@MysteryMan159
@MysteryMan159 23 дня назад
What is that intro music? I sounds like waveshaper ...
@typecraft_dev
@typecraft_dev 23 дня назад
Check it - m.ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-zYVDXffXNVI.html
@MysteryMan159
@MysteryMan159 23 дня назад
@@typecraft_dev thank you!
@pablopico93
@pablopico93 6 дней назад
If you are non a web developer and you are for example C++ dev, you cannot jump to definition with this config
@VinitKhandagle
@VinitKhandagle Месяц назад
First !!! Love to see this
@typecraft_dev
@typecraft_dev Месяц назад
you're #1 you're #1 !!!
@user-yf5cc2nv8j
@user-yf5cc2nv8j Месяц назад
LDUR
@wadallace
@wadallace 27 дней назад
Anyone else notice the gold ring on the neck for a few seconds starting around the 2:42 mark? I thought I was hallucinating.
@typecraft_dev
@typecraft_dev 27 дней назад
“One ring to rule them all.”😆
@anasouardini
@anasouardini Месяц назад
I don't understand why people use Tmux for their Desktop, I only find it useful when connecting to a remote server! What am I missing?
@typecraft_dev
@typecraft_dev Месяц назад
I personally love session management, and the use of panes
@anasouardini
@anasouardini Месяц назад
@@typecraft_dev If I use virtual desktops instead of sessions and normal window tiling for panes, would I still benefit from using Tmux?
@marktodisco
@marktodisco Месяц назад
Does anyone know the name of the color theme?
@felipegutierrez2944
@felipegutierrez2944 Месяц назад
I think is catppuccin, It is in his neovim series
@typecraft_dev
@typecraft_dev Месяц назад
YUP! :)
@dwskme
@dwskme Месяц назад
Where is the github link?
@ethandoescode
@ethandoescode Месяц назад
Thanks, nerd
@wolfisraging
@wolfisraging Месяц назад
Anyone else who loves magic tattoos?
@junaidshaikh2265
@junaidshaikh2265 2 дня назад
2:44 what's that on your neck
@LuanLouzada
@LuanLouzada Месяц назад
Okay, I'm going to have to ask, what are those things that appear on your neck in every video, is it an Easter egg? hahahahaha
@typecraft_dev
@typecraft_dev Месяц назад
👀
@hisnameisrick
@hisnameisrick Месяц назад
2:53 - what happpened to your neck?
@Cool-Linux-Penguin
@Cool-Linux-Penguin Месяц назад
AHHHH I AM THE 13th comment. Thats cool.
@typecraft_dev
@typecraft_dev Месяц назад
HELL YES BROTHER! My favorite number
@AlexanderAbelt
@AlexanderAbelt Месяц назад
Were you in a fight about this video?
@typecraft_dev
@typecraft_dev Месяц назад
the fight of my life
@typecraft_dev
@typecraft_dev Месяц назад
I really gotta solve this problem. My red cheek right? my home office gets really warm throughout the day and I guess I get a little red when the door is shut and I'm recording a video. hah
@brionlund2467
@brionlund2467 20 дней назад
"Excited to show you guys" Honestly, you wouldnt be a real vim user if you werent excited to tell everyone about it.
@VinitKhandagle
@VinitKhandagle Месяц назад
is test.nvim better than neo-test ?
@TheMFLORD
@TheMFLORD 20 дней назад
Great video, but I got a feeling your are Tim Cook in disguise 🥸
@SethRider
@SethRider Месяц назад
thanks nerd
Далее
30 Vim commands you NEED TO KNOW (in just 10 minutes)
10:27
Making Tmux Better AND Beautiful -- here’s how
10:56
100❤️
00:19
Просмотров 6 млн
How do THESE guys use Linux? - Linux for Newbs EP 0
10:06
Vim Tips I Wish I Knew Earlier
23:00
Просмотров 33 тыс.
The Hype is Real About Hyprland
3:52
Просмотров 4,8 тыс.
What the hell is Zellij?
8:00
Просмотров 49 тыс.
7 Amazing CLI Tools You Need To Try
18:10
Просмотров 157 тыс.
NVChad - Turn Neovim Into An Awesome IDE
14:48
Просмотров 193 тыс.
X86 Needs To Die
1:09:15
Просмотров 348 тыс.
Tmux has forever changed the way I write code.
13:30
Просмотров 885 тыс.
Hidden Tmux POWER: The Missing 50%
8:52
Просмотров 17 тыс.
The picture getting old on Omegle #shorts
0:59
Просмотров 10 млн
три кошака и ростелеком
0:26
Просмотров 2,4 млн
DESAFIO DOS COPOS #shorts
0:38
Просмотров 34 млн