rm doc/vim

This commit is contained in:
TheK4n 2022-02-25 00:52:28 +03:00
parent 073f7e651c
commit 8309500f61
3 changed files with 0 additions and 33 deletions

View File

@ -1,6 +1,4 @@
`/etc/ssh/sshd_config`
* Adding public key to remote machine :\
* ```ssh remotehost "umask 077; cat > .ssh/authorized_keys" < .ssh/id_rsa_backup.pub```
* Access for VPS:

View File

@ -1,33 +1,9 @@
## Tips
1. ```bash
echo $RANDOM # Return random 0-32767
```
2. ```bash
\command # without using alias
```
3. ```bash
mount /dev/sda2 /home
```
4. ```bash
mount /dev/sdb_ /mnt/Files # Other disk
ln -s /mnt/Files $HOME # symlink in Home
```
4. ```bash
sudo pkill -9 -t pts/1 # close session
```
5. ```bash
[space]command # without saving in history
sudo !! # last command with sudo
```
### Autostart
* create ```/etc/systemd/system/service.service```

View File

@ -1,7 +0,0 @@
## commentary.vim
```gcc``` - comment string
```v``` + ```gc``` - comment selected block
## surround.vim
https://github.com/tpope/vim-surround