init.lua/README.md
2024-01-23 19:50:31 +01:00

976 B

init.lua

My NeoVIM configuration, hope you like it :)

Installation

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>

<leader>pf → Project files (find_files)
<leader>ps → Project search (grep_str)
<leader>gf → Git files (git_files)
<leader>gs → Git status
<leader>u → Undo tree

K → Hover
gd → Go to definition
gD → Go to declaration
gi → Go to implementation
go → Type definition
gr → Go to references
gs → Signature help
<F2> → Rename
<F3> → Format
<F4> → Code action