doc(README.md)
This commit is contained in:
parent
c6bc8ed68d
commit
2a5d94d912
48
README.md
48
README.md
@ -37,53 +37,13 @@ Config files for:
|
|||||||
<img src=".assets/prompt.png" alt="Prompt">
|
<img src=".assets/prompt.png" alt="Prompt">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
### i3
|
You can add your files to the `~/.config/bash/bashrc.d` directory for bash or `~/.config/zsh/zshrc.d` directory for zsh so that they automatically run in ascending order when you open a terminal.\
|
||||||
|
|
||||||
|
|
||||||
| Feature | Shortcut |
|
|
||||||
|:------------------------|:-------------------------------------------------------:|
|
|
||||||
| Full Screen | <kbd>PrtScr</kbd> |
|
|
||||||
| Selection | <kbd>Shift</kbd> + <kbd>PrtScr</kbd> |
|
|
||||||
| Active Window | <kbd>Super</kbd> + <kbd>PrtScr</kbd> |
|
|
||||||
| Clipboard Full Screen | <kbd>Ctrl</kbd> + <kbd>PrtScr</kbd> |
|
|
||||||
| Clipboard Selection | <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>PrtScr</kbd> |
|
|
||||||
| Clipboard Active Window | <kbd>Ctrl</kbd> + <kbd>Super</kbd> + <kbd>PrtScr</kbd> |
|
|
||||||
|
|
||||||
|
|
||||||
### ZSH global aliases
|
|
||||||
|
|
||||||
| Alias | Equals | Description |
|
|
||||||
|:------------------------|:-------------------------------------------------|:----------------------------|
|
|
||||||
| `git diff L` | `git diff \| less -R` | View stdout |
|
|
||||||
| `cat main.py HL py` | `cat main.py \| highlight -O ansi --syntax py` | Highlight syntax |
|
|
||||||
| `redis-server BG` | `redis-server &>/dev/null &` | Run command in background |
|
|
||||||
|
|
||||||
|
|
||||||
You can add your files to the `~/.subbash/bashrc.d` directory for bash or `~/.subzsh/zshrc.d` directory for zsh so that they automatically run in ascending order when you open a terminal.\
|
|
||||||
Example:\
|
Example:\
|
||||||
`~/.subbash/bashrc.d/01_hello.sh`
|
`~/.config/bash/bashrc.d/01_hello.sh`
|
||||||
```bash
|
```bash
|
||||||
echo "Hello $USER!"
|
echo "Hello $USER!"
|
||||||
```
|
```
|
||||||
|
|
||||||
### VIM shortcuts
|
|
||||||
|
|
||||||
| Command | Description |
|
|
||||||
|:-----------------------:|:----------------------------------------------------|
|
|
||||||
| <kbd>,ff</kbd> | Project files search by Telescope |
|
|
||||||
| <kbd>,fg</kbd> | Search words in project |
|
|
||||||
| <kbd>,eh</kbd> | Show hiden symbols like tabs |
|
|
||||||
| <kbd>,l</kbd> | Line number styles |
|
|
||||||
| <kbd>,c</kbd> | Highlight cursor line |
|
|
||||||
| <kbd>,/</kbd> | Toggle search highlight |
|
|
||||||
| <kbd>,qq</kbd> | Delete current buffer |
|
|
||||||
| <kbd>,qa</kbd> | Close all without saving |
|
|
||||||
| <kbd>,t</kbd> | Tagbar |
|
|
||||||
| <kbd>,rr</kbd> | Run script in new tab (python, go, preview markdown)|
|
|
||||||
| <kbd>,rs</kbd> | Run script in new tab by shebang |
|
|
||||||
| <kbd>,rf</kbd> | Format file (go, rust) |
|
|
||||||
|
|
||||||
|
|
||||||
<a id="chapter-1"></a>
|
<a id="chapter-1"></a>
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@ -95,10 +55,14 @@ cd dotfiles
|
|||||||
|
|
||||||
|
|
||||||
## Installation script
|
## Installation script
|
||||||
|
Per-user dotfiles "package" manager
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
1. Installing files from dotfiles/home/user to $HOME
|
1. Installing files from dotfiles/home/user to $HOME
|
||||||
2. Uninstalling installed files
|
2. Uninstalling installed files
|
||||||
|
3. Check installation integrity
|
||||||
|
4. Transaction based installation
|
||||||
|
5. Do not overwrite your configs
|
||||||
|
|
||||||
### Dependencies
|
### Dependencies
|
||||||
* bash
|
* bash
|
||||||
|
|||||||
@ -54,10 +54,10 @@
|
|||||||
add-unmerged = "!git add $(git ls-files --unmerged | cut -f2 | sort -u)"
|
add-unmerged = "!git add $(git ls-files --unmerged | cut -f2 | sort -u)"
|
||||||
|
|
||||||
[github]
|
[github]
|
||||||
user = "TheK4n"
|
user = "thek4n"
|
||||||
email = "djvlad967891@gmail.com"
|
email = "thek4n@yandex.ru"
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = "TheK4n"
|
name = "thek4n"
|
||||||
email = "djvlad967891@gmail.com"
|
email = "thek4n@yandex.ru"
|
||||||
signingkey = "thek4n"
|
signingkey = "thek4n"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user