1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Add tmux link

Bill Zimmerman 2020-03-25 20:16:40 +01:00
parent ea2bda3649
commit 5e351bc7c8

@ -6,9 +6,9 @@ Project contributor [@glaszig](https://github.com/glaszig) maintains a working c
An ancillary benefit with this method is that uncommitted changes to your local working copy are less vulnerable to being lost, in the event the remote system becomes inaccessible. It is also less susceptible to potential 'over-the-wire' network latency issues. An ancillary benefit with this method is that uncommitted changes to your local working copy are less vulnerable to being lost, in the event the remote system becomes inaccessible. It is also less susceptible to potential 'over-the-wire' network latency issues.
## Direct access via terminal ## Direct access via terminal
If you're comfortable using a Linux-based text editor, developing directly on the Pi via the terminal is an alternate approach. This trades the IDE for vim, Emacs or some other editor. While these tend to have steeper learning curves, the upside is their extreme portability and universality. That is, human readable, plain-text configuration files for terminal programs (often called `dotfiles`) are generally much more portable than those for IDEs. If you're comfortable using a Linux-based text editor, developing directly on the Pi via the terminal is an alternate approach. This trades the IDE for Vim, Emacs or some other editor. While these tend to have steeper learning curves, the upside is their extreme portability and universality. That is, human readable, plain-text configuration files for terminal programs (often called `dotfiles`) are generally much more portable than those for IDEs.
![tmux + vim](https://pbs.twimg.com/media/EPX1B2AXkAA1oqy?format=jpg&name=small) ![tmux + vim](https://pbs.twimg.com/media/EPX1B2AXkAA1oqy?format=jpg&name=small)
> [@billz's](https://github.com/billz) dev environment, via [Twitter](https://twitter.com/rasp_ap/status/1222152318503833601) > [@billz's](https://github.com/billz) dev environment, via [Twitter](https://twitter.com/rasp_ap/status/1222152318503833601)
This means that you could, for example, save your dotfiles to GitHub and in effect "bring them with you" to whichever system you happen to be working on. The availability of vim or Emacs is generally much greater than OS-specific IDEs, so in seconds (or at most a few minutes) you can setup your familiar dev environment. With the addition of `tmux`, you can have multiple panes in a single terminal window. Here is an [excellent guide](https://www.lucasfcosta.com/2019/02/10/terminal-guide-2019.html) to getting started with the terminal. This means that you could, for example, save your dotfiles to GitHub and in effect "bring them with you" to whichever system you happen to be working on. The availability of Vim or Emacs is generally much greater than OS-specific IDEs, so in seconds (or at most a few minutes) you can setup your familiar dev environment. With the addition of [tmux](https://github.com/tmux/tmux/wiki), you can have multiple panes in a single terminal window. Here is an [excellent guide](https://www.lucasfcosta.com/2019/02/10/terminal-guide-2019.html) to getting started with the terminal.