create a directory in ~/.config/nvim
clone this repo
git clone [email protected]:jhonoryza/nvim.gitclone packer
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nviminstall ripgrep
brew install ripgrepgo to cd ~/.config/nvim/ && nvim .
then run :PackerCompile and :PackerSync exit then reopen nvim .
leaderis using space;pto find all files;ffind project filesleader+gsto interact with git;sto find word;rto find recent files;tto find list all func and variable;bto open file browser;oto list open buffer;;to resume previous pickerleader+eopen sidebarleader+qclose sidebarleader+xclose bufferctrl+cescape when in insert modesssplit verticalsvclose horizontalslmove to right splitshmove to left splitsjmove to down splitskmove to up splitTabcycle to next bufferShift+Tabcycle to prev bufferysiw'surround single quoteysiw"surround double quotecs"'change double quote to single quotecs'"change single quote to double quoteleader+lswitch to right nvimtreeleader+hswitch to left nvimtree
ctrl+spacecode completionctrl+yconfirmctrl+nnext itemctrl+pprev itemleader+lhsignature_helpleader+ldgo to definitionleader+lkhoverleader+lfformatleader+lrrenameleader+lereferencesleader+lccode actionleader+lsworkspace symbolleader+lgopen in float
- link is here
- edit this file
~/.config/nvim/after/plugin/lsp.lua - to apply run
:so
- see this file
~/.config/nvim/lua/fajar/remap.lua
- see this file
~/.config/nvim/lua/fajar/set.lua
- edit this file
~/.config/nvim/lua/fajar/packer.lua - to install run
:soand:PackerSync
- to add new theme edit this file
~/.config/nvim/after/plugin/colors.lua - to apply run
:wand:so - available colors
- kanagawa (default)
- gruvbox
- live change color run
:lua theme('gruvbox')
- see this file
~/.config/nvim/after/plugin/treesitter.lua
- see this file
~/.config/nvim/after/plugin/bufferline.lua
- see this file
~/.config/nvim/after/plugin/nvimtree.lua
If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.