1
0
Fork 0
mirror of https://codeberg.org/Mo8it/How_To_Linux.git synced 2024-12-05 01:40:32 +00:00

Compare commits

..

2 commits

Author SHA1 Message Date
d2f374407c Mark :wq as very important 2023-08-27 23:20:35 +02:00
ba4b1c358a Remove custom container image 2023-08-27 23:20:21 +02:00
3 changed files with 1 additions and 41 deletions

View file

@ -1,4 +0,0 @@
FROM docker.io/library/nginx:alpine
EXPOSE 80
COPY ./nginx.conf /etc/nginx/nginx.conf
COPY ./book/ /usr/share/nginx/html/

View file

@ -1,36 +0,0 @@
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log error;
events {
worker_connections 1024;
}
http {
charset utf-8;
access_log off;
log_not_found off;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
gzip on;
server_tokens off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
server {
root /usr/share/nginx/html;
index index.html;
location / {
}
error_page 404 /404.html;
}
}

View file

@ -17,6 +17,7 @@ Each mode has its keybindings.
When you just enter Vim, then you are in the **normal mode** which has the following most important keybindings:
- `:q`: Quit (**very important!**)
- `:wq`: Write buffer (save) and exit (**very important!**)
- `:q!`: Quit without saving (**very important!**)
- `j`: Down
- `k`: Up
@ -39,7 +40,6 @@ When you just enter Vim, then you are in the **normal mode** which has the follo
- `Ctrl+r`: Redo
- `:h`: Help
- `:w`: Write buffer
- `:wq`: Write buffer and exit
- `/PATTERN`: Search
- `n`: Next match
- `N`: Previous match