Skip to content

fkf6116/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

132 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hoiiii :3 welcome to my nvim config.

I’m using lazy.nvim (honestly who isn’t?) and most of the features are actually from snacks.nvim by the great folke and mini.nvim which is honestly amazing.

LSP setup:

Download the LSP you want with your package manager. And then set it up it in lua/plugins/lsp.lua

Formatting:

Formatting works in two places. It tries using an external formatter. If that doesn’t exist then it uses the LSP fomat function. To use external fomrmatters install them. And then set it up it in lua/plugins/formatting.lua

Some important keybinds that are different from vanilla neovim are:

Note: <Leader> here refers to the space key. You can view keybinds via pressing the space button. The which-key plugin will show the available keys and their uses.

Here are some important keybinds to remember:

Escape keyalso mapped to jj (use j then wait a sec and then press j again to type jj if needed)
Ctrl + jto scroll snippets and in the completion window thingy
Ctrl + kto scroll snippets and in the completion window thingy
ctrl +.To select from the snippets/completion menu
ctrl + hnavigate splts
ctrl + jnavigate splts
ctrl + knavigate splts
ctrl + lnavigate splts
Shift k (normal mode)LSP hover functionality
TabMove to the next field in snippets
Shift + tabMove to the previous field in snippets
<leader><space>Smart Find Files
<leader>,Buffers
<leader>/Grep
<leader>:Command History
<leader>nNotification History
<leader>eFile Explorer
<leader>fbBuffers
<leader>fcFind Config File
<leader>ffFind Files
<leader>fgFind Git Files
<leader>fpProjects
<leader>frRecent
<leader>gbGit Branches
<leader>glGit Log
<leader>gLGit Log Line
<leader>gsGit Status
<leader>gSGit Stash
<leader>gdGit Diff (Hunks)
<leader>gfGit Log File
<leader>sbBuffer Lines
<leader>sBGrep Open Buffers
<leader>sgGrep
<leader>swVisual selection or word (Grep)
<leader>s”Registers
<leader>s/Search History
<leader>saAutocmds
<leader>scCommand History
<leader>sCCommands
<leader>sdDiagnostics
<leader>sDBuffer Diagnostics
<leader>shHelp Pages
<leader>sHHighlights
<leader>siIcons
<leader>sjJumps
<leader>skKeymaps
<leader>slLocation List
<leader>smMarks
<leader>sMMan Pages
<leader>spSearch for Plugin Spec
<leader>sqQuickfix List
<leader>sRResume
<leader>suUndo History
<leader>uCColorschemes
gdGoto Definition
gDGoto Declaration
grReferences
gIGoto Implementation
gyGoto Type Definition
<leader>ssLSP Symbols
<leader>sSLSP Workspace Symbols
<leader>zToggle Zen Mode
<leader>ZToggle Zoom
<leader>.Toggle Scratch Buffer
<leader>SSelect Scratch Buffer
<leader>bdDelete Buffer
<leader>cRRename File
<leader>gBGit Browse
<leader>ggLazygit
<leader>unDismiss All Notifications
<C-/>Toggle Terminal
<C-_>Ignore (whichkey)
]]Next Reference
[[Previous Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages