1- ## ⚙️ My Neovim Configuration
1+ ## ⚙️ My Neovim Configuration
22
33This is my personal neovim configuration and it's unlikely to be perfect
44for your use case.
55
66What is in it?
77
8- * * Kickstart * : based configuration
9- * * Neovimacs * : modeless editing support, with common Emacs bindings in insert mode
10- * * Esc * : to toggle between insert (emacs bindings) and normal (neovim mode)
11- * * Tabs * : Prev (F1), Next (F2), New (F3), and Close (F4) to jump around
12- * * Tool Tabs * : Terminal (F5)
13- * * Movement * : Arrows and Tabs (and, yes, I know)
14- * * Batteries * : Python LSP, completion, treesitter
8+ - _ Kickstart _ : based configuration
9+ - _ Neovimacs _ : modeless editing support, with common Emacs bindings in insert mode
10+ - _ Esc _ : to toggle between insert (emacs bindings) and normal (neovim mode)
11+ - _ Tabs _ : Prev (F1), Next (F2), New (F3), and Close (F4) to jump around
12+ - _ Tool Tabs _ : Terminal (F5)
13+ - _ Movement _ : Arrows and Tabs (and, yes, I know)
14+ - _ Batteries _ : Python LSP, completion, treesitter
1515
1616## 📦 Installation
1717
1818#### Prep
1919
20- Suggested :
20+ Neovim >= 0.10 or later is required, you may need to get it from the Neovim PPA or similar :
2121
2222``` bash
23- sudo apt install -y gcc python3-pip python3-venv git make unzip ripgrep gzip wget curl fd-find npm
23+ sudo add-apt-repository ppa:neovim-ppa/unstable
24+ sudo apt-get update
25+ sudo apt-get install neovim
26+ ```
27+
28+ Suggested Packages:
29+
30+ ``` bash
31+ sudo apt install -y cargo gcc python3-pip python3-venv git make unzip ripgrep gzip wget curl fd-find npm xclip
2432sudo npm install -g tree-sitter-cli
2533```
2634
35+ If you have an old version of NodeJS, pick up a new one:
36+
37+ ``` bash
38+ sudo npm cache clean -f
39+ sudo npm install -g n
40+ sudo n stable
41+ ```
42+
2743Optional based on use-case:
2844
2945``` bash
@@ -52,9 +68,9 @@ ln -s neovimrc nvim
5268Checking overall health and options:
5369
5470```
55- :CheckHealth
71+ :checkhealth
72+ :Telescope vim_options
5673:lua print(vim.inspect(vim.opt.XXXX))
57- :set option?
5874```
5975
6076Beyond [ which-key] ( https://github.com/folke/which-key.nvim ) , you can use the following
@@ -65,8 +81,18 @@ nvim commands to help you track down key bindings and resolve conflicts:
6581:verbose nmap <C-n> -- for normal mode
6682:nmap <localleader> -- to see leader commands
6783:WhichKey -- see above
84+ :lua = <expr> -- run lua expression
6885```
6986
87+ Use ` nvim -u NONE -U NONE -N -i NONE ` to test with w/o config if things go wrong.
88+
89+ #### Recommended Visits
90+
91+ ```
92+ :help <module> -- help for modules
93+ :help telescope.setup() -- help for the setup section
94+ :Telescope help_tags -- search help
95+ ```
7096
7197### References
7298
0 commit comments