diff --git a/dwm.md b/dwm.md new file mode 100644 index 0000000..cfb8ad5 --- /dev/null +++ b/dwm.md @@ -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 diff --git a/git.md b/git.md new file mode 100644 index 0000000..0aafa50 --- /dev/null +++ b/git.md @@ -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 diff --git a/my_installs.md b/my_installs.md new file mode 100644 index 0000000..e69de29 diff --git a/tmux.md b/tmux.md new file mode 100644 index 0000000..9038560 --- /dev/null +++ b/tmux.md @@ -0,0 +1,45 @@ +# Tmux from terminal +tmux +tmux attach -s +tmux new -t + +# 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 + Mod q +Resize panes + (Hold) Mod + (press) + +# Windows +Create a new window + Mod c +Rename a window + Mod , +Kill window + Mod & +## Window Movement +Switch between windows + Mod + Mod n/p + +# Sessions +Create a new session + Mod :new +Rename a session + Mod $ +Show existing sessions + Mod s diff --git a/vim.md b/vim.md new file mode 100644 index 0000000..e69de29