start new:
tmux
start new with session name:
tmux new -s myname
| # host: debian with 2 mounted volumes for TV and Movies Media. (HDD) | |
| # configuration and and config data is stored on host SSD. (/moviesmedia, /tvmedia) | |
| # on ssd: configs, downloads in progress, images | |
| # | |
| version: '3.4' | |
| services: | |
| plex: |
| var guideLineMixin = { | |
| defaults: { | |
| guideLine: false | |
| }, | |
| renderGuideline: function() {} | |
| }; | |
| Chart.extend({ | |
| mixin: [guideLineMixin] | |
| checking out new branch | |
| git checkout -b newbranch remote/branch |
| The list of Vim commands > | |
| Working with files | |
| Vim command Action | |
| :e filename Open a new file. You can use the Tab key for automatic file name completion, just like at the shell command prompt. | |
| :w filename Save changes to a file. If you don't specify a file name, Vim saves as the file name you were editing. For saving the file under a different name, specify the file name. | |
| :q Quit Vim. If you have unsaved changes, Vim refuses to exit. | |
| :q! Exit Vim without saving changes. | |
| :wq Write the file and exit. | |
| :x Almost the same as :wq, write the file and exit if you've made changes to the file. If you haven't made any changes to the file, Vim exits without writing the file. |
| # First install tmux | |
| brew install tmux | |
| # For mouse support (for switching panes and windows) | |
| # Only needed if you are using Terminal.app (iTerm has mouse support) | |
| Install http://www.culater.net/software/SIMBL/SIMBL.php | |
| Then install https://bitheap.org/mouseterm/ | |
| # More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |