1 files changed,
55 insertions(+),
0 deletions(-)
Author:
Smirnov Aleksandr
50584123+Smirnov-O@users.noreply.github.com
Committed by:
GitHub
noreply@github.com
Committed at:
2020-04-22 23:05:09 +0300
Parent:
0df8351
M
README.md
··· 6 6 - BASH 7 7 - TMUX 8 8 - ZSH 9 +- RANGER 9 10 10 11 #### Git 11 12 Move settings git ··· 33 34 Move settings nano 34 35 ~~~bash 35 36 sudo mv nanorc /etc/nanorc 37 +~~~ 38 + 39 +#### BASH 40 +Move setting bash 41 +~~~bash 42 +mv bashrc ~/.bashrc 36 43 ~~~ 37 44 38 45 #### Tmux ··· 75 82 alias ipy3='ipython3' 76 83 alias ipy2='ipython2' 77 84 ~~~ 85 + 86 +| Command | Art | 87 +|------------|----------------------| 88 +| cls | clear | 89 +| py2/3 | python2/3 | 90 +| ipy2/3 | ipython2/3 | 91 +| ai | apt-get install | 92 +| ar | apt-get remove | 93 +| aplaybook | ansible-playbook | 94 +| apull | ansible-pull | 95 +| sc-stop | sudo systemctl stop | 96 +| sc-start | sudo systemctl start | 97 + 98 + 99 +#### Ranger 100 +Installing [Ranger file maneger](https://github.com/ranger/ranger) 101 +~~~bash 102 +sudo apt-get install ranger 103 +~~~ 104 + 105 +Configuration ranger 106 +~~~bash 107 +ranger --copy-config=all 108 +~~~ 109 + 110 +- Images preview 111 +~~~bash 112 +vim .config/ranger/rc.conf 113 + setpreview_images_method w3m 114 + set preview_images true 115 +~~~ 116 + 117 +- Maping 118 +~~~bash 119 +vim .config/ranger/rc.conf 120 + map DD shell mv %s /home/${USER}/.local/share/Trash/files/ 121 + map gc cd ~/code 122 + map gd cd ~/Documents 123 + map gm cd ~/Music 124 +~~~ 125 + 126 +| Hot key | Act | 127 +|---------|--------------------| 128 +| G-c | cd ~/code | 129 +| G-d | cd ~/Documents | 130 +| G-m | cd ~/Music | 131 +| D-D | Move file to trash | 132 +