init.lua/README.md
2024-01-22 14:47:10 +01:00

953 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

<leader>mh → LSP hover
<leader>mr → LSP rename
<leader>ma → LSP action
<leader>mgd → LSP go to definition
<leader>mgD → LSP go to declaration
<leader>mgr → LSP go to references
<leader>mf → LSP format