mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 00:40:44 +02:00
Update README.md
This commit is contained in:
parent
0df8351d50
commit
b6bad0bea3
1 changed files with 55 additions and 0 deletions
55
README.md
55
README.md
|
|
@ -6,6 +6,7 @@ Config for
|
|||
- BASH
|
||||
- TMUX
|
||||
- ZSH
|
||||
- RANGER
|
||||
|
||||
#### Git
|
||||
Move settings git
|
||||
|
|
@ -35,6 +36,12 @@ Move settings nano
|
|||
sudo mv nanorc /etc/nanorc
|
||||
~~~
|
||||
|
||||
#### BASH
|
||||
Move setting bash
|
||||
~~~bash
|
||||
mv bashrc ~/.bashrc
|
||||
~~~
|
||||
|
||||
#### Tmux
|
||||
Installing [Oh My TMUX](https://github.com/gpakosz/.tmux)
|
||||
~~~bash
|
||||
|
|
@ -75,3 +82,51 @@ vim ~/.zshrc
|
|||
alias ipy3='ipython3'
|
||||
alias ipy2='ipython2'
|
||||
~~~
|
||||
|
||||
| Command | Art |
|
||||
|------------|----------------------|
|
||||
| cls | clear |
|
||||
| py2/3 | python2/3 |
|
||||
| ipy2/3 | ipython2/3 |
|
||||
| ai | apt-get install |
|
||||
| ar | apt-get remove |
|
||||
| aplaybook | ansible-playbook |
|
||||
| apull | ansible-pull |
|
||||
| sc-stop | sudo systemctl stop |
|
||||
| sc-start | sudo systemctl start |
|
||||
|
||||
|
||||
#### Ranger
|
||||
Installing [Ranger file maneger](https://github.com/ranger/ranger)
|
||||
~~~bash
|
||||
sudo apt-get install ranger
|
||||
~~~
|
||||
|
||||
Configuration ranger
|
||||
~~~bash
|
||||
ranger --copy-config=all
|
||||
~~~
|
||||
|
||||
- Images preview
|
||||
~~~bash
|
||||
vim .config/ranger/rc.conf
|
||||
setpreview_images_method w3m
|
||||
set preview_images true
|
||||
~~~
|
||||
|
||||
- Maping
|
||||
~~~bash
|
||||
vim .config/ranger/rc.conf
|
||||
map DD shell mv %s /home/${USER}/.local/share/Trash/files/
|
||||
map gc cd ~/code
|
||||
map gd cd ~/Documents
|
||||
map gm cd ~/Music
|
||||
~~~
|
||||
|
||||
| Hot key | Act |
|
||||
|---------|--------------------|
|
||||
| G-c | cd ~/code |
|
||||
| G-d | cd ~/Documents |
|
||||
| G-m | cd ~/Music |
|
||||
| D-D | Move file to trash |
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue