after/plugin | ||
lua/sofi | ||
.gitignore | ||
init.lua | ||
README.md |
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>j
→ Prev buf
<leader>k
→ Next buf
<C-w>
→ Close buf
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