init.lua/README.md

39 lines
953 B
Markdown
Raw Normal View History

2024-01-22 13:36:34 +00:00
# init.lua
My NeoVIM configuration, hope you like it :)
## Installation
```sh
cd ~/.config/
rm -rf nvim/
git clone https://git.sofiaritz.com/sofia/init.lua nvim
# See [Packer quickstart](https://github.com/wbthomason/packer.nvim#quickstart)
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
# (ignore errors)
nvim
# Run :PackerSync
```
## Keybindings
`<leader>` is `<Space>`
2024-01-22 13:47:10 +00:00
`<leader>pf` &rarr; Project files (`find_files`)<br>
`<leader>ps` &rarr; Project search (`grep_str`)<br>
`<leader>gf` &rarr; Git files (`git_files`)<br>
`<leader>gs` &rarr; Git status<br>
`<leader>u` &rarr; Undo tree<br>
`<leader>mh` &rarr; LSP hover<br>
`<leader>mr` &rarr; LSP rename<br>
`<leader>ma` &rarr; LSP action<br>
`<leader>mgd` &rarr; LSP go to definition<br>
`<leader>mgD` &rarr; LSP go to declaration<br>
`<leader>mgr` &rarr; LSP go to references<br>
`<leader>mf` &rarr; LSP format<br>