https://github.com/vito/dot-nvim
~/.config/nvim
https://github.com/vito/dot-nvim
Last synced: over 1 year ago
JSON representation
~/.config/nvim
- Host: GitHub
- URL: https://github.com/vito/dot-nvim
- Owner: vito
- Created: 2015-09-27T00:26:22.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2024-02-14T18:22:27.000Z (over 2 years ago)
- Last Synced: 2025-01-25T19:11:58.748Z (over 1 year ago)
- Language: Vim Script
- Homepage:
- Size: 305 KB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.sh
Awesome Lists containing this project
README
#!/bin/sh
# step 1
git clone https://github.com/vito/dot-nvim.git ~/.config/nvim
# step 2
nvim -es -u plugins.vim -i NONE -c "PlugInstall" -c "qa"
cat < - save
- reset search highlight
- faster window switching
,u - toggle undo tree
# LSP
[d - previous diagnostic
]d - next diagnostic
gd - go to definition
gy - go to definition of value's type
gi - go to implementations of interface or method
gr - go to references
,rn - rename function/var/etc
# telescope
,ff - fuzzy find file
,fg - fuzzy grep across all files
,fb - fuzzy switch buffer
,fh - fuzzy vim help tags
# floaterm
- toggle floaterm (assumes fish shell)
# vgit
[g - previous hunk
]g - next hunk
,gs - buffer hunk stage
,gr - buffer hunk reset
,gp - buffer hunk preview
,gb - buffer blame preview
,gf - buffer diff preview
,gh - buffer history preview
,gu - buffer reset
,gg - buffer gutter blame preview
,gl - project hunks preview
,gd - project diff preview
,gq - project hunks qf
,gx - toggle diff preference
# from vim-test
,tn - test nearest
,tf - test file
,ts - test suite
,tl - test last ran
,tg - go to the last run test
# completion (TODO: tweak, it feels awkward)
- next
- previous
- accept selected completion
insert mode:
jk -
kj -
EOF