screen | tmux |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# create diff for current branch and puts it in the file | |
# ./fast_diff.sh <branch> - how this script should called | |
PATH_TO_DIFF_DIR="${HOME}/diff/" | |
FILE_PREFIX="diff-" | |
FILE_EXTENTION=".diff" | |
branch="$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"$1" # first argument | |
"$2" # second argument | |
"$0" # script name | |
"$#" # number of scripts | |
"$@" # each parameter is shown as a new line | |
# (word), ie parameters don’t undergo any kind of | |
# interpretation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your settings in this file to overwrite the default settings | |
{ | |
// editor section | |
"editor.fontSize": 18, | |
"editor.tabSize": 2, | |
"editor.wordWrap": "on", | |
"editor.renderWhitespace": "all", | |
"editor.renderControlCharacters": false, | |
"editor.renderIndentGuides": true, | |
"editor.multiCursorModifier": "ctrlCmd", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tmux attach - reattached to the previous session |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ctrl + b, ← → ↑ ↓ - switching the panes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ctrl + b, % - split the current pane into two vertical panes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ctrl + b, int - open the needed tab where int will tell the number of tab (0-9) | |
Ctrl + b, w - interactive toggle of tabs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ctrl + b, , - rename a tab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ctrl + b, c - create a new tab |