Change titles section formats

This commit is contained in:
antoine 2020-12-03 14:51:43 +01:00
parent e98bdd3fa3
commit b837e9cad6

View file

@ -1,7 +1,7 @@
The purpose of this document is serve as a repository of the Unix shell commands and key bindings that either are the most useful or that I use the most. The purpose of this document is serve as a repository of the Unix shell commands and key bindings that either are the most useful or that I use the most.
# tmux ## tmux
## Sessions ### Sessions
Start new session named *name* Start new session named *name*
`tmux new -s name` `tmux new -s name`
@ -27,7 +27,7 @@ Kill session named *name*
Kill all sessions except the current Kill all sessions except the current
`tmux kill-ses -a` `tmux kill-ses -a`
## Windows ### Windows
Create new window Create new window
<kbd>Ctrl</kbd>+<kbd>b</kbd>,<kbd>c</kbd> <kbd>Ctrl</kbd>+<kbd>b</kbd>,<kbd>c</kbd>
@ -47,7 +47,7 @@ Select window by number
Close window Close window
<kbd>Ctrl</kbd>+<kbd>b</kbd>,<kbd>&</kbd> <kbd>Ctrl</kbd>+<kbd>b</kbd>,<kbd>&</kbd>
## Panes ### Panes
Split pane vertically Split pane vertically
<kbd>Ctrl</kbd>+<kbd>b</kbd>,<kbd>%</kbd> <kbd>Ctrl</kbd>+<kbd>b</kbd>,<kbd>%</kbd>
@ -70,8 +70,8 @@ Convert pane into a new window
Close current pane Close current pane
<kbd>Ctrl</kbd>+<kbd>b</kbd>,<kbd>x</kbd> <kbd>Ctrl</kbd>+<kbd>b</kbd>,<kbd>x</kbd>
# git ## git
## Basics ### Basics
Initialize the current directory as git repository Initialize the current directory as git repository
`git init` `git init`
@ -87,7 +87,7 @@ List files staged, unstaged and untracked
Display entire commit history in a nice way Display entire commit history in a nice way
`git log --all --graph --decorate` `git log --all --graph --decorate`
## Branches ### Branches
List all branches in current repo List all branches in current repo
`git branch` `git branch`
@ -95,11 +95,11 @@ Create new branch named *branch_name* and checkout on it
`git checkout -b <branch_name>` `git checkout -b <branch_name>`
## Undoing stuff ### Undoing stuff
## Remote repositories ### Remote repositories
# docker ## docker
# weechat ## weechat
Switch between weechat core buffer and server buffer Switch between weechat core buffer and server buffer
<kbd>Ctrl</kbd>+<kbd>x</kbd> <kbd>Ctrl</kbd>+<kbd>x</kbd>