feat: convert to blink, major lsp changes, lualine
This commit is contained in:
parent
82102e5e29
commit
51ab444c0d
44 changed files with 1387 additions and 700 deletions
50
README.md
50
README.md
|
|
@ -1,29 +1,45 @@
|
|||
## ⚙️ My Neovim Configuration
|
||||
## ⚙️ My Neovim Configuration
|
||||
|
||||
This is my personal neovim configuration and it's unlikely to be perfect
|
||||
for your use case.
|
||||
|
||||
What is in it?
|
||||
|
||||
* *Kickstart*: based configuration
|
||||
* *Neovimacs*: modeless editing support, with common Emacs bindings in insert mode
|
||||
* *Esc*: to toggle between insert (emacs bindings) and normal (neovim mode)
|
||||
* *Tabs*: Prev (F1), Next (F2), New (F3), and Close (F4) to jump around
|
||||
* *Tool Tabs*: Terminal (F5)
|
||||
* *Movement*: Arrows and Tabs (and, yes, I know)
|
||||
* *Batteries*: Python LSP, completion, treesitter
|
||||
- _Kickstart_: based configuration
|
||||
- _Neovimacs_: modeless editing support, with common Emacs bindings in insert mode
|
||||
- _Esc_: to toggle between insert (emacs bindings) and normal (neovim mode)
|
||||
- _Tabs_: Prev (F1), Next (F2), New (F3), and Close (F4) to jump around
|
||||
- _Tool Tabs_: Terminal (F5)
|
||||
- _Movement_: Arrows and Tabs (and, yes, I know)
|
||||
- _Batteries_: Python LSP, completion, treesitter
|
||||
|
||||
## 📦 Installation
|
||||
|
||||
#### Prep
|
||||
|
||||
Suggested:
|
||||
Neovim >= 0.10 or later is required, you may need to get it from the Neovim PPA or similar:
|
||||
|
||||
```bash
|
||||
sudo apt install -y gcc python3-pip python3-venv git make unzip ripgrep gzip wget curl fd-find npm
|
||||
sudo add-apt-repository ppa:neovim-ppa/unstable
|
||||
sudo apt-get update
|
||||
sudo apt-get install neovim
|
||||
```
|
||||
|
||||
Suggested Packages:
|
||||
|
||||
```bash
|
||||
sudo apt install -y cargo gcc python3-pip python3-venv git make unzip ripgrep gzip wget curl fd-find npm xclip
|
||||
sudo npm install -g tree-sitter-cli
|
||||
```
|
||||
|
||||
If you have an old version of NodeJS, pick up a new one:
|
||||
|
||||
```bash
|
||||
sudo npm cache clean -f
|
||||
sudo npm install -g n
|
||||
sudo n stable
|
||||
```
|
||||
|
||||
Optional based on use-case:
|
||||
|
||||
```bash
|
||||
|
|
@ -52,9 +68,9 @@ ln -s neovimrc nvim
|
|||
Checking overall health and options:
|
||||
|
||||
```
|
||||
:CheckHealth
|
||||
:checkhealth
|
||||
:Telescope vim_options
|
||||
:lua print(vim.inspect(vim.opt.XXXX))
|
||||
:set option?
|
||||
```
|
||||
|
||||
Beyond [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:
|
|||
:verbose nmap <C-n> -- for normal mode
|
||||
:nmap <localleader> -- to see leader commands
|
||||
:WhichKey -- see above
|
||||
:lua = <expr> -- run lua expression
|
||||
```
|
||||
|
||||
Use `nvim -u NONE -U NONE -N -i NONE` to test with w/o config if things go wrong.
|
||||
|
||||
#### Recommended Visits
|
||||
|
||||
```
|
||||
:help <module> -- help for modules
|
||||
:help telescope.setup() -- help for the setup section
|
||||
:Telescope help_tags -- search help
|
||||
```
|
||||
|
||||
### References
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue