Skip to content

Commit

Permalink
docs: make all of EOL less than 80.
Browse files Browse the repository at this point in the history
  • Loading branch information
ayamir committed Feb 26, 2023
1 parent a77b051 commit e08b7c9
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions dots.tutor
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ You can use `<C-n>`{normal} to open/close file explorer which will appear on the
Now move cursor to the line of **lua** folder, press `o`{normal} to open it, repeat this
process to **core** folder, then open **event.lua** in new buffer by press `o`{normal} too.
You can press `<C-h>`{normal} and `<C-l>`{normal} to move cursor to file explorer and back to
this buffer. Since we nolonger need the file explorer in the following sections, please close it.
this buffer. Since we nolonger need the file explorer in the following sections,
please close it.

Now press `<C-w>v`{normal} to split current window vertically, then `<A-j>`{normal} switch to
the **event.lua** buffer for the right window. You can use `<A-]>`{normal} and `<A-[>`{normal}
Expand Down Expand Up @@ -107,15 +108,16 @@ the completion window and use `<CR>`{normal} to confirm completion. You can also
completion but just want to new a line, you can use `<C-e>`{normal} to close the
window manually.

There are more functions provided by lsp besides code completion. For a former vscode user, you
can experienced lots of vscode-like features, i.e., smart rename, find references,
goto definition, view docs of some functions etc. No matter you heard about lsp or not, all
relevant keymaps are very intuitive, so just try it out!
There are more functions provided by lsp besides code completion.
For a former vscode user, you can experienced lots of vscode-like features,
i.e., smart rename, find references, goto definition, view docs of some
functions etc. No matter you heard about lsp or not, all relevant keymaps are
very intuitive, so just try it out!

Snippet is an awesome method to help us write code more productively.
As most other editors and IDEs, `<Tab>`{normal} and `<S-Tab>`{normal} are configured to
navigate in expanded snippet, the former keymap is used to jump next and the latter
to jump previous.
navigate in expanded snippet, the former keymap is used to jump next and the
latter to jump previous.

Format on save is a very useful feature which is enabled by default. It can
ensure the code style is consistent and you don't need to care about it.
Expand All @@ -133,10 +135,11 @@ Besides, you can just toggle it for specific language temprarily by executing
# Lesson 1: SUMMARY

Congratulations! You have learned 60% features nvimdots provided till now.
Of course you will be curious about where you can master the rest 40%. And the answer
relies on the basic nvim motions. We enhanced lots of nvim's default abilities that you can
use those abilities naturally if you were already an experienced nvim user. You can also check
https://github.com/ayamir/nvimdots/wiki for more!

Last but not least, you can press `<C-p>` in noraml mode to call the command panel then
search for keymaps any time you want!
Of course you will be curious about where you can master the rest 40%. And the
answer relies on the basic nvim motions. We enhanced lots of nvim's default
abilities that you can use those abilities naturally if you were already an
experienced nvim user.
You can also check https://github.com/ayamir/nvimdots/wiki for more!

Last but not least, you can press `<C-p>` in noraml mode to call the command
panel then search for keymaps any time you want!

0 comments on commit e08b7c9

Please sign in to comment.