aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorphajw <dscr@duck.com>2023-10-04 06:04:43 -0400
committerphajw <dscr@duck.com>2023-10-04 06:04:43 -0400
commit367836c01323c22cd3fa07bc88f5195014a2cf52 (patch)
tree0ccd5051035b15013d39c7e09f2e83c146471e6f /README.md
downloadneovim-367836c01323c22cd3fa07bc88f5195014a2cf52.tar.gz
neovim-367836c01323c22cd3fa07bc88f5195014a2cf52.zip
Move from github
Diffstat (limited to 'README.md')
-rw-r--r--README.md66
1 files changed, 66 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..08b4293
--- /dev/null
+++ b/README.md
@@ -0,0 +1,66 @@
1# My Neovim Config
2![nvim](https://user-images.githubusercontent.com/91333841/212791030-440472c6-1568-4754-9181-c47e69bc42d6.png)
3
4### Introduction
5Run checkhealth in your Neovim
6```vim
7:checkhealth
8```
9Make sure you analyzed the output properly:
10- Your neovim must be >= 0.7.0 to run this config
11- You need to setup [Packer](https://github.com/wbthomason/packer.nvim)
12```vim
13git clone --depth 1 https://github.com/wbthomason/packer.nvim\
14 ~/.local/share/nvim/site/pack/packer/start/packer.nvim
15```
16- You should install global python provider
17```python
18pip install pynvim
19```
20- You should install clipboard tool (I use xclip but you can use something diffrent)
21
22### Installation
23> Easy way
24
25You can just clone this repo to your .config folder
26
27```bash
28git clone https://github.com/dsrcr/nvim ~/.config
29```
30> Recommended way
31
32I use gnu-stow to manage my dotfiles, so I encourage you to use it too.
33
34Use your package manage of choice to get stow, for example:
35
36```bash
37paru -S stow
38```
39Clone this repo to your prefered dir and use stow to symlink
40
41In order to do this you need an empty nvim directory in your .config folder
42```bash
43cd ~/.config
44mkdir nvim
45cd ~/yourDirectory
46git clone https://github.com/dsrcr/nvim
47stow -d ~/yourDirectory -t ~/.config/nvim nvim/
48
49```
50
51The last step is running this command in your neovim
52
53```vim
54:PackerSync
55```
56This command should pull everything you need
57
58In the next step you will encounter a lot of errors, but don't worry about it.
59Packer needs to pull specific plugins and then you need to install Treesitter's support for specific filetypes eg. lua, rust.... etc.
60```bash
61:TSUpdate
62```
63```bash
64:TSInstall
65```
66