From d6d6a9873278f81697d8e459b3c5895973c3b2ec Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 28 Mar 2023 07:51:41 +0000 Subject: [PATCH] Update 'README.md' --- README.md | 50 +++++++++++++------------------------------------- 1 file changed, 13 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index 2091182..2e35ba2 100644 --- a/README.md +++ b/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 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