You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/intro.md
+93-19Lines changed: 93 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -4,44 +4,118 @@ sidebar_position: 1
4
4
5
5
# Tutorial Intro
6
6
7
-
Let's discover **Docusaurus in less than 5 minutes**.
7
+
Let's discover **Fastvim in less than 5 minutes**.
8
8
9
9
## Getting Started
10
10
11
-
Get started by **creating a new site**.
11
+
Welcome to Fastvim, the next-gen galactic ☄️ Neovim distro that’s fast, modern, and fully configurable. Built for both lazy people who don’t want to mess around with endless configurations, and for the martian 👽 Neovim hackers who want full control over their setup. Whether you just want things to work right out of the box or you love tweaking every little detail, Fastvim is here to help.
12
12
13
-
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
13
+
This distro has everything you need for a smooth and efficient workflow, and if you’re feeling adventurous, you can dive in and make it your own. With custom themes 🎨 made just for you, if you like having themes for every phase and mood you’re going through, just like me.
14
14
15
-
### What you'll need
15
+
Get ready to experience a Neovim setup that just works, without all the hassle. Let’s get you set up, fast and easy!
16
16
17
-
-[Node.js](https://nodejs.org/en/download/) version 18.0 or above:
18
-
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
17
+
### 📦 requirements
19
18
20
-
## Generate a new site
19
+
- Neovim >= 0.9.0 (needs to be built with LuaJIT)
20
+
- Git >= 2.19.0 (for partial clones support)
21
+
- a Nerd Font(v3.0 or greater) (optional, but needed to display some icons)
22
+
- a C compiler for nvim-treesitter. See [here](https://github.com/nvim-treesitter/nvim-treesitter#requirements)
23
+
- pnpm for compile live server plugin (optional, but needed to load live server)
24
+
- build-essential needed to compile lua snip
21
25
22
-
Generate a new Docusaurus site using the **classic template**.
26
+
## 💤 Installation
23
27
24
-
The classic template will automatically be added to your project after you run the command:
28
+
> Please, before installing, remember to make a backup of your dotfiles.
For the distro to work as expected, we need to configure a few things, let's start by downloading the lsp(language server protocol) that you will use by installing with mason
55
+
56
+
To do this you type: `MasonInstall LspName`
57
+
58
+
Ex:
59
+
60
+
```
61
+
:MasonInstall clangd
62
+
```
63
+
Or if you are java dev
64
+
65
+
```
66
+
MasonInstall jdtls
28
67
```
29
68
30
-
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
69
+
Lsp (language server protocol) bring you countless benefits when coding, such as auto completions, syntactic error warnings in real time, and for this we have some plugins like [blink-cmp](https://github.com/Saghen/blink.cmp), for snippets we have [ luasnip](https://github.com/L3MON4D3/LuaSnip) that works exceptionally well and we have mini.pairs to autocomplete special characters like [], (), etc...
31
70
32
-
The command also installs all necessary dependencies you need to run Docusaurus.
With the setup complete, you're now ready to dive into using your new Neovim IDE. Let's get started!
35
74
36
-
Run the development server:
75
+
### Quickstart
76
+
77
+
Now that everything is set up, let's jump into using FastVim. Follow these steps to start coding efficiently:
78
+
79
+
Open Neovim
80
+
Launch Neovim by running:
81
+
82
+
```bash
83
+
nvim
84
+
```
85
+
Explore the Dashboard
86
+
Upon starting Neovim, you'll see a customizable dashboard. Use it to quickly open recent files, create new projects, or access settings.
87
+
88
+
Install Plugins
89
+
Ensure all required plugins are installed by running:
90
+
91
+
```bash
92
+
:Lazy
93
+
```
94
+
This will display the plugin manager. Press u to update all plugins.
95
+
96
+
Set Up LSP
97
+
If you haven't installed your language server yet, use Mason:
98
+
99
+
```bash
100
+
:MasonInstall LspName
101
+
```
102
+
Replace LspName with the appropriate server for your language (e.g., clangd for C/C++, jdtls for Java).
103
+
104
+
Start Coding
105
+
Open a file or create a new one:
37
106
38
107
```bash
39
-
cd my-website
40
-
npm run start
108
+
nvim myfile.extension
41
109
```
110
+
Replace extension with the file type you're working with (e.g., java, go, sql). Autocompletions, syntax highlighting, and LSP features will be ready to assist you.
42
111
43
-
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
112
+
**update distro**
44
113
45
-
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
114
+
To update the distro you have two options, `:FastUpdate` which will update the distro to the latest version, and `:FastStable` which will update the distro to the latest stable version (recommended)
46
115
47
-
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
116
+
**Explore Keymaps**
117
+
This configuration comes with pre-mapped keys for common actions. Check the keybindings guide by pressing:
0 commit comments