diff --git a/.gitignore b/.gitignore index e69de29..59612af 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +db_ui diff --git a/.stylua.toml b/.stylua.toml new file mode 100644 index 0000000..9639dd4 --- /dev/null +++ b/.stylua.toml @@ -0,0 +1,6 @@ +column_width = 120 +line_endings = "Unix" +indent_type = "Spaces" +indent_width = 2 +quote_style = "AutoPreferDouble" +# no_call_parentheses = true diff --git a/README.md b/README.md index b4b81c9..5b9bbb4 100644 --- a/README.md +++ b/README.md @@ -1,187 +1,268 @@ -# nvim-lazy +
:q or :quit | +exit the form | +
:w or :write | +write the typing result into a file (save) | +
:wq | +save and exit | +
:q! | +Exit and do not save | +
escape | +normal mode | +
i | +insert mode | +
v | +visual mode, must be in normal mode first | +
h | +left | +
j | +down | +
k | +up | +
l | +right | +
:ter | +open the terminal | +
0 or home | +move the cursor to the beginning of the line | +
$ or end | +move the cursor to the end of the line | +
gg | +move the cursor to the top | +
G | +move the cursor to the end of the page | +
w | +move the cursor to the next word with out spaces | +
3w | +move the cursor to the next 3 words | +
b | +move the cursor to the previous word | +
3b | +move the cursor to the previous 3 words | +
( | +move the cursor to the previous paragraph | +
) | +move the cursor to the next paragraph | +
dd | +delete text 1 line | +
d$ | +delete words until the end of the line from the cursor position | +
d0 | ++ delete words until the beginning of the line from the cursor position + | +
U | +to undo | +
CTRL + r | +Rendo | +
Yp | +duplicate line code | +
yyp | +same duplicate line code | +
:m+1 | +move 1 line down | +
:m-1 | +move 1 line up | +
d | +delete code that is selected with view mode | +
:e newfolder/newfile.ext | +create a new file in a new folder | +
:f newfolder/newfile.ext | +to copy the file from the open file | +
bdw | +delete 1 word | +
dw | +delete to the right in 1 word at the cursor position | +