Clone this repo and link nvim
to ~/.config
git clone https://github.com/2nthony/dotfiles.git ~/yourpath
ln -s ~/yourpath/.config/nvim ~/.config
- LSP
- Git Integration
- Code Syntax Highlighting
- Code Snippets
- Code Completion
- Code Diagnostics
- GitHub Copilot
- Bufferline
- Good Looking Theme
- Auto Session
- ...
Full plugins see plugins.lua.
The latest keybindings in keymaps.lua.
<C-h>
better^
<C-l>
better$
<C-a>
select all text<C-j>
LSP diagnostic next,<S-C-j>
LSP diagnostic prev<C-k>
LSP hover<C-\>
open a float terminal
<Tab>
next buffer,<S-Tab>
previous buffer
<Space>d
search declarations<Space>p
preview definition<Space>r
replace declaration<Space>ca
code action
fe
toggle file explorerfd
locate current file in file explorerff
find a filefr
find character(live grep) in files (installripgrep
)fb
find a buffer(tab)fo
find oldfilesft
find todo commentsfm
find bookmarks,fM
find project bookmarksmm
toggle bookmark
git
open lazygit (installlazygit
)gw
go to wordgl
go to linegj
git next hunkgk
git previous hunkghs
git stage hunkghS
git stage fileghr
git reset hunkghu
git undo stage hunkghp
git preview hunk
See the full keybindings for git in keymaps.gitsigns
ss
split windowsv
vertical split windowsh
focus left windowsj
focus below windowsk
focus above windowsl
focus right window
;w
=:w
;q
=:q
,:Q
=:q!
;1
,;2
, ... go to buffer,;0
go to the last buffer;x
close buffer;X
force(!) close buffer;bp
pick a buffer;S
ripgrep search(like global search);tt
toggle show troubles(problems)
- Fish shell
- Fisher - Plugin manager
- Tide - Shell theme
- Nerd fonts - Powerline-patched fonts. I use Hack.
- z for fish - Directory jumping
- Exa -
ls
replacement - ghq - GitHub repositories manager
- peco - Interactive filtering
- nvm - Node.js version manager
- nvm.fish - Fish nvm
- zellij - Workspace management, tmux alternative