This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet
SPC q q- quitSPC w /- split window verticallySPC w- - split window horizontallySPC 1- switch to window 1SPC 2- switch to window 2SPC w c- delete current window
| #!/bin/bash | |
| # (Fun) fact: we are calling 'exit' many times throughout the script | |
| # Consequence: we have to make sure that the script is NOT sourced | |
| if [[ $(basename -- $0) != $(basename -- ${BASH_SOURCE[0]}) ]]; then | |
| # echo "Please call this script as 'bash ${BASH_SOURCE[0]}'" >&2; | |
| echo "Calling this script via bash" | |
| bash "${BASH_SOURCE[0]}" | |
| return 0; | |
| fi |
This is unmaintained, please visit Ben-PH/spacemacs-cheatsheet
SPC q q - quitSPC w / - split window verticallySPC w - - split window horizontallySPC 1 - switch to window 1SPC 2 - switch to window 2SPC w c - delete current window| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
| h scroll left | |
| j scroll down | |
| k scroll up | |
| l scroll right | |
| gg scroll to top of the page | |
| G scroll to bottom of the page | |
| f activate link hints mode to open in current tab | |
| F activate link hints mode to open in new tab | |
| r reload |