Browse Source

Update 'README.md'

master
zeus 1 year ago
parent
commit
d6d6a98732
  1. 50
      README.md

50
README.md

@ -1,6 +1,13 @@
# swarmlab-nvim
## Clone repo
> mkdir [dir4project]
>
> cd [dir4project]
>
> GIT_SSL_NO_VERIFY=true git clone https://git.swarmlab.io:3000/docs/docs/src/branch/master
## Fix "x509: certificate signed by unknown authority" issue
@ -17,49 +24,18 @@
> sudo su
>
> touch set-ca.sh
>
**copy-paste lines**
> registry_address=hub.swarmlab.io
>
> registry_port=5443
>
> mkdir -p /etc/docker/certs.d/$registry_address:$registry_port
>
> openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/$registry_address:$registry_port/ca.crt
>
> registry_port=5480
> ./set-ca.sh
>
> mkdir -p /etc/docker/certs.d/$registry_address:$registry_port
>
> openssl s_client -showcerts -connect $registry_address:$registry_port < /dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/docker/certs.d/$registry_address:$registry_port/ca.crt
>
**exec file**
**sudo bash ./set-ca.sh**
### Clone repo
> mkdir [dir4project]
>
> cd [dir4project]
>
> GIT_SSL_NO_VERIFY=true git clone https://git.swarmlab.io:3000/docs/docs/src/branch/master
### docker run
## docker run
> cd [dir4project]
>
> ./swl-nvim.sh
>
### Key map features
## Key map features
I try to avoid C- combinations for the things I do frequently, mapping things that make sense to the <leader> key.
@ -72,9 +48,9 @@ The leader key is normally defined by the mapleader variable as \.
### Edit Action
- *\ls* -> Remove all whitespace at the end of every line in the buffer
- *p* -> Paste below
- *P* -> Paste above
- **\ls** Remove all whitespace at the end of every line in the buffer
- **p** Paste below
- **P** -> Paste above
Select text with: *CTRL-V* -or- *SHIT-V* amd Arrows

Loading…
Cancel
Save