Changed to markdown, think it'll look better
parent
77956c0b44
commit
bc1b28b82e
@ -0,0 +1,53 @@
|
|||||||
|
# Mod Key
|
||||||
|
alt
|
||||||
|
|
||||||
|
# Show/Hide bar
|
||||||
|
alt + b
|
||||||
|
|
||||||
|
# Windows
|
||||||
|
Start a terminal Window
|
||||||
|
mod + shift + enter
|
||||||
|
Start a window
|
||||||
|
mod + p
|
||||||
|
Move between windows
|
||||||
|
alt + j/k
|
||||||
|
Kill window
|
||||||
|
alt + shift + c
|
||||||
|
|
||||||
|
# Master Window
|
||||||
|
Increase master size
|
||||||
|
alt + l
|
||||||
|
Decrease master size
|
||||||
|
alt + h
|
||||||
|
Zoom window/Move to master
|
||||||
|
alt + Enter
|
||||||
|
Increment master (the amount of windows in the master area)
|
||||||
|
alt + i
|
||||||
|
Decrement master
|
||||||
|
alt + d
|
||||||
|
|
||||||
|
# Layouts
|
||||||
|
Tiled windows (default)
|
||||||
|
alt + t
|
||||||
|
Focus window/Zoom/Only window visible
|
||||||
|
alt + m
|
||||||
|
Floating windows
|
||||||
|
alt + f
|
||||||
|
Switch between previous layout
|
||||||
|
alt + space
|
||||||
|
|
||||||
|
# Tags/desktops
|
||||||
|
Switch between tags
|
||||||
|
alt + <1..9>
|
||||||
|
Move a window to another tag
|
||||||
|
alt + shift + <1..9>
|
||||||
|
|
||||||
|
# Multiple Monitors
|
||||||
|
Switch between monitors
|
||||||
|
alt + , .
|
||||||
|
Move a window to another monitor
|
||||||
|
alt + shift + , .
|
||||||
|
|
||||||
|
# Shutdown
|
||||||
|
Clean shutdown
|
||||||
|
alt + shift + q
|
||||||
@ -0,0 +1,19 @@
|
|||||||
|
# Create a GitHub repository and setup with terminal
|
||||||
|
Initialise the local repo
|
||||||
|
git init
|
||||||
|
Add a file to the repo, in this case the file was "git"
|
||||||
|
git add git
|
||||||
|
Commit to the repo, with a message
|
||||||
|
git commit -m "Commiting the empty repository to GitHub"
|
||||||
|
Add the local repo to the GitHub repo
|
||||||
|
git remote add origin https://github.com/SirAney/references.git
|
||||||
|
Push the commits from the local repo to the GutHub repo
|
||||||
|
git push -u origin master
|
||||||
|
|
||||||
|
# Pull a repo from GitHub to local machine
|
||||||
|
git init
|
||||||
|
git pull http://github.com/USER/REPO
|
||||||
|
|
||||||
|
# Commit new changes to the repository
|
||||||
|
git add file
|
||||||
|
git commit -m
|
||||||
@ -0,0 +1,45 @@
|
|||||||
|
# Tmux from terminal
|
||||||
|
tmux
|
||||||
|
tmux attach -s <SessionName>
|
||||||
|
tmux new -t <SessionName>
|
||||||
|
|
||||||
|
# Prefix/Mod Key
|
||||||
|
Ctrl + b
|
||||||
|
|
||||||
|
# Detach Session
|
||||||
|
Keep the session running while not focussed
|
||||||
|
`Mod d`
|
||||||
|
|
||||||
|
# Tmux Panes
|
||||||
|
Split Right
|
||||||
|
Mod %
|
||||||
|
Split Down
|
||||||
|
Mod "
|
||||||
|
Kill pane
|
||||||
|
Ctrl + d
|
||||||
|
## Pane Movement
|
||||||
|
Move between panes
|
||||||
|
Mod <arrow keys>
|
||||||
|
Mod q <number>
|
||||||
|
Resize panes
|
||||||
|
(Hold) Mod + (press) <Arrow Key>
|
||||||
|
|
||||||
|
# Windows
|
||||||
|
Create a new window
|
||||||
|
Mod c
|
||||||
|
Rename a window
|
||||||
|
Mod ,
|
||||||
|
Kill window
|
||||||
|
Mod &
|
||||||
|
## Window Movement
|
||||||
|
Switch between windows
|
||||||
|
Mod <window number>
|
||||||
|
Mod n/p
|
||||||
|
|
||||||
|
# Sessions
|
||||||
|
Create a new session
|
||||||
|
Mod :new
|
||||||
|
Rename a session
|
||||||
|
Mod $
|
||||||
|
Show existing sessions
|
||||||
|
Mod s
|
||||||
Loading…
Reference in New Issue