You can move between the splits (or in tmux parlance, the "panes") by pressing Ctrl+ b followed by o. Press Ctrl+ b followed by either % for a vertical split or " for a horizontal split. This uses the default key-bindings in tmux. In the below commands written after $ are issued from the command line. Here is an example of how I would create a split screen editing session using tmux and vim.įirst open a terminal. I find this to be the most flexible option for coding, as I can also add splits and windows that contain terminals where I can compile code and use a version control system, like git alongside my code editing. tmux is included in the repositories of many Linux and BSD distributions. Tmux is short for "terminal multiplexer" and it allows you to create sessions with multiple terminals, running in separate "windows" and also "panes" within these windows, which are what allow you to split the screen. I use tmux and vim for split-screen editing in a terminal-based environment, though you could use any command-line based text editor for this (e.g.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |