Post

Orhun Neovim Configuration Information

AstroNvim based configuration of open source developer Orhun Parmaksiz

  • Install and initialize: lazyman -w Orhun
  • Configuration category: Personal
  • Base configuration: AstroNvim
  • Plugin manager: Lazy
  • Installation location: ~/.config/nvim-Orhun

Git repository

https://github.com/orhun/dotfiles

Website

https://blog.orhun.dev

Lazy managed plugins

Orhun Keymaps

Normal mode keymaps

DescriptionNo highlight
Left hand side<Esc>
Right hand side:nohl<CR>
DescriptionPreview Git hunk
Left hand side gp
Right hand side 
DescriptionToggle tabline
Left hand side ut
Right hand side 
DescriptionReset Git hunk
Left hand side gh
Right hand side 
DescriptionReset Git buffer
Left hand side gr
Right hand side 
DescriptionToggle foldcolumn
Left hand side uh
Right hand side 
DescriptionStage Git hunk
Left hand side gs
Right hand side 
DescriptionToggle wrap
Left hand side uw
Right hand side 
DescriptionStage Git buffer
Left hand side gS
Right hand side 
DescriptionUnstage Git hunk
Left hand side gu
Right hand side 
DescriptionGit commits (repository)
Left hand side gc
Right hand side 
DescriptionView Git diff
Left hand side gd
Right hand side 
DescriptionToggle Explorer
Left hand side e
Right hand side<Cmd>Neotree toggle<CR>
DescriptionFind man
Left hand side fm
Right hand side 
DescriptionFind files
Left hand side ff
Right hand side 
DescriptionToggle Explorer Focus
Left hand side o
Right hand side 
DescriptionFind all files
Left hand side fF
Right hand side 
DescriptionLoad last session
Left hand side Sl
Right hand side<Cmd>SessionManager! load_last_session<CR>
DescriptionFind help
Left hand side fh
Right hand side 
DescriptionSave this session
Left hand side Ss
Right hand side<Cmd>SessionManager! save_current_session<CR>
DescriptionDelete session
Left hand side Sd
Right hand side<Cmd>SessionManager! delete_session<CR>
DescriptionFind notifications
Left hand side fn
Right hand side 
DescriptionSearch sessions
Left hand side Sf
Right hand side<Cmd>SessionManager! load_session<CR>
DescriptionFind history
Left hand side fo
Right hand side 
DescriptionLoad current directory session
Left hand side S.
Right hand side<Cmd>SessionManager! load_current_dir_session<CR>
DescriptionFind commands
Left hand side fC
Right hand side 
DescriptionFind themes
Left hand side ft
Right hand side 
DescriptionFind registers
Left hand side fr
Right hand side 
DescriptionFind words
Left hand side fw
Right hand side 
DescriptionFind word under cursor
Left hand side fc
Right hand side 
DescriptionFind words in all files
Left hand side fW
Right hand side 
DescriptionGit commits (current file)
Left hand side gC
Right hand side 
DescriptionSearch symbols
Left hand side ls
Right hand side 
DescriptionMason Installer
Left hand side pm
Right hand side<Cmd>Mason<CR>
DescriptionOpen Git
Left hand side gg
Right hand side:Git<CR>
DescriptionMason Update
Left hand side pM
Right hand side<Cmd>MasonUpdateAll<CR>
DescriptionToggleTerm lazygit
Left hand side tl
Right hand side 
DescriptionToggleTerm node
Left hand side tn
Right hand side 
DescriptionToggleTerm gdu
Left hand side tu
Right hand side 
DescriptionToggleTerm btm
Left hand side tt
Right hand side 
DescriptionToggleTerm python
Left hand side tp
Right hand side 
DescriptionToggleTerm float
Left hand side tf
Right hand side<Cmd>ToggleTerm direction=float<CR>
DescriptionFind buffers
Left hand side fb
Right hand side 
DescriptionGit branches
Left hand side gb
Right hand side 
DescriptionToggleTerm horizontal split
Left hand side th
Right hand side<Cmd>ToggleTerm size=10 direction=horizontal<CR>
DescriptionFind AstroNvim config files
Left hand side fa
Right hand side 
DescriptionToggleTerm vertical split
Left hand side tv
Right hand side<Cmd>ToggleTerm size=80 direction=vertical<CR>
DescriptionFind words in current buffer
Left hand side f/
Right hand side 
DescriptionFind keymaps
Left hand side fk
Right hand side 
DescriptionFind marks
Left hand side f'
Right hand side 
DescriptionGit status
Left hand side gt
Right hand side 
DescriptionResume previous search
Left hand side f<CR>
Right hand side 
DescriptionSymbols outline
Left hand side lS
Right hand side 
DescriptionOpen terminal with tab
Left hand side ;
Right hand side:2ToggleTerm size=30 direction=horizontal<CR>
DescriptionPick to close
Left hand side bD
Right hand side 
DescriptionNew tab
Left hand side bn
Right hand side<Cmd>tabnew<CR>
DescriptionToggle Breakpoint (F9)
Left hand side db
Right hand side 
DescriptionClear Breakpoints
Left hand side dB
Right hand side 
DescriptionFind media files
Left hand side fM
Right hand side:Telescope media_files<CR>
DescriptionStart/Continue (F5)
Left hand side dc
Right hand side 
DescriptionSave image
Left hand side fs
Right hand side:Silicon<CR>
DescriptionConditional Breakpoint (S-F9)
Left hand side dC
Right hand side 
DescriptionGame of life
Left hand side uG
Right hand side:CellularAutomaton game_of_life<CR>
DescriptionStep Into (F11)
Left hand side di
Right hand side 
DescriptionMake it rain
Left hand side uR
Right hand side:CellularAutomaton make_it_rain<CR>
DescriptionStep Over (F10)
Left hand side do
Right hand side 
DescriptionStep Out (S-F11)
Left hand side dO
Right hand side 
DescriptionToggle Zen mode
Left hand side z
Right hand side:ZenMode<CR>
DescriptionClose Session
Left hand side dq
Right hand side 
DescriptionTerminate Session (S-F5)
Left hand side dQ
Right hand side 
DescriptionPause (F6)
Left hand side dp
Right hand side 
DescriptionRestart (C-F5)
Left hand side dr
Right hand side 
DescriptionReload AstroNvim
Left hand side r
Right hand side:AstroReload<CR>
DescriptionToggle REPL
Left hand side dR
Right hand side 
DescriptionRun To Cursor
Left hand side ds
Right hand side 
DescriptionEvaluate Input
Left hand side dE
Right hand side 
DescriptionToggle syntax highlighting (buffer)
Left hand side uy
Right hand side 
DescriptionToggle Debugger UI
Left hand side du
Right hand side 
DescriptionDebugger Hover
Left hand side dh
Right hand side 
DescriptionToggle undo history
Left hand side U
Right hand side:UndotreeToggle<CR>
DescriptionToggle autopairs
Left hand side ua
Right hand side 
DescriptionToggle background
Left hand side ub
Right hand side 
DescriptionToggle autocompletion
Left hand side uc
Right hand side 
DescriptionShow markdown preview
Left hand side m
Right hand side:MarkdownPreview<CR>
DescriptionToggle color highlight
Left hand side uC
Right hand side<Cmd>ColorizerToggle<CR>
DescriptionToggle diagnostics
Left hand side ud
Right hand side 
DescriptionToggle signcolumn
Left hand side ug
Right hand side 
DescriptionSave
Left hand side w
Right hand side<Cmd>w<CR>
DescriptionChange indent setting
Left hand side ui
Right hand side 
DescriptionQuit
Left hand side q
Right hand side<Cmd>confirm q<CR>
DescriptionToggle statusline
Left hand side ul
Right hand side 
DescriptionNew File
Left hand side n
Right hand side<Cmd>enew<CR>
DescriptionToggle CodeLens
Left hand side uL
Right hand side 
DescriptionLoad the last session
Left hand side s
Right hand side:SessionManager! load_current_dir_session<CR>
DescriptionChange line numbering
Left hand side un
Right hand side 
DescriptionToggle Notifications
Left hand side uN
Right hand side 
DescriptionToggle paste mode
Left hand side up
Right hand side 
DescriptionToggle spellcheck
Left hand side us
Right hand side 
DescriptionPlugins Install
Left hand side pi
Right hand side 
DescriptionToggle conceal
Left hand side uS
Right hand side 
DescriptionPlugins Status
Left hand side ps
Right hand side 
DescriptionPlugins Sync
Left hand side pS
Right hand side 
DescriptionPlugins Check Updates
Left hand side pu
Right hand side 
DescriptionToggle URL highlight
Left hand side uu
Right hand side 
DescriptionPlugins Update
Left hand side pU
Right hand side 
DescriptionUpdate Plugins and Mason Packages
Left hand side pa
Right hand side<Cmd>AstroUpdatePackages<CR>
DescriptionAstroNvim Update
Left hand side pA
Right hand side<Cmd>AstroUpdate<CR>
DescriptionAstroNvim Version
Left hand side pv
Right hand side<Cmd>AstroVersion<CR>
DescriptionAstroNvim Changelog
Left hand side pl
Right hand side<Cmd>AstroChangelog<CR>
DescriptionClose buffer
Left hand side c
Right hand side 
DescriptionForce close buffer
Left hand side C
Right hand side 
DescriptionClose all buffers except current
Left hand side bc
Right hand side 
DescriptionClose all buffers
Left hand side bC
Right hand side 
DescriptionClose all buffers to the left
Left hand side bl
Right hand side 
DescriptionPrevious buffer
Left hand side bp
Right hand side 
DescriptionClose all buffers to the right
Left hand side br
Right hand side 
DescriptionBy extension
Left hand side bse
Right hand side 
DescriptionBy relative path
Left hand side bsr
Right hand side 
DescriptionBy full path
Left hand side bsp
Right hand side 
DescriptionBy buffer number
Left hand side bsi
Right hand side 
DescriptionBy modification
Left hand side bsm
Right hand side 
DescriptionSelect buffer from tabline
Left hand side bb
Right hand side 
DescriptionClose buffer from tabline
Left hand side bd
Right hand side 
DescriptionHorizontal split buffer from tabline
Left hand side b\
Right hand side 
DescriptionVertical split buffer from tabline
Left hand side b|
Right hand side 
DescriptionHome Screen
Left hand side h
Right hand side 
DescriptionToggle comment line
Left hand side /
Right hand side 
DescriptionView Git blame
Left hand side gl
Right hand side 
DescriptionView full Git blame
Left hand side gL
Right hand side 
DescriptionNvim builtin
Left hand side&
Right hand side:&&<CR>
DescriptionMove buffer tab left
Left hand side<lt>b
Right hand side 
DescriptionMove buffer tab right
Left hand side>b
Right hand side 
DescriptionPrevious buffer
Left hand sideH
Right hand side 
DescriptionNext buffer
Left hand sideL
Right hand side 
DescriptionNvim builtin
Left hand sideY
Right hand sidey$
DescriptionPrevious Git conflict
Left hand side[x
Right hand side:GitConflictPrevConflict<CR>
DescriptionPrevious tab
Left hand side[t
Right hand side 
DescriptionPrevious buffer
Left hand side[b
Right hand side 
DescriptionPrevious Git hunk
Left hand side[g
Right hand side 
DescriptionHorizontal Split
Left hand side\
Right hand side<Cmd>split<CR>
DescriptionNext Git hunk
Left hand side]g
Right hand side 
DescriptionNext Git conflict
Left hand side]x
Right hand side:GitConflictNextConflict<CR>
DescriptionNext tab
Left hand side]t
Right hand side 
DescriptionNext buffer
Left hand side]b
Right hand side 
Description 
Left hand sidecb
Right hand side:GitConflictChooseBoth<CR>
Description 
Left hand sidect
Right hand side:GitConflictChooseTheirs<CR>
Description 
Left hand sideco
Right hand side:GitConflictChooseOurs<CR>
DescriptionList Git conflicts
Left hand sidecx
Right hand side:GitConflictListQf<CR>
Description 
Left hand sidec0
Right hand side:GitConflictChooseNone<CR>
DescriptionOpen the file under cursor with system app
Left hand sidegx
Right hand side 
DescriptionComment toggle linewise
Left hand sidegc
Right hand side 
DescriptionComment toggle blockwise
Left hand sidegb
Right hand side 
DescriptionMove cursor down
Left hand sidej
Right hand sidev:count == 0 ? 'gj' : 'j'
DescriptionMove cursor up
Left hand sidek
Right hand sidev:count == 0 ? 'gk' : 'k'
Description 
Left hand sidey<C-G>
Right hand side:<C-U>call setreg(v:register, fugitive#Object(@%))<CR>
DescriptionOpen all folds
Left hand sidezR
Right hand side 
DescriptionClose all folds
Left hand sidezM
Right hand side 
DescriptionFold less
Left hand sidezr
Right hand side 
DescriptionFold more
Left hand sidezm
Right hand side 
DescriptionPeek fold
Left hand sidezp
Right hand side 
DescriptionVertical Split
Left hand side|
Right hand side<Cmd>vsplit<CR>
DescriptionScroll down
Left hand side<C-D>
Right hand side<C-D>zz
DescriptionSave file
Left hand side<C-S>
Right hand side:w!<CR>
DescriptionToggle terminal
Left hand side<F7>
Right hand side<Cmd>ToggleTerm<CR>
DescriptionResize split down
Left hand side<C-Down>
Right hand side 
DescriptionMove to left split
Left hand side<C-H>
Right hand side 
DescriptionResize split up
Left hand side<C-Up>
Right hand side 
DescriptionResize split left
Left hand side<C-Left>
Right hand side 
DescriptionResize split right
Left hand side<C-Right>
Right hand side 
DescriptionToggle terminal
Left hand side<C-'>
Right hand side<Cmd>ToggleTerm<CR>
DescriptionDebugger: Start
Left hand side<F5>
Right hand side 
DescriptionDebugger: Stop
Left hand side<F17>
Right hand side 
DescriptionDebugger: Conditional Breakpoint
Left hand side<F21>
Right hand side 
DescriptionDebugger: Restart
Left hand side<F29>
Right hand side 
DescriptionToggle terminal
Left hand side<C-J>
Right hand side:ToggleTerm size=30 direction=horizontal<CR>
DescriptionDebugger: Pause
Left hand side<F6>
Right hand side 
DescriptionDebugger: Toggle Breakpoint
Left hand side<F9>
Right hand side 
DescriptionToggle word wrap
Left hand side<M-z>
Right hand side:set wrap!<CR>
DescriptionDebugger: Step Over
Left hand side<F10>
Right hand side 
DescriptionDebugger: Step Into
Left hand side<F11>
Right hand side 
DescriptionDebugger: Step Out
Left hand side<F23>
Right hand side 
DescriptionFind files
Left hand side<C-F>
Right hand side 
DescriptionOpen Mason installer
Left hand side<C-M>
Right hand side:Mason<CR>
DescriptionScroll up
Left hand side<C-U>
Right hand side<C-U>zz
DescriptionExit
Left hand side<C-Q>
Right hand side:qa!<CR>
DescriptionFind words
Left hand side<C-K>
Right hand side 
DescriptionGit Conflict: Previous Conflict
Left hand side<Plug>(git-conflict-prev-conflict)
Right hand side<Cmd>GitConflictPrevConflict<CR>
DescriptionGit Conflict: Next Conflict
Left hand side<Plug>(git-conflict-next-conflict)
Right hand side<Cmd>GitConflictNextConflict<CR>
DescriptionGit Conflict: Choose Theirs
Left hand side<Plug>(git-conflict-theirs)
Right hand side<Cmd>GitConflictChooseTheirs<CR>
DescriptionGit Conflict: Choose None
Left hand side<Plug>(git-conflict-none)
Right hand side<Cmd>GitConflictChooseNone<CR>
DescriptionGit Conflict: Choose Both
Left hand side<Plug>(git-conflict-both)
Right hand side<Cmd>GitConflictChooseBoth<CR>
DescriptionGit Conflict: Choose Ours
Left hand side<Plug>(git-conflict-ours)
Right hand side<Cmd>GitConflictChooseOurs<CR>
Description 
Left hand side<Plug>fugitive:
Right hand side
Description 
Left hand side<Plug>fugitive:y<C-G>
Right hand side:<C-U>call setreg(v:register, fugitive#Object(@%))<CR>
DescriptionMove to right split
Left hand side<C-L>
Right hand side 

Visual mode keymaps

DescriptionIndent line
Left hand side<Tab>
Right hand side>gv
DescriptionPaste without replacing the buffer
Left hand side p
Right hand side"0p
DescriptionToggle comment for selection
Left hand side /
Right hand side<Esc><Cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<CR>
DescriptionSave image
Left hand side s
Right hand side:'<lt>,'>Silicon<CR>
DescriptionEvaluate Input
Left hand side dE
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>
DescriptionComment toggle linewise
Left hand sidegc
Right hand side 
DescriptionComment toggle blockwise
Left hand sidegb
Right hand side 
DescriptionReplace
Left hand side<C-R>
Right hand side"hy:%s/<C-R>h//gc<Left><Left><Left>
DescriptionUnindent line
Left hand side<S-Tab>
Right hand side<lt>gv

Operator mode keymaps