Nvim Config inspired by Kickstart neovim
- New neovim users
- Colemak users
INSTALLATION
removed old config
rm -rf nvim
rm -rf ~/.local/share/nvim
installed
git clone https://github.com/VatJittiprasert/InkZ_nvim.git ~/.config/nvim
List of Plugins
- quality of life : Auto-pair, Lua-line
- theme : NightFox(default), Rosepine(main)
- Colorized : Treesitter
- Dashboard : Hyper
- Files Expore : Fuzzy Finder, Harpoon
- auto-complete : Nvim-cmp, Null-ls
- LSP : Mason
- Formatter : Prettier
CHANGE THEME
you can change theme by
- add file in
lazy/theme/${themeName}.lua
then add installation to file. You can see example in others theme that I already installed - change theme by change lazy section in
init.lua
from'lazy.theme.nightfox'
tolazy.theme.${themeName}
COLEMAK REMAP
colemak | querty | desription |
---|---|---|
h |
h |
left |
n |
j |
up |
e |
k |
down |
i |
l |
right |
j |
e |
jump to the end of word |
k |
n |
last search downwards |
l |
i |
switch to insert mode at before cursor |
K |
N |
last search upward |
L |
I |
switch to insert mode at begin line |
H |
0 |
Move to first char of line |
I |
$ |
Move to end line |
Caution remap your vim motion to new one
ci(
tocl(
: erase every thing in( )
and switch to insert modevi{
tovl{
: switch to visual mode and select all in{ }
- ...
Basic Shostcut command
Key | Description |
---|---|
␣ pv |
Explore file |
FUZZY FINDER
␣
: Spacebar symbols
Key | Description |
---|---|
␣ s/ |
[S]earch [/] in Open Files |
␣ ss |
[S]earch [S]elect Telescope |
␣ gf |
Search [G]it [F]iles |
␣ sf |
[S]earch [F]iles |
␣ sh |
[S]earch [H]elp |
␣ sw |
[S]earch current [W]ord |
␣ sg |
[S]earch by [G]rep |
␣ sG |
[S]earch by [G]rep on Git Root |
␣ sd |
[S]earch [D]iagnostics |
␣ sr |
[S]earch [R]esume |
␣ dd |
[D]efinitions |
␣ pp |
[P]revious file |
␣ ff |
[F]ormat with Prittier |
Harpoon
This keymap are suit with my personal layout(Colemak). you can change keymap to hjkl for qwerty
Key | Definition |
---|---|
␣ a |
Pin current file to Harpoon |
Ctrl +o |
Open Harpoon Dashboard |
Ctrl +h |
Move to index 0 in Harpoon Dashboard |
Ctrl +n |
Move to index 1 in Harpoon Dashboard |
Ctrl +e |
Move to index 2 in Harpoon Dashboard |
Ctrl +i |
Move to index 3 in Harpoon Dashboard |
Golang Ultimate Key
␣
ee : auto type err handling
if err != nil {
return err
}