Skip to content

key maps

Artin Mobasher(artart222) edited this page Apr 23, 2022 · 4 revisions

First of all <leader> key is mapped to <space>

You can navigate trough NeoVim splits via Alt + h, Alt + j, Alt + k, Alt + l

You can resize NeoVim splits via Shift + h, Shift + j, Shift + k, Shift + l

You can go to next buffer with pressing Tab and you can go to previous buffer with Shift + Tab

You can move lines in visual mode by selecting them and holding Shift + k for moving above and Shift + j for bellow

You can toggle terminal wth <Ctrl + t> or pressing number + <Ctrl +t> for toggling multiple terminal

Packer:

Keys Action
Space + pi Install CodeArt packages
Space + pu Update CodeArt packages
Space + pr Uninstall unnecessary CodeArt packages
Space + ps Sync CodeArt packages
Space + pc Compile CodeArt packages

Buffer:

Keys Action
Space + bc Close Buffer
Space + bC Close Current Buffer
Space + be Erase Search Highlights
Space + bl Move Buffer Right
Space + bh Move buffer Left
Space + bn New Buffer
Space + bm Maximize Current Buffer

Code formatting:

Keys Action
Space + r Format

Nvim-Tree:

Keys Action
Space + nt Toggle NvimTree
Space + nf Focus on NvimTree
Space + ne Fullscreen Explorer

Find:

Keys Action
Space + fw Find Word
Space + ff Find File
Space + fo Find Old File
Space + fd Find Directory
Space + fb Find Buffer
Space + fh Find Help File
Space + fB Find BookMark

Git:

Keys Action
Space + gs Status + Git Diff
Space + gc Commit History
Space + gC Buffer Commit History
Space + gb Branches history
Space + gk Next Hunk
Space + gj Prev Hunk
Space + gp Preview Hunk
Space + gr Reset Hunk
Space + gR Reset Buffer
Space + gd Git Diff
Space + gl Blame For Current Line
Space + gs Stage Hunk
Space + gu Undo Stage Hunk

ColorScheme:

Keys Action
Space + cf Find Colorscheme
Space + cp Find Colorscheme with previwer
Space + co Toggle Onedark Style

Terminal:

Keys Action
Space + tn Node
Space + tN Ncdu
Space + tH Htop
Space + tp Python
Space + tr Ranger
Space + tl LazyGit
Space + tf Float
Space + th Horizontal
Space + tv Vertical

LSP:

Keys Action
Space + la Code Action
Space + ld Show Current Line Diagnostics
Space + li Info
Space + lI Installer Info
Space + lr Rename
Space + lh Display Information Of Symbol
Space + ls Signature Help
Space + lgD Go To Declaration
Space + lgi Go To Implementation
Space + lgd Go to Definition
Space + lgj Go To Previous Diagnostics
Space + lgk Go To Next Diagnostics
Space + lgt Go To Type Definition
Space + lwl List Workspace Folder
Space + lwa Add Workspace Folder
Space + lwr Remove Workspace Folder
Space + lld List Diagnostic
Space + llD Show Diagnostics list via Telescope
Space + llr Show References

Debugging:

Keys Action
Space + dc Continue
Space + dt Terminate
Space + dl Run Last Debugging Config
Space + dd Open Debug Console
Space + dbt Toggle Breakpoint
Space + dbc Set conditional Breakpoint
Space + dbl Breakpoint With Log Point Message
Space + dso Step Over
Space + dsO Step Into
Space + dsi Step Out
Space + dsb Step Back
Space + dsc Run To Cursor
Space + du Toggle UI

Comment:

Keys Action
Space + / Toggle Comment
Clone this wiki locally