Post

Modern Neovim Configuration Information

Configure Neovim as a modernized development environment. Details described in an excellent Medium article

  • Install and initialize: lazyman -x Modern
  • Configuration category: Starter
  • Base configuration: Custom
  • Plugin manager: Lazy
  • Installation location: ~/.config/nvim-Modern

Git repository

https://github.com/alpha2phi/modern-neovim

Lazy managed plugins

Modern Keymaps

Normal mode keymaps

DescriptionManage Plugins
Left hand side zz
Right hand side<Cmd>:Lazy<CR>
DescriptionExplorer (Current File)
Left hand side fE
Right hand side 
DescriptionExplorer (Current Directory)
Left hand side fe
Right hand side 
DescriptionSelect VirtualEnv
Left hand side lv
Right hand side 
DescriptionDocker
Left hand side fd
Right hand side 
DescriptionDon’t Save Current Session
Left hand side qd
Right hand side 
DescriptionRestore Last Session
Left hand side ql
Right hand side 
DescriptionRestore Session
Left hand side qs
Right hand side 
DescriptionSummary
Left hand side tNS
Right hand side 
DescriptionStop
Left hand side tNs
Right hand side 
DescriptionOutput
Left hand side tNo
Right hand side 
DescriptionDebug Nearest
Left hand side tNN
Right hand side 
DescriptionNearest
Left hand side tNn
Right hand side 
DescriptionLast
Left hand side tNl
Right hand side 
DescriptionFile
Left hand side tNf
Right hand side 
DescriptionAttach
Left hand side tNa
Right hand side 
DescriptionDebug Last
Left hand side tNL
Right hand side 
DescriptionDebug File
Left hand side tNF
Right hand side 
DescriptionMason
Left hand side lm
Right hand side 
DescriptionSearch and Replace (SSR)
Left hand side sR
Right hand side 
DescriptionToggle Zoom
Left hand side vz
Right hand side 
DescriptionStep Out
Left hand side du
Right hand side 
DescriptionTerminate
Left hand side dx
Right hand side 
DescriptionToggle Breakpoint
Left hand side dt
Right hand side 
DescriptionStart
Left hand side ds
Right hand side 
DescriptionToggle REPL
Left hand side dr
Right hand side 
DescriptionQuit
Left hand side dq
Right hand side 
DescriptionPause
Left hand side dp
Right hand side 
DescriptionRun Last
Left hand side dl
Right hand side 
DescriptionStep Over
Left hand side do
Right hand side 
DescriptionStep Into
Left hand side di
Right hand side 
DescriptionScopes
Left hand side dS
Right hand side 
DescriptionHover Variables
Left hand side dh
Right hand side 
DescriptionGet Session
Left hand side dg
Right hand side 
DescriptionEvaluate
Left hand side de
Right hand side 
DescriptionDisconnect
Left hand side dd
Right hand side 
DescriptionContinue
Left hand side dc
Right hand side 
DescriptionStep Back
Left hand side db
Right hand side 
DescriptionToggle UI
Left hand side dU
Right hand side 
DescriptionConditional Breakpoint
Left hand side dC
Right hand side 
DescriptionEvaluate Input
Left hand side dE
Right hand side 
DescriptionRun to Cursor
Left hand side dR
Right hand side 
DescriptionReload Buffer
Left hand side br
Right hand side 
DescriptionDelete Buffer (Force)
Left hand side bD
Right hand side 
DescriptionDelete Buffer
Left hand side bd
Right hand side 
DescriptionClose Buffer
Left hand side bc
Right hand side 
DescriptionSearch and Replace (Spectre)
Left hand side sr
Right hand side 
DescriptionForward jump
Left hand side nj
Right hand side 
DescriptionToggle Preview
Left hand side nt
Right hand side 
DescriptionClose Preview
Left hand side nc
Right hand side 
DescriptionPreview
Left hand side np
Right hand side 
DescriptionWorkspace Diagnostics
Left hand side lD
Right hand side 
DescriptionDocument Diagnostics
Left hand side ld
Right hand side 
DescriptionTask Action
Left hand side toa
Right hand side 
DescriptionRun Command
Left hand side toR
Right hand side 
DescriptionToggle
Left hand side tot
Right hand side 
DescriptionSave Bundle
Left hand side tos
Right hand side 
DescriptionRun
Left hand side tor
Right hand side 
DescriptionQuick Action
Left hand side toq
Right hand side 
DescriptionOpen
Left hand side too
Right hand side 
DescriptionLoad Bundle
Left hand side tol
Right hand side 
DescriptionDelete Bundle
Left hand side tod
Right hand side 
DescriptionClose
Left hand side toc
Right hand side 
DescriptionBuild
Left hand side tob
Right hand side 
DescriptionTerminal #2
Left hand side 0
Right hand side 
DescriptionNode Action
Left hand side ln
Right hand side 
DescriptionToggle Split/Join
Left hand side lj
Right hand side 
DescriptionToDo
Left hand side lT
Right hand side 
DescriptionToDo (Trouble)
Left hand side lt
Right hand side 
DescriptionCommand Palette
Left hand side hc
Right hand side 
DescriptionToggle Minimap
Left hand side vm
Right hand side 
DescriptionAnnotation
Left hand side lgd
Right hand side 
DescriptionType
Left hand side lgt
Right hand side 
DescriptionFunction
Left hand side lgf
Right hand side 
DescriptionClass
Left hand side lgc
Right hand side 
DescriptionEdgy Toggle
Left hand side ze
Right hand side 
DescriptionEdgy Select Window
Left hand side zE
Right hand side 
DescriptionCode Outline (navbuddy)
Left hand side vO
Right hand side 
DescriptionToggle Highlighter
Left hand side zCh
Right hand side 
DescriptionConvert
Left hand side zCc
Right hand side 
DescriptionPick
Left hand side zCp
Right hand side 
Description+Color
Left hand side zC
Right hand side 
DescriptionTerminal 1
Left hand side 3
Right hand side 
DescriptionFile 2
Left hand side 2
Right hand side 
DescriptionFile 1
Left hand side 1
Right hand side 
DescriptionCommand Menu
Left hand side jc
Right hand side 
DescriptionFile Menu
Left hand side jm
Right hand side 
DescriptionAdd File
Left hand side ja
Right hand side 
DescriptionCommand 2
Left hand side 6
Right hand side 
DescriptionCommand 1
Left hand side 5
Right hand side 
DescriptionTerminal 2
Left hand side 4
Right hand side 
Description+REPL
Left hand side x
Right hand side 
DescriptionHide
Left hand side xH
Right hand side 
DescriptionFocus
Left hand side xF
Right hand side 
DescriptionRestart
Left hand side xS
Right hand side 
DescriptionREPL
Left hand side xR
Right hand side 
DescriptionRemove Mark
Left hand side xmr
Right hand side 
DescriptionMark Motion
Left hand side xmm
Right hand side 
DescriptionSend Mark
Left hand side xms
Right hand side 
DescriptionClear
Left hand side xc
Right hand side 
DescriptionClose REPL
Left hand side xC
Right hand side 
DescriptionInterrupt
Left hand side xI
Right hand side 
DescriptionENTER
Left hand side x<CR>
Right hand side 
DescriptionSend File
Left hand side xf
Right hand side 
DescriptionSend Until Cursor
Left hand side xt
Right hand side 
DescriptionSend Line
Left hand side xl
Right hand side 
DescriptionSend Motion
Left hand side xs
Right hand side 
Description+Mark
Left hand side xm
Right hand side 
DescriptionDebug Cleanup
Left hand side rc
Right hand side 
DescriptionDebug Print Variable
Left hand side rp
Right hand side 
DescriptionDebug Print
Left hand side rP
Right hand side 
DescriptionExtract Block to File
Left hand side rf
Right hand side 
DescriptionExtract Block
Left hand side rb
Right hand side 
DescriptionInline Variable
Left hand side ri
Right hand side 
DescriptionVisit
Left hand side tv
Right hand side 
DescriptionSuite
Left hand side ts
Right hand side 
DescriptionNearest
Left hand side tn
Right hand side 
DescriptionLast
Left hand side tl
Right hand side 
DescriptionFile
Left hand side tf
Right hand side 
DescriptionClass
Left hand side tc
Right hand side 
DescriptionStatus
Left hand side gs
Right hand side 
DescriptionFind Buffer
Left hand side Df
Right hand side 
DescriptionToggle UI
Left hand side Dt
Right hand side 
DescriptionLast Query Info
Left hand side Dq
Right hand side 
DescriptionRename Buffer
Left hand side Dr
Right hand side 
DescriptionOpen Yank History
Left hand side zp
Right hand side 
DescriptionRecent
Left hand side fo
Right hand side 
DescriptionFind Files (Cwd)
Left hand side fF
Right hand side 
DescriptionFind Files (Root Dir)
Left hand side ff
Right hand side 
DescriptionBuffers
Left hand side fb
Right hand side 
DescriptionColorscheme
Left hand side zc
Right hand side 
DescriptionCode Outline
Left hand side vo
Right hand side 
DescriptionBuffer
Left hand side sb
Right hand side 
DescriptionSnippets
Left hand side ss
Right hand side 
DescriptionGrep (Cwd)
Left hand side sW
Right hand side 
DescriptionGrep (Root Dir)
Left hand side sw
Right hand side 
DescriptionList
Left hand side pp
Right hand side 
DescriptionSearch
Left hand side hs
Right hand side 
DescriptionSearch
Left hand side ps
Right hand side 
DescriptionSearch Plugins
Left hand side zs
Right hand side 
DescriptionConventional Commits
Left hand side gc
Right hand side 
DescriptionBrowser
Left hand side fr
Right hand side 
DescriptionChange WorkDir
Left hand side fc
Right hand side 
DescriptionGenerate Git Message
Left hand side ag
Right hand side 
DescriptionSummarize Text
Left hand side as
Right hand side 
DescriptionEdit with Instructions
Left hand side ae
Right hand side 
DescriptionChat
Left hand side aa
Right hand side 
DescriptionComplete Code
Left hand side ac
Right hand side 
DescriptionNotation
Left hand side nn
Right hand side 
Description 
Left hand side#
Right hand side 
DescriptionNvim builtin
Left hand side&
Right hand side:&&<CR>
Description 
Left hand side*
Right hand side 
DescriptionPut and indent left
Left hand side<lt>p
Right hand side 
DescriptionPut before and indent left
Left hand side<lt>P
Right hand side 
DescriptionPut after applying a filter
Left hand side=p
Right hand side 
DescriptionPut before applying a filter
Left hand side=P
Right hand side 
DescriptionPut and indent right
Left hand side>p
Right hand side 
DescriptionPut before and indent right
Left hand side>P
Right hand side 
Description 
Left hand sideN
Right hand side 
DescriptionPut yanked text before cursor
Left hand sideP
Right hand side 
DescriptionFlash Treesitter
Left hand sideS
Right hand side 
DescriptionNvim builtin
Left hand sideY
Right hand sidey$
DescriptionPrevious ToDo
Left hand side[t
Right hand side 
DescriptionCycle forward through yank history
Left hand side[y
Right hand side 
DescriptionPut indented before cursor (linewise)
Left hand side[p
Right hand side 
DescriptionPut indented before cursor (linewise)
Left hand side[P
Right hand side 
DescriptionNext ToDo
Left hand side]t
Right hand side 
DescriptionCycle backward through yank history
Left hand side]y
Right hand side 
DescriptionPut indented after cursor (linewise)
Left hand side]p
Right hand side 
DescriptionPut indented after cursor (linewise)
Left hand side]P
Right hand side 
Description 
Left hand sideg<Plug>(dial-decrement)
Right hand side<Cmd>lua require"dial.command".select_augend_gnormal()<CR><Cmd>let &opfunc="dial#operator#decrement_gnormal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR>
Description 
Left hand sideg<Plug>(dial-increment)
Right hand side<Cmd>lua require"dial.command".select_augend_gnormal()<CR><Cmd>let &opfunc="dial#operator#increment_gnormal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR>
Description 
Left hand sideg*
Right hand side 
Description 
Left hand sideg#
Right hand side 
Description 
Left hand sidegbc
Right hand side 
Description 
Left hand sidegcc
Right hand side 
Description 
Left hand sidegc
Right hand side 
DescriptionPut yanked text before selection
Left hand sidegP
Right hand side 
DescriptionPut yanked text after selection
Left hand sidegp
Right hand side 
Description 
Left hand siden
Right hand side 
DescriptionPut yanked text after cursor
Left hand sidep
Right hand side 
DescriptionFlash
Left hand sides
Right hand side 
DescriptionYank text
Left hand sidey
Right hand side 
Description 
Left hand sidezC
Right hand side 
Description 
Left hand sidezO
Right hand side 
Description 
Left hand sideza
Right hand side 
Description 
Left hand sidezA
Right hand side 
DescriptionOpen Folds Except Kinds
Left hand sidezr
Right hand side 
DescriptionOpen All Folds
Left hand sidezR
Right hand side 
DescriptionClose All Folds
Left hand sidezM
Right hand side 
DescriptionClose Folds With
Left hand sidezm
Right hand side 
DescriptionPeek Fold
Left hand sidezp
Right hand side 
Description 
Left hand sidezc
Right hand side 
Description 
Left hand sidezo
Right hand side 
DescriptionDecrement
Left hand side<C-X>
Right hand side<Cmd>lua require"dial.command".select_augend_normal()<CR><Cmd>let &opfunc="dial#operator#decrement_normal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR>
DescriptionIncrement
Left hand side<C-A>
Right hand side<Cmd>lua require"dial.command".select_augend_normal()<CR><Cmd>let &opfunc="dial#operator#increment_normal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR>
Description 
Left hand side<Plug>(dial-decrement)
Right hand side<Cmd>lua require"dial.command".select_augend_normal()<CR><Cmd>let &opfunc="dial#operator#decrement_normal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR>
Description 
Left hand side<Plug>(dial-increment)
Right hand side<Cmd>lua require"dial.command".select_augend_normal()<CR><Cmd>let &opfunc="dial#operator#increment_normal"<CR>g@<Cmd>lua require("dial.command").textobj()<CR>
Description 
Left hand side<C-Bslash>
Right hand side 
DescriptionLegendary
Left hand side<C-S-P>
Right hand side 
DescriptionScroll forward
Left hand side<C-F>
Right hand side 
DescriptionScroll backward
Left hand side<C-B>
Right hand side 
DescriptionPrevious Cell
Left hand side<M-k>
Right hand side 
DescriptionNext Cell
Left hand side<M-j>
Right hand side 
DescriptionDelete Cell
Left hand side<M-x>
Right hand side 
DescriptionExecute Cell
Left hand side<M-e>
Right hand side 
DescriptionNvim builtin
Left hand side<C-L>
Right hand side<Cmd>nohlsearch|diffupdate|normal! <C-L><CR>

Visual mode keymaps

DescriptionClear Highlight
Left hand side xL
Right hand side 
DescriptionSend
Left hand side xs
Right hand side 
Description+Mark
Left hand side xm
Right hand side 
Description+REPL
Left hand side x
Right hand side 
DescriptionMark Visual
Left hand side xmv
Right hand side 
DescriptionEvaluate
Left hand side de
Right hand side 
DescriptionComplete Code
Left hand side ac
Right hand side 
DescriptionEdit with Instructions
Left hand side ae
Right hand side 
DescriptionSearch and Replace (SSR)
Left hand side sR
Right hand side 
DescriptionInline Variable
Left hand side ri
Right hand side 
DescriptionDebug Print Variable
Left hand side rp
Right hand side 
DescriptionExtract Variable
Left hand side rx
Right hand side 
DescriptionRefactor
Left hand side rs
Right hand side 
DescriptionExtract Function to File
Left hand side rF
Right hand side 
DescriptionExtract Function
Left hand side rf
Right hand side 
DescriptionNvim builtin
Left hand side#
Right hand sidey?\V<C-R>"<CR>
DescriptionNvim builtin
Left hand side*
Right hand sidey/\V<C-R>"<CR>
DescriptionPut yanked text before cursor
Left hand sideP
Right hand side 
DescriptionTreesitter Search
Left hand sideR
Right hand side 
DescriptionFlash Treesitter
Left hand sideS
Right hand side 
DescriptionDecrement
Left hand sideg<C-X>
Right hand side<Cmd>lua require"dial.command".select_augend_gvisual()<CR><Cmd>let &opfunc="dial#operator#decrement_gvisual"<CR>g@
DescriptionIncrement
Left hand sideg<C-A>
Right hand side<Cmd>lua require"dial.command".select_augend_gvisual()<CR><Cmd>let &opfunc="dial#operator#increment_gvisual"<CR>g@
Description 
Left hand sideg<Plug>(dial-decrement)
Right hand side<Cmd>lua require"dial.command".select_augend_gvisual()<CR><Cmd>let &opfunc="dial#operator#decrement_gvisual"<CR>g@gv
Description 
Left hand sideg<Plug>(dial-increment)
Right hand side<Cmd>lua require"dial.command".select_augend_gvisual()<CR><Cmd>let &opfunc="dial#operator#increment_gvisual"<CR>g@gv
DescriptionPut yanked text before selection
Left hand sidegP
Right hand side 
DescriptionPut yanked text after selection
Left hand sidegp
Right hand side 
Description 
Left hand sidegcc
Right hand side 
Description 
Left hand sidegc
Right hand side 
Description 
Left hand sidegbc
Right hand side 
DescriptionPut yanked text after cursor
Left hand sidep
Right hand side 
DescriptionFlash
Left hand sides
Right hand side 
DescriptionYank text
Left hand sidey
Right hand side 
DescriptionDecrement
Left hand side<C-X>
Right hand side<Cmd>lua require"dial.command".select_augend_visual()<CR><Cmd>let &opfunc="dial#operator#decrement_visual"<CR>g@
DescriptionIncrement
Left hand side<C-A>
Right hand side<Cmd>lua require"dial.command".select_augend_visual()<CR><Cmd>let &opfunc="dial#operator#increment_visual"<CR>g@
Description 
Left hand side<Plug>(dial-decrement)
Right hand side<Cmd>lua require"dial.command".select_augend_visual()<CR><Cmd>let &opfunc="dial#operator#decrement_visual"<CR>g@gv
Description 
Left hand side<Plug>(dial-increment)
Right hand side<Cmd>lua require"dial.command".select_augend_visual()<CR><Cmd>let &opfunc="dial#operator#increment_visual"<CR>g@gv

Operator mode keymaps

DescriptionTreesitter Search
Left hand sideR
Right hand side 
DescriptionFlash Treesitter
Left hand sideS
Right hand side 
DescriptionRemote Flash
Left hand sider
Right hand side 
DescriptionFlash
Left hand sides
Right hand side