Skip to content

Commit

Permalink
Add indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shivay-at-pieces committed Aug 21, 2024
1 parent 6e109bf commit 9c31797
Showing 1 changed file with 35 additions and 36 deletions.
71 changes: 35 additions & 36 deletions docs/extensions-plugins/neovim/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,45 +53,44 @@ vim.cmd [[packadd pieces.nvim]]

### Step 1: Install the Pieces Neovim Plugin
1. Ensure Pieces OS is installed and running on your system
2. Open the `init.vim` file with a text editor (you can use Neovim itself):
```shell
nvim ~/.config/nvim/init.vim
```
3. Add the following lines to the `init.vim` file:
```vim
" init.vim
call plug#begin('~/.vim/plugged')
Plug 'kyazdani42/nvim-web-devicons'
Plug 'MunifTanjim/nui.nvim'
Plug 'hrsh7th/nvim-cmp'
Plug 'pieces-app/plugin_neo_vim'
call plug#end()
```
If you're using Neovim to edit, press `<Esc>`, then type `:wq` and press `<Enter>` to save and quit.

4. Install the plugins:
Open Neovim again and run the following command:
```vim
:PlugInstall
```
This will install all the plugins specified.

5. After the installation is complete, add the Pieces configuration to your `init.vim`:
```vim
lua << EOF
require("pieces_config").host = "http://localhost:1000"
EOF
```
6. Save and exit (`:wq` in Neovim). Now run the following command inside Neovim to update the remote plugins:
```vim
:UpdateRemotePlugins
```
1. Open the `init.vim` file with a text editor (you can use Neovim itself):
```shell
nvim ~/.config/nvim/init.vim
```
1. Add the following lines to the `init.vim` file:
```vim
" init.vim
call plug#begin('~/.vim/plugged')
Plug 'kyazdani42/nvim-web-devicons'
Plug 'MunifTanjim/nui.nvim'
Plug 'hrsh7th/nvim-cmp'
Plug 'pieces-app/plugin_neo_vim'
call plug#end()
```
If you're using Neovim to edit, press `<Esc>`, then type `:wq` and press `<Enter>` to save and quit.
1. Install the plugins: Open Neovim again and run the following command:
```vim
:PlugInstall
```
This will install all the plugins specified.
1. After the installation is complete, add the Pieces configuration to your `init.vim`:
```vim
lua << EOF
require("pieces_config").host = "http://localhost:1000"
EOF
```
1. Save and exit (`:wq` in Neovim). Now run the following command inside Neovim to update the remote plugins:
```vim
:UpdateRemotePlugins
```
### Step 2: Use the Neovim Plugin
1. Open Neovim using the `nvim` command in your terminal.
2. Run the following command to verify the installation:
1. Run the following command to verify the installation:
```nvim
:PiecesOSVersion
```
Expand Down

0 comments on commit 9c31797

Please sign in to comment.