![]() There are npm things for running multiple scripts, like concurrently and npm-run-all, but (I think?) they are limited to running only npm scripts, rather than any terminal command.Windows: The default terminal has panes.The native terminal can do tabs and splitting, too, but it feels very limited. It can also remember window arrangements, which I’ve used, but I don’t see any built-in option for triggering commands in that arrangement. macOS: I’ve long used iTerm which does split panels nicely.There are native apps for all the platforms that can run multiple panels.It can be configured into layouts with commands that run at startup. I was pointed to kitty by a fella who told me it feels like a grown-up tmux to him.tmuxinator gives it better configuration, I guess?.Here’s an example configuration for tmux.I found this interesting because it came literally days later my CodePen co-founder let us all know the new dev environment he’s been working on will use tmux. ![]() So, those multiple panes can be configured to open and run different commands simultaneously. I’m very sure I don’t understand all it can do, but I think I understand that it makes “fake” panes within one terminal session that emulates multiple panes. ![]() I asked the question on Twitter, of course. For me, splitting panels is nicer than tabs, although tabs for separate projects seems OK. I’ve got to remember all the commands and set up my command line app in a way that feels comfortable. It’s not a bad situation, it’s just a little cumbersome and annoying. I’ve heard from several others in this situation. I’ve worked on other projects that require multiple terminal windows as well, and I don’t feel like I’m that unusual. I know my biggest project requires me to be running a big fancy Docker-based thing in one terminal, Ruby on Rails in another, and webpack in another. There is so many exciting ideas that could be tried out but I worry they're all too big ideas to be implemented.Many development environments require running things in a terminal window. I never use KDE Plasma widgets or the sidebar widgets that Mac provided. ScrapScript has very good ideas in this area of distributing dependencies and storage. I looked at tools that would bring up tmux sessions with everything preloaded. ![]() Microservices in the desktop environment. This could be modelled in Javascript and promises that can be sent around. A process can be moved between machines seamlessly. The ability to outsource computation and storage seamlessly. Something that is supremely well integrated and allows me to move workloads between client and server seamlessly. And I still love the idea of a web desktop. The £200 Windows 10 laptop wasn't powerful enough, it was too laggy. I once bought a 32 core ThreadRipper and tried to get along with using a cheap £200 Windows 10 laptop to remote into the threadripper while in coffee shops and use the ThreadRipper to do my work. # Keep this line at the very bottom of nf. Run-shell ~/.tmux/plugins/themes/theme.tmux #set -g 'T' #, this is for toggle theme dark mode, define yourself just like bind-key # Supports `github_username/repo` or full git repo URLs TMUX_FZF_PANE_FORMAT="[#' 'send-keys -M' 'copy-mode -e'" TMUX_FZF_ORDER="session|window|pane|command|keybinding" Note that for many key bindings there is no # This configuration file binds many vi- and vim-like bindings to the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |