init.lua/README.md

42 lines
976 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>
2024-01-23 18:50:31 +00:00
`K` &rarr; Hover<br>
`gd` &rarr; Go to definition<br>
`gD` &rarr; Go to declaration<br>
`gi` &rarr; Go to implementation<br>
`go` &rarr; Type definition<br>
`gr` &rarr; Go to references<br>
`gs` &rarr; Signature help<br>
`<F2>` &rarr; Rename<br>
`<F3>` &rarr; Format<br>
`<F4>` &rarr; Code action<br>