Тёмный

My Developer Workflow - How I use i3, tmux, and vim 

ThePrimeagen
Подписаться 420 тыс.
Просмотров 461 тыс.
50% 1

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

 

24 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 765   
@cidhighwind8590
@cidhighwind8590 8 месяцев назад
I started watching Primeagen in 2004 and I’m almost finished setting up my workspace so I can start coding at maximum productivity. I can’t wait!
@spoofer9113
@spoofer9113 2 месяца назад
Your future self to you, "You're hanging me on an almost" - Cooper (Interstellar).
@Sameer.Trivedi
@Sameer.Trivedi Месяц назад
If you are 90% done, there is 90% more to go.
@cygwnchen8518
@cygwnchen8518 3 года назад
These videos are so insanely helpful to someone who is just starting out in the software world. I know you say that you can't be someone's mentor, but in many ways, these tips and trick are the gateway. Appreciate these a bunch Prime!
@ThePrimeagen
@ThePrimeagen 3 года назад
Ty. That is very nice :)
@quentincaldway
@quentincaldway 3 года назад
I def agree with you Cygwn Chen! Hands down ThePrimeagen has some real sauce of his sleeve! I'm grateful I discovered him!
@omarkarim9298
@omarkarim9298 2 года назад
Setting up your desktop has very little to do with being a good developer buds
@vaisakh_km
@vaisakh_km 2 года назад
@@omarkarim9298 yes... more to do with... your experience Coffee, mech. Keyboard, multi monitor setup etc... :)
@matthewscott336
@matthewscott336 Год назад
@@omarkarim9298 I think it matters, it builds your philosophy around your work.
@kenrod6643
@kenrod6643 2 года назад
It is difficult to be both entertaining and informative. I salute you.
@ThePrimeagen
@ThePrimeagen 2 года назад
Ty! It's a hard balance to have.
@bbfi-d5x
@bbfi-d5x 11 месяцев назад
Hmm, just give me the juicy bits already. Stop with all the mumbo jumbo
@pging8328
@pging8328 10 месяцев назад
Sir, you clearly have never watched "naked news". (Not endorsing this BTW). (Also I don't know what naked news is but my friend told me to write it in the comments)
@ItsBarmanji
@ItsBarmanji Месяц назад
@@ThePrimeagen So you're defaul is Alt, not super?
@jamesvaci7382
@jamesvaci7382 2 года назад
i laughed so hard at the "If you have Windows may god have mercy on your soul" that everyone in the office looked at me like wtf xD
@ThePrimeagen
@ThePrimeagen 2 года назад
hah! That is awesome.
@carlsjr7975
@carlsjr7975 Год назад
​@@ThePrimeagenthe "enterprise" has infected osx now. I run nvim in a container or run a vm to maintain speed
@softed
@softed Год назад
the primeagen is not safe for work
@zirahvi
@zirahvi Год назад
For those poor souls there is bug.n -- it's not i3, but pretty close. The only downside is that it's written in AutoHotKey.
@francescelies4190
@francescelies4190 8 месяцев назад
Stop bragging about how hard you laughed and grow up. Laughing at people for their bad choices doesn't help anyone, it doesn't help you to either. Your laughter required no thinking and no self criticism, if window$ is that bad why don't you offer them a path how to leave it? I guess that would require some effort/thinking from your side. @ThePrimeagen most likely you have thousands of messages and you won’t read this, trying my chances anyway. Prime you are a smart, cheeky and funny dev celebrity full of great advice. Wouldn't it be better to show your clique the nuances of why some people might be stuck with windows instead of validating the laughter. That’s the approach normally have seen in most of the topics you talk about. The same way you wouldn't encourage your kids to laugh at other kids because of the T-shirt color they wear. Here I believe you can do better. Don’t promote childish behavior from your youngsters by pinning their messages where they laugh hard at others based on a specific trait, in this case their OS (willingly or unwillingly chosen). I don’t think the amount of automation shown here is possible in windows, but how many people need that? I believe most devs don’t, not trying to underrate your i3 setup, unless I missed something most of the benefits you showed in the video came from tmux and using a terminal based editor nvim. At any rate, under windows wezterm and nvim can get you far enough, you still have the problem of inefficient window switching to other apps, but while programming how much of that improves your productivity? Wrapping it up, I’m not on the same boat of laughing hard at other’s.
@ZergSwarm
@ZergSwarm 3 года назад
That StarCraft Analogy is the GREATEST thing since sliced bread
@ThePrimeagen
@ThePrimeagen 3 года назад
The most bestest.
@keithkiminsky2216
@keithkiminsky2216 3 года назад
@@ThePrimeagen starcraft got me into using vim, because i realized keyboard shortcuts are way faster than using a mouse.
@iurysza
@iurysza 3 года назад
It's brilliant, now I can explain my shortcut addiction! I've also played starcraft as a kid lol
@TNeulaender
@TNeulaender 2 года назад
@@keithkiminsky2216 yep. What brings me to master from previous plat can bring me to senior in other areas ;)
@matthewcorbett8637
@matthewcorbett8637 3 года назад
This is great! I love seeing people's work flows, iv been struggling to find my groove at my first dev job so i started seeing what my favorite RU-vidrs do! (Aka you)
@ThePrimeagen
@ThePrimeagen 3 года назад
Yeah!!!!
@approxahmed
@approxahmed Год назад
In terms of Windows for quick switching between programs: - Have your most used programs pinned to the taskbar - Use Win + number (1,2, 3, so on) to move between different programs
@yonas6832
@yonas6832 Год назад
Still nothinh compared the the stuff u can achieve on Linux and Mac
@approxahmed
@approxahmed Год назад
@@yonas6832 Yeah that's true, I was just sharing this for anyone else on Windows who might have not known about this
@exnihilonihilfit6316
@exnihilonihilfit6316 Год назад
Same on Ubuntu.
@yashsolanki3665
@yashsolanki3665 11 месяцев назад
🤢🤮
@JustinPBarnett
@JustinPBarnett 9 месяцев назад
use bug.n as a tile manager on window. It's glorious
@nichtgestalt
@nichtgestalt 3 года назад
That is some i3 Action right here. By the way a huge shout to you, brother. You helped me a lot to configure vim and my vimrc file when I was an absolut beginner. (Actually I still am. But now there is some progress.) So keep up the good work! Habe a nice day!
@ThePrimeagen
@ThePrimeagen 3 года назад
Tytyty
@marcoasnetto
@marcoasnetto 3 года назад
In macos, by combining yabai+hammerspoon+karabiner+ubersitch+alfred you can have a great experience compared to out of the box macos. It takes some time to get all of them working nicely together, but it is totally worth it... especially for those who like a more mouseless experience and lots of automation. Great video!
@ThePrimeagen
@ThePrimeagen 3 года назад
Ty. I think at one point I used karabiner
@gahlahad7312
@gahlahad7312 2 года назад
For a moment I thought you were just making up words
@LinkEX
@LinkEX 2 года назад
@@gahlahad7312 lmao same. "Alfred" felt like the finisher of the whole joke. Not only because it's the only tool I knew on the list, but also because it was the only normal-sounding program.
@GuerreroUrbano100
@GuerreroUrbano100 Год назад
Thanks for all the recommendations! Gonna look into these and see if what I can use to improve my workflow.
@rb.x
@rb.x Год назад
+1 for this. Yabai (tiling window manager) plus skhd (keyboard shortcuts) have improved my life. I want to recommend Raycast as an alternative to Alfred. Also Contexts let’s you switch windows more easily (as opposed to spaces).
@BigfootPrinting
@BigfootPrinting Год назад
Man, I hope I can reach this level of productivity with my coding some day. I didn’t even realize how slow I was working until I watched your videos.
@TadhgRiordan
@TadhgRiordan 5 месяцев назад
it's kind of a fugazi. the productivity benefit is minimal - it's just enjoyable to turn your environment into a fun game
@MrDgf97
@MrDgf97 3 года назад
No way, I was just thinking yesterday that learning vim is like learning to use all the built-in and custom hotkeys in Starcraft. Sure, it’s slow as hell in the beginning, but once you get used to it, your APM skyrockets
@ThePrimeagen
@ThePrimeagen 3 года назад
So true. Love the mentality
@dwillingham
@dwillingham 3 года назад
You convinced me to finally dedicate one of my PCs to Linux and start using i3! Installed Pop!_OS 20.10 and installed i3 over the weekend and loving it. Also convinced me to give SC2 another try!
@ThePrimeagen
@ThePrimeagen 3 года назад
SC2 is so much fun
@OmarIskandarone
@OmarIskandarone 2 года назад
Pop Os comes with its own tiling manager, I guess it's a spin of i3.
@ipurelike
@ipurelike 2 года назад
As someone who plays starcraft and uses vim, your analogy of using your workflow as if you are playing starcraft is priceless!!!
@quentincaldway
@quentincaldway 3 года назад
Bro WHY am I just discovering your channel?....I must live under a rock. Simply put...You're a beast in this field....Do you need reassurance....No you don't, but it feels good saying it lol. Continue feeding us these juicy videos man. Unprecedented content! I appreciate your efforts, edits, and your delivery!
@ThePrimeagen
@ThePrimeagen 3 года назад
Very kind! Thanks so much
@quentincaldway
@quentincaldway 3 года назад
@@ThePrimeagen Of course boss! I'm here on the regular now brother keep up the awesome work!
@andersschramm9946
@andersschramm9946 2 года назад
I also landed on i3, tmux and vim. I am just gonna show people who think my setup is weird this video now! :D A bonus to learning vim is that you can start to use all these vim-like programs to navigate instead of the arrow keys, which means you almost never have to use the arrow keys, and then you can easily start using the 60% keyboards which then gives you more desktop place, less train on your right shoulder and just looks better imo
@Thirsty_Fox
@Thirsty_Fox 2 года назад
I struggle with the HJKL directional (arrow) keys because J and K are reversed from what my brain thinks it should be -- grouping the "back" (left and up) and "forward" (down and right). Instead it alternates, not grouping those together.
@andersschramm9946
@andersschramm9946 2 года назад
@@Thirsty_Fox I think I had the same issues to begin with. It just takes a little practice. Maybe 3 weeks ish
@BitWizCoder
@BitWizCoder Год назад
i'm just wtf man! i've been trying to do these for a long time. thank you :) btw today i got your fm vim course gonna follow it when i start to use vim.
@AmazzzingZEUS
@AmazzzingZEUS 2 года назад
I like your style man, you seem to be passionate about what you're doing. Subscribed!
@RakibFiha
@RakibFiha 3 года назад
macOS has multiple tiling window managers. I was using Yabai with skhd or spectacle before, but these days most of my work is done in Linux. But I miss yabai. It was quite awesome.
@k4p7
@k4p7 3 года назад
This is awesome! Starcraft Brood War also taught me and a very young age that the keyboard is faster than clicking on things. Cheers!
@ThePrimeagen
@ThePrimeagen 3 года назад
Gotta love brood war
@dimitardimitrov3421
@dimitardimitrov3421 3 года назад
Bruv, just use kitty I use arch btw
@ThePrimeagen
@ThePrimeagen 3 года назад
I'm not your bruv, brow
@jonasgrnbek7113
@jonasgrnbek7113 3 года назад
arch users are the vegans of programming
@Zachthesloth
@Zachthesloth 3 года назад
For real though i do love kitty a lot. I eventually found tmux didn't always play nicely with certain tuis that I was using and it took a lot of work for my dumb ass to get it to behave in a way I found comfy. Kitty just kinda worked once I added some vim keybindings. It's luxurious. I love it.
@agushex
@agushex 3 года назад
@@jonasgrnbek7113 Why whyyy would you say that? it hurts me deeply T_T
@alexwexov4298
@alexwexov4298 3 года назад
Kitty is bloat !
@mohamedyamani8502
@mohamedyamani8502 Год назад
It would've been amazing if you did a video configuring your workflow from a fresh install!!!
@mo.G_2020
@mo.G_2020 6 месяцев назад
I really can't describe how I admire this man. Really professional and knows exactly how to make my brain hurt less. Love ya
@death-disco
@death-disco 2 года назад
"so let me show you a better way..." *cues anime waifu desktop wallpaper*
@ThePrimeagen
@ThePrimeagen 2 года назад
perfect time for the waifu
@costelinha1867
@costelinha1867 2 года назад
I don't play much StarCraft, but custom keybindings and shortcuts make WoW a LOT MORE FUN TO PLAY! Like being able to do your rotation without needing to constantly move the mouse around your action bars.
@teej_dv
@teej_dv 3 года назад
Have you heard about alacrity btw?
@teej_dv
@teej_dv 3 года назад
Dang it, I commented this before you said to do it in the vid.
@swastikacharyya
@swastikacharyya 3 года назад
KittyBTW
@ThePrimeagen
@ThePrimeagen 3 года назад
What's an alacrity?
@teej_dv
@teej_dv 3 года назад
@@ThePrimeagen it's something to do with cats. Always gets mentioned when ppl talk about kittys
@geewiz70
@geewiz70 3 года назад
@@ThePrimeagen Alacritty is a play on "TTY" because it's a terminal app. But it hardw... Ohhhhhhh.
@memoryman51
@memoryman51 3 года назад
When I get into the flow of vim, my keypresses look similar to starcraft. Vim needs an apm counter.
@ThePrimeagen
@ThePrimeagen 3 года назад
I built an APM counter in the neovim.
@bryanmora4996
@bryanmora4996 2 года назад
Now I think I'm getting closer to where you at, currently using the same tools but I miss all the keybindings and quickness you show in the video, I wonder one day to be as fast as you are I'd like to ask for a keybindings video (for the terminal too) if is not too annoying
@frankfill2050
@frankfill2050 2 года назад
Primeagen is the kind of guy you would wanna look up to as a new hire.
@askholia
@askholia 9 месяцев назад
Just saw the part about Harpoon and how it persists. I then, in utter amazement said three times, 'They persist!?' outloud. Thank you Harpoon master, this is one for the ages.
@johannesdegen9225
@johannesdegen9225 3 года назад
OpenBSD, tmux (on st), cwm, (neo)vim seem to be able to do something very similar. I love these virtual desktops.
@ThePrimeagen
@ThePrimeagen 3 года назад
Ya ya
@auntiecarol
@auntiecarol 2 года назад
Every once in a while I get out of Emacs and take a peek at what the other side is doing. Honestly, this is pretty damned slick!
@boredandagitated
@boredandagitated 5 месяцев назад
Emacs RU-vid plugin when
@samueldostal309
@samueldostal309 3 года назад
I was using tmux-continuum plugin for some time, but always found it very unreliable. Sometimes it was not restoring sessions/vim panes sometimes it was even crashing the tmux server. At least with fish shell. After watching this video , I created very similiar tmux workflow to yours (fzf for project - create/attach tmux - create windows/panes correspondingly), and I think I like it more than tmux-continuum. Thank you for that
@ThePrimeagen
@ThePrimeagen 3 года назад
That is awesome. I had found that most tmux plugins aren't all that useful. It's such an easy interface to use, most the time a few commands gets you a huge distance.
@VincentVetsch
@VincentVetsch 3 года назад
Arch + Evil Emacs + st + i3, your setup is pretty much like mine. Great job.
@ThePrimeagen
@ThePrimeagen 3 года назад
ya ya!
@mheetu3909
@mheetu3909 2 года назад
Both Windows and MacOS have supported virtual desktops for years now... definitely a must-use for those looking to be productive.
@sher1x165
@sher1x165 Год назад
But Windows virtual desktops are very limited..
@jemag
@jemag 3 года назад
Damn I also come from a Starcraft background and it is partly what attracted me to vim. Now it almost feels like I'm playing a video game while editing code
@ThePrimeagen
@ThePrimeagen 3 года назад
That is right!!!!!
@atidyshirt
@atidyshirt 3 года назад
I have never played StarCraft, but this is exactly how I describe using vim and tmux, you don't have to think and it's fun and code just appears on the screen
@adityasinha3669
@adityasinha3669 3 года назад
For macOS users, same functionality of i3 can be achieved with the built in "spaces". Applications can be assigned to open in fixed spaces and shortcuts to navigate between spaces can be set in mission control keyboard shortcuts(For eg ctrl+1 for space1, ctrl+2 for space2 and so on). All other things(vim, tmux etc) work the same way. Great video dude!!! 💯
@ThePrimeagen
@ThePrimeagen 3 года назад
That's cool, haven't worked on a Mac in years. I didn't know they had that.
@atidyshirt
@atidyshirt 3 года назад
@@ThePrimeagen another option is to install yabai, very similar to bspwm experience
3 года назад
Any tips on how to make switching spaces instantaneous instead of having to wait for those awful slow transitions?
@atidyshirt
@atidyshirt 3 года назад
@ yabai turns off transitions, but you could turn on motion blur, changes the animation and is a little shorter
@heroe1486
@heroe1486 3 года назад
i3 is way more than workspaces you can easily switch to tho.
@MCTTABOB
@MCTTABOB 3 года назад
on macOS, I have set up 4 desktops / screens just the same way, ctrl-1 goes to browser, ctrl-2 to coding, ctrl-3 to notion, ctrl-4 to chats. (you can set this up in mission control settings and keyboard shortcuts) Also got amethyst as a tiling window manager. I admit it's not as fluent as dwm or i3, but it works pretty well.
@ThePrimeagen
@ThePrimeagen 3 года назад
Yeah, it's awesome though that you have a window manager now.
@MCTTABOB
@MCTTABOB 3 года назад
@@ThePrimeagen it absolutely is. Sometimes I wish I could just install dwm though, which I used for a couple of years.
@NonsensGaming
@NonsensGaming 3 года назад
for mac OS the alternatives for getting a WM is yabai with skhd or amethyst though yabai is better imo
@zestynotions
@zestynotions 3 года назад
yes, yabai is pretty awesome, and cmd 1~x switches workspace instantly no transition bs.
@TheJobCompany
@TheJobCompany 3 года назад
I don't understand what half of these words mean
@eugeneware3296
@eugeneware3296 3 года назад
I’m still using skhd and love it. Will move to yabai at some point.
@NonsensGaming
@NonsensGaming 3 года назад
@baggiponte it is on homebrew on the custom tap of the maintainer of yabai brew tap koekeishiya/formulae brew install yabai you should also install skhd to make mappings for yabai
@frmcf
@frmcf 2 года назад
Virtual desktops are amazing, and you don't have to be a developer to get good use out of them. Two-fingered swipe on the mouse to switch desktops on Mac has legit changed my life and I can't imagine working without it.
@HamidKarzai
@HamidKarzai Год назад
I agree virtual desktops are hella useful, but are you seriously using the magic mouse? I gave that thing a try for a month and it was just the most sad mousing experience I've ever had
@prog4god
@prog4god 3 года назад
yea, respect! I have same feeling about sc2 and "vim style" or cli zen of navigation and project editing. i's kind of magic power that produce "one man army" programmers =)
@ThePrimeagen
@ThePrimeagen 3 года назад
That is how I feel
@KronosaurusRex
@KronosaurusRex 3 года назад
This is the first video I saw about your channel via YT Home recommendation. At first I thought, what a weird guy operating in such an awful enviroment. Didn't even finish it. About two weeks ago everything clicked for me, remembered that 'vim guy', went back to check and now... ThePrimeagen is my lord and savior.
@ThePrimeagen
@ThePrimeagen 3 года назад
hah! Don't put me on a pedestal, for I will disappoint you ;) But! I really love making workflows that are optimized for my brain, so not everything is going to be for you, but I sure hope that you enjoy what I have made here.
@KronosaurusRex
@KronosaurusRex 3 года назад
@@ThePrimeagen that StarCraft reference 🔥
@kobbarikola
@kobbarikola 2 года назад
I pretty much have a similar setup with similar philosphy but on macos. For this I use : 1. Nix(for reproducible envs) - I use homemanager + nix-darwin 2. Kitty(terminal) - default config 3. Zsh - I use default oh-my-zsh config 4. Tmux(Terminal multiplexer) 5. Doom-emacs(but with vim bindings) - I used to be a vimmer previously with tmux + vim workflow, but now doom-emacs with magit + org mode just makes task management soo smooth. I cant go back to vim anymore. 6. Spectacle(for window + desktop management) - I have been planning to switch to Yabai for whiile now but didnt find the time yet. 7. skhd (for hotkeys) 8. Alfred (for workflows and automation)
@swastikacharyya
@swastikacharyya 3 года назад
Another Great video BTW primeW 🔥 day by day we are making serious upgrades in the Video and use kittyBTW 😎 Love your videos ❤️
@ThePrimeagen
@ThePrimeagen 3 года назад
Tytytytytytyty!!!!
@YarAgapoff
@YarAgapoff Год назад
thanks man, it's awesome! if not for your vid, I would never know about i3. too bad you seem never respond to comments, but it would be also cool if you elaborated on your fzf+nvim binding.
@Richard-sp3ul
@Richard-sp3ul 2 года назад
This is one of those vids that you have to come back to time and again.
@MinNyeAccount
@MinNyeAccount 3 года назад
Your workflow makes so much sense, I also want my computer time to be dressed in coconut oil like you.. however I'm on windows and using vs code... yikes!, guess if I make the switch now, I will get fired from the initial but very drastic drop in productivity :D
@amur_
@amur_ 2 года назад
What is it about you that I like? idk, but this is fucking great. keep going man.
@ThePrimeagen
@ThePrimeagen 2 года назад
ytytyt :)
@someone43543
@someone43543 Год назад
Thank you. That is exactly how I feel about moving windows around manually that it is excruciating!
@mgz0305
@mgz0305 Год назад
LOVE the Starcraft analogy! Cheers
@birdfacemd
@birdfacemd 2 года назад
Interesting setup. I'm running something similar, though I haven't really been using tmux as much, only really got into the splitting functionalities of tmux before which got somewhat eaten alive by neovim's terminal buffer suiting my needs along with i3's window management functionality. You've convinced me to give it another look though, session restoration is definitely a big plus for me. One really nifty feature of i3 I've been trying to incorporate more is its vim-like marks, handy for when you'll be jumping around between particular windows regularly, though I'm still trying to figure out a way to bind those functions that's both quick and easy to incorporate mentally into my flow, might try i3mod+function keys for quickly marking and recalling on the fly. (PS: Entirely likely you're already on board the QMK train but if not, definitely look at grabbing and playing around with a QMK keyboard, being able to remap and optimize my keyboard firmware itself has proven to be a total gamechanger for me. Remapping my modifier keys to be hold actions on caps, enter, and tab has made hand fatigue way less of a thing across a long period of computing, and being able to get rid of caps lock in favor of escape should honestly just be the default for keyboard layouts imo. Got a bunch of other more complex functions with layers and macros and such, but those changes are probably the single biggest improvements in my setup. Plus, since it's on the firmware of the board anything there is at complete parity across both my own linux box and my company windows machine, no added steps required. Super handy.)
@birdfacemd
@birdfacemd 2 года назад
Looks like there's even an open source controller board design to add QMK support to the kinesis, could be a fun video idea perhaps.
@jmann277
@jmann277 3 года назад
Looking forward to a harpoon video! Only now realized how incredible it could
@ThePrimeagen
@ThePrimeagen 3 года назад
Yayayayaya
@lpanebr
@lpanebr 3 года назад
I'm waiting too
@NonBinary_Star
@NonBinary_Star 2 года назад
running with Pop_OS and managed desktops with auto alignment here. productivity wise, I like your notion of isolating each tab based on function. I'll have to give that a go.
@ThePrimeagen
@ThePrimeagen 2 года назад
It's my current favorite
@Heffsta02
@Heffsta02 3 года назад
this is such a good coconutty and oily channel.... going to check out all these tools.
@ThePrimeagen
@ThePrimeagen 3 года назад
yayayayayaya!
@qsam14
@qsam14 23 дня назад
Just discovered this. Albeit I stumbled upon Sway Spin of Fedora .. the concept is still the same thing. I'm going to go be a dev now! thank you.
@devgalileu
@devgalileu 3 года назад
I'm using Tmux + i3 at work, it's fantastic! Its so fast to switch windows. When i go home and open my macbook pro, it feels so slowwwwwwwwwww probably i'm going to replace it for a notebook with ubuntu
@ThePrimeagen
@ThePrimeagen 3 года назад
Ya ya ya!!!
@diabeticnomad
@diabeticnomad 2 месяца назад
I actually just started using alacrity holy cow I love it it’s amazing 🥰
@j.erlandsson
@j.erlandsson Год назад
I’ve configured MacOS to have chat in split window on desktop 1, code and browser split on mail on 3 and random on 4. It’s not really automatically tiled, but there are tools for window position, so second best thing. I ran i3 for a couple of years back in whenever-it-was. I liked it but I always ended up configuring things instead of actually doing what I was supposed to do. If I’d leave the Apple garden I’d go back to and i3
@linkarzu
@linkarzu 9 месяцев назад
I love prime's workflow so much that I replicated it in macOS and created a youtube tutorial. I setup karabiner to use hotkeys to switch between apps, yabai as the window manager in stack mode to have a single app on the front (I even enabled transparency in some apps), tmux and some other CLI tools. In case you find it useful, here's the playlist ru-vid.com/group/PLZWMav2s1MZTanWwNKYvS8qgwl0HBH9J-&si=qilCvztAW_oIkg2I
@Aleksandr-The-Bright-Guy
@Aleksandr-The-Bright-Guy Год назад
I think you completely sold me on changing my OS to Linux in future, just thinking about how many workarounds I had to go through in Windows to customize things the way I want (with all the restrictions, stupid default apps, non-flexible environment)...
@jimshtepa5423
@jimshtepa5423 3 года назад
thank you for sharing the knowledge you have accumulated over years. your effort is appreciated. a quick question: what is it that allows you to open file tree by hitting ctrl-f and launching tmux when you hit enter on a given path? is it i3 that does it?
@ThePrimeagen
@ThePrimeagen 3 года назад
it's in my dotfile repo, named tmux-sessionizer
@princeofexcess
@princeofexcess 5 месяцев назад
Its possible on mac using automator and some paid for software. It doesnt always work because if the program uses your shortcut you selected you are out of luck. But here are the steps. 1. Open Automator (Cmd + space Animator) 2. Select Quick Actions (Gears) 3. Search for Launch Application (on the left side) 4. Save 5. Open System Settings (Cmd + space System) 6. Keyboard -> Services -> General 7. Find your action with the name you gave it 8. Add a shortcut. like cmd + option + 1 9. Repeat for other programs
@ZombieLincoln666
@ZombieLincoln666 7 месяцев назад
My issue is that there’s a ton of overlap between tmux, i3wm, and vim. They each have their own splits, tabs etc..
@pepperet5216
@pepperet5216 3 года назад
now i feel like a peasant. What a display of skill just navigating files.
@the.real.ipatch
@the.real.ipatch 3 года назад
tpm to manage tmux plugins tmux resurrect to restore tmux sessions through reboots if rebooting your computer is your sort of thing.
@ThePrimeagen
@ThePrimeagen 3 года назад
I am unsure still on this.
@johnjeralddechavez4813
@johnjeralddechavez4813 3 года назад
Great configs! Btw I like your anime BG too
@ThePrimeagen
@ThePrimeagen 3 года назад
Yayaya
@dimavovk2091
@dimavovk2091 3 года назад
haha, great analogy with 4th workspace and runlevels(system targets)
@ysinghs
@ysinghs Год назад
For those on Mac, use RCMD. It may be even better than i3. You use your right Cmd + {key} where {key} is the first letter of the app you wish to go to. It's paid, but a one time $8 fee was the best money I've spent on a software (including that Office crap). I've never tried i3, but number-based switching gives you access to maybe a few one digit screens, but with a character based switcher, you get a shit ton of more options. I find it's also better for any new stuff you open occasionally but don't want to dedicate a space to. Thanks for the video though. You helped me switch to vscode with vim + whichkey extension (basically gives you keyboard based navigation) that has really sped everything up for me.
@-aexc-
@-aexc- 10 месяцев назад
you can also have letter switching, most people just don't cause they map those to other things
@matthewslauson4629
@matthewslauson4629 Год назад
I know I am late to the party, but I am so jealous you get to have linux on your work computer.
@tbcfrankee
@tbcfrankee Год назад
I’m starting to notice a trend of a lot of great developers all having played StarCraft in the past. I’ve had people be in awe at how fast I’m working and I’m like bro, compared to StarCraft this is slow mode.
@ThePrimeagen
@ThePrimeagen Год назад
you may be on to something, and also thanks for calling me great :)
@jumpman1823
@jumpman1823 3 года назад
Prime bring your stream recordings over here dammit!
@ThePrimeagen
@ThePrimeagen 3 года назад
You don't want it. They're long and they're boring. And they involve tons of screaming coconut oil and more. But the worst part about it all is there's no music. Only the live experience gets the music.
@jumpman1823
@jumpman1823 3 года назад
@@ThePrimeagen I actually do. I know you mentioned at some point you might make separate channel. Sometimes I can't catch you live and downloading your vids for the road/work would be great.
@intox4953
@intox4953 2 года назад
Not at all surprised you're a tarkov gamer!
@Jeff_Seely
@Jeff_Seely Год назад
Man there are few things in my computing experience that is sweeter than a well-oiled WM.Everyone loves a beautiful workspace, but for me, not at the cost of performance. Always, function over form.
@DaviAreias
@DaviAreias 2 года назад
Took me a day to understand this video but it was worth it xD
@AdamPoniatowski
@AdamPoniatowski 11 месяцев назад
gotta love the subtitles on this one in the first 2 seconds...
@overclucker
@overclucker 2 года назад
My setup is extremely similar, but I keep a terminal on the 2nd workspace and use emacs bookmarks instead of fuzzy find and screen/tmux.
@ilovemeverymuch
@ilovemeverymuch 2 года назад
Nice! I like this "optimising productivity" rather than "making it look pretty". But... I am a weak man, and use a dwm patch for the gaps (I did not go as far in the heresy as having an anime wallpaper though 😅 )
@ThePrimeagen
@ThePrimeagen 2 года назад
I keep things simple ;)
@rom1detroyes143
@rom1detroyes143 3 года назад
I use to have several terminals in i3, and swich from one to the other from i3 shorcuts... ... Thanx to you, doing this with tmux is my next move, cause I start to work on my desktop from my laptop, and having all my sessions on one tmux server is a gamme changer :-) tmux-with-me !
@ThePrimeagen
@ThePrimeagen 3 года назад
Yayayaya! Totally agree with this
@howardthealien3339
@howardthealien3339 3 года назад
Hey, just wondering how do you make your font glowy or like neon? When I use the font(Ubuntumono) it doesn’t look as good. Just thought it looked good in your past videos too.
@ThePrimeagen
@ThePrimeagen 3 года назад
What do you mean? It is just neovim, xterm (default term) with default font. Tree sitter does the highlights
@VibhavBobade
@VibhavBobade 2 года назад
he is a software engineer chad I didn't know I needed
@zigggen
@zigggen Год назад
Im using raycast and its been great using it since. To switch window I currently use ctrl + arrow keys. But I think you can easily bind keys on macbook. Or you can use cmd + tab to switch between them.
@MrFamboYT
@MrFamboYT 3 года назад
We both have one thing in common, "THE MIC ARM". :D
@ThePrimeagen
@ThePrimeagen 3 года назад
Love it
@ChristopherSalisburySalz
@ChristopherSalisburySalz Год назад
I remember the starcraft days. I was actually playing warcraft back in the day (I think it was just called "warcraft"). It was kind of similar to starcraft but not as good of graphics and you played people by connecting directly to them with the dial-up modem. Good times until little sister picked up the phone.
@julianomoraisbarbosa
@julianomoraisbarbosa 3 года назад
Very nice workflow
@ThePrimeagen
@ThePrimeagen 3 года назад
Thanks! I really enjoy it
@_JS96
@_JS96 2 года назад
The way it can work the same in mac is to have multiple workspaces and just open the apps you usually use in that workspace. I have mine set up with 4 workspaces and I CMD+[#] to tab around to them. The frustrating part is fullscreen windows (like a fullscreen youtube vid) open on the Nth+1 workspace, without keybinding.
@shaggyfeng9110
@shaggyfeng9110 Год назад
Bro, you have 666 comments, and you like StarCraft, subbed. (PS: If you get fired, would you stream StarCraft Brood War instead ;D
@pedrochaves7091
@pedrochaves7091 3 года назад
what terminal do you use? and what theme? looks nice
@greglocker2124
@greglocker2124 Год назад
Time to move in from VSNoob because my project takes like 2 seconds to LSP. Nobody cares, but bumping the algo for my boy.
@Alex-xl4xe
@Alex-xl4xe Год назад
This dude is crazy, I love it.
@wingunder
@wingunder Год назад
Great stuff!!! Why i3 and not ratpoison? And why tmux and not screen? Both ratpoison and screen are more basic, simple and light-weight, so for me it'll be interesting to know what functionality you use in i3 and tmux, that ratpoison and screen can't offer you. Thanks :)
@formyeve
@formyeve Год назад
Never heard of any of these until today 😅
@chillydoog
@chillydoog 2 года назад
Vim bootcamp by Primediddy. We love to see it
@an93lofdeath
@an93lofdeath 3 года назад
Forgive me, I thought you used macOS. Great vid, I have a similar workflow just using bspwm instead of i3 and emacs with evil instead of tmux and vim.
@ThePrimeagen
@ThePrimeagen 3 года назад
That sounds pretty good :)
@mntmnt3108
@mntmnt3108 3 года назад
Nice analogy to StarCraft 👍
@ThePrimeagen
@ThePrimeagen 3 года назад
Yayaya. I really like starcraft.
@nikolayrademacher5737
@nikolayrademacher5737 3 года назад
@@ThePrimeagen BW or SC2? And what race and league :o
@cnervip
@cnervip 2 года назад
on xmonad always used 1:term 2:file explorer 3:web browser 4: vpn 5-0:not important apparently bc I don't remember. always use tmux or screen when editing from terminal... I used to be linux only but I should try to understand windows(mildi done) I love you keyboard, can we be alone? ahah.PS: ty for... just being in the right moment.... and using vim
@jayantchhillar4227
@jayantchhillar4227 4 дня назад
this man without that mustache looks weird. Still have to pay respect because its prime
@P3PPING
@P3PPING Год назад
MacOS users! In keyboard settings -> shortcuts -> mission control -> turn on all the keybinds for desktops 1-9 On the dock, go through all your normal use apps, right click -> options -> assign to and set them to a specific desktop. You now have i3 desktop functionality out of the box, at least on Ventura ✌
@ds_7
@ds_7 2 года назад
For Mac you can easily switch spaces using Command + numbers, you might be able to use a different shortcut but I can’t recall.
@beefeeb
@beefeeb 6 месяцев назад
It's slow as molasses tho. Takes like a full second *after* the animations finish for the active window to switch
@abdulmateen2652
@abdulmateen2652 2 года назад
I use xmonad for my tiling window manager with the mater + slave or grid layout for managing different terminal "sessions", I think it's time to bring in tmux as well, I am sold
@cherryramatis2508
@cherryramatis2508 3 года назад
Arch + i3 + emacs = beautiful
@GreyDeathVaccine
@GreyDeathVaccine 3 года назад
church of emacs :D
@heroe1486
@heroe1486 3 года назад
Arch + i3 + doom emacs
@cherryramatis2508
@cherryramatis2508 3 года назад
@@heroe1486 I'm on arch + bspwm + neovim and emacs together right now kkkkk
@scibero
@scibero 2 года назад
Tarkov ftw! Great stuff man.
@zen-ventzi-marinov
@zen-ventzi-marinov 2 года назад
"my spinal cord responds to my thinking" LMFAO
@JoshBabin
@JoshBabin 2 года назад
Love the videos, bud. Commenting on a video that is now a year old, but big question: How do you get your OS to fire up with programs opened on their respective workspaces/virtual desktops? I like this "breaking the programs out between workspaces" concept, but opening each program and putting it in its place, EACH TIME, is just too much. Is this in your dotfiles, because I can't quite locate it...
Далее
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
Tmux has forever changed the way I write code.
13:30
He went ALL in 😭
00:12
Просмотров 1,8 млн
Vim Tips You Probably Never Heard of
12:11
Просмотров 121 тыс.
Want a PERFECT Linux Setup? Watch This Now
26:55
Просмотров 150 тыс.
No One Hires Jr Devs So I Made A Game
39:31
Просмотров 226 тыс.
Projects Every Programmer Should Try
16:58
Просмотров 490 тыс.
I Went To DEFCON!
16:25
Просмотров 260 тыс.
the worst man in tech
6:25
Просмотров 73 тыс.
Git's Best And Most Unknown Feature
8:14
Просмотров 261 тыс.
JavaScript for the Haters
2:50
Просмотров 1,5 млн
Java for the Haters in 100 Seconds
2:22
Просмотров 2,8 млн