Skip to content

Latest commit

 

History

History
1130 lines (908 loc) · 35 KB

Orhun.md

File metadata and controls

1130 lines (908 loc) · 35 KB

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

Jump to Keymaps
Normal mode keymaps Visual mode keymaps Operator mode keymaps

Lazy managed plugins

Orhun Keymaps

Normal mode keymaps

Description No highlight
Left hand side <Esc>
Right hand side :nohl<CR>
Description Preview Git hunk
Left hand side gp
Right hand side
Description Toggle tabline
Left hand side ut
Right hand side
Description Reset Git hunk
Left hand side gh
Right hand side
Description Reset Git buffer
Left hand side gr
Right hand side
Description Toggle foldcolumn
Left hand side uh
Right hand side
Description Stage Git hunk
Left hand side gs
Right hand side
Description Toggle wrap
Left hand side uw
Right hand side
Description Stage Git buffer
Left hand side gS
Right hand side
Description Unstage Git hunk
Left hand side gu
Right hand side
Description Git commits (repository)
Left hand side gc
Right hand side
Description View Git diff
Left hand side gd
Right hand side
Description Toggle Explorer
Left hand side e
Right hand side <Cmd>Neotree toggle<CR>
Description Find man
Left hand side fm
Right hand side
Description Find files
Left hand side ff
Right hand side
Description Toggle Explorer Focus
Left hand side o
Right hand side
Description Find all files
Left hand side fF
Right hand side
Description Load last session
Left hand side Sl
Right hand side <Cmd>SessionManager! load_last_session<CR>
Description Find help
Left hand side fh
Right hand side
Description Save this session
Left hand side Ss
Right hand side <Cmd>SessionManager! save_current_session<CR>
Description Delete session
Left hand side Sd
Right hand side <Cmd>SessionManager! delete_session<CR>
Description Find notifications
Left hand side fn
Right hand side
Description Search sessions
Left hand side Sf
Right hand side <Cmd>SessionManager! load_session<CR>
Description Find history
Left hand side fo
Right hand side
Description Load current directory session
Left hand side S.
Right hand side <Cmd>SessionManager! load_current_dir_session<CR>
Description Find commands
Left hand side fC
Right hand side
Description Find themes
Left hand side ft
Right hand side
Description Find registers
Left hand side fr
Right hand side
Description Find words
Left hand side fw
Right hand side
Description Find word under cursor
Left hand side fc
Right hand side
Description Find words in all files
Left hand side fW
Right hand side
Description Git commits (current file)
Left hand side gC
Right hand side
Description Search symbols
Left hand side ls
Right hand side
Description Mason Installer
Left hand side pm
Right hand side <Cmd>Mason<CR>
Description Open Git
Left hand side gg
Right hand side :Git<CR>
Description Mason Update
Left hand side pM
Right hand side <Cmd>MasonUpdateAll<CR>
Description ToggleTerm lazygit
Left hand side tl
Right hand side
Description ToggleTerm node
Left hand side tn
Right hand side
Description ToggleTerm gdu
Left hand side tu
Right hand side
Description ToggleTerm btm
Left hand side tt
Right hand side
Description ToggleTerm python
Left hand side tp
Right hand side
Description ToggleTerm float
Left hand side tf
Right hand side <Cmd>ToggleTerm direction=float<CR>
Description Find buffers
Left hand side fb
Right hand side
Description Git branches
Left hand side gb
Right hand side
Description ToggleTerm horizontal split
Left hand side th
Right hand side <Cmd>ToggleTerm size=10 direction=horizontal<CR>
Description Find AstroNvim config files
Left hand side fa
Right hand side
Description ToggleTerm vertical split
Left hand side tv
Right hand side <Cmd>ToggleTerm size=80 direction=vertical<CR>
Description Find words in current buffer
Left hand side f/
Right hand side
Description Find keymaps
Left hand side fk
Right hand side
Description Find marks
Left hand side f'
Right hand side
Description Git status
Left hand side gt
Right hand side
Description Resume previous search
Left hand side f<CR>
Right hand side
Description Symbols outline
Left hand side lS
Right hand side
Description Open terminal with tab
Left hand side ;
Right hand side :2ToggleTerm size=30 direction=horizontal<CR>
Description Pick to close
Left hand side bD
Right hand side
Description New tab
Left hand side bn
Right hand side <Cmd>tabnew<CR>
Description Toggle Breakpoint (F9)
Left hand side db
Right hand side
Description Clear Breakpoints
Left hand side dB
Right hand side
Description Find media files
Left hand side fM
Right hand side :Telescope media_files<CR>
Description Start/Continue (F5)
Left hand side dc
Right hand side
Description Save image
Left hand side fs
Right hand side :Silicon<CR>
Description Conditional Breakpoint (S-F9)
Left hand side dC
Right hand side
Description Game of life
Left hand side uG
Right hand side :CellularAutomaton game_of_life<CR>
Description Step Into (F11)
Left hand side di
Right hand side
Description Make it rain
Left hand side uR
Right hand side :CellularAutomaton make_it_rain<CR>
Description Step Over (F10)
Left hand side do
Right hand side
Description Step Out (S-F11)
Left hand side dO
Right hand side
Description Toggle Zen mode
Left hand side z
Right hand side :ZenMode<CR>
Description Close Session
Left hand side dq
Right hand side
Description Terminate Session (S-F5)
Left hand side dQ
Right hand side
Description Pause (F6)
Left hand side dp
Right hand side
Description Restart (C-F5)
Left hand side dr
Right hand side
Description Reload AstroNvim
Left hand side r
Right hand side :AstroReload<CR>
Description Toggle REPL
Left hand side dR
Right hand side
Description Run To Cursor
Left hand side ds
Right hand side
Description Evaluate Input
Left hand side dE
Right hand side
Description Toggle syntax highlighting (buffer)
Left hand side uy
Right hand side
Description Toggle Debugger UI
Left hand side du
Right hand side
Description Debugger Hover
Left hand side dh
Right hand side
Description Toggle undo history
Left hand side U
Right hand side :UndotreeToggle<CR>
Description Toggle autopairs
Left hand side ua
Right hand side
Description Toggle background
Left hand side ub
Right hand side
Description Toggle autocompletion
Left hand side uc
Right hand side
Description Show markdown preview
Left hand side m
Right hand side :MarkdownPreview<CR>
Description Toggle color highlight
Left hand side uC
Right hand side <Cmd>ColorizerToggle<CR>
Description Toggle diagnostics
Left hand side ud
Right hand side
Description Toggle signcolumn
Left hand side ug
Right hand side
Description Save
Left hand side w
Right hand side <Cmd>w<CR>
Description Change indent setting
Left hand side ui
Right hand side
Description Quit
Left hand side q
Right hand side <Cmd>confirm q<CR>
Description Toggle statusline
Left hand side ul
Right hand side
Description New File
Left hand side n
Right hand side <Cmd>enew<CR>
Description Toggle CodeLens
Left hand side uL
Right hand side
Description Load the last session
Left hand side s
Right hand side :SessionManager! load_current_dir_session<CR>
Description Change line numbering
Left hand side un
Right hand side
Description Toggle Notifications
Left hand side uN
Right hand side
Description Toggle paste mode
Left hand side up
Right hand side
Description Toggle spellcheck
Left hand side us
Right hand side
Description Plugins Install
Left hand side pi
Right hand side
Description Toggle conceal
Left hand side uS
Right hand side
Description Plugins Status
Left hand side ps
Right hand side
Description Plugins Sync
Left hand side pS
Right hand side
Description Plugins Check Updates
Left hand side pu
Right hand side
Description Toggle URL highlight
Left hand side uu
Right hand side
Description Plugins Update
Left hand side pU
Right hand side
Description Update Plugins and Mason Packages
Left hand side pa
Right hand side <Cmd>AstroUpdatePackages<CR>
Description AstroNvim Update
Left hand side pA
Right hand side <Cmd>AstroUpdate<CR>
Description AstroNvim Version
Left hand side pv
Right hand side <Cmd>AstroVersion<CR>
Description AstroNvim Changelog
Left hand side pl
Right hand side <Cmd>AstroChangelog<CR>
Description Close buffer
Left hand side c
Right hand side
Description Force close buffer
Left hand side C
Right hand side
Description Close all buffers except current
Left hand side bc
Right hand side
Description Close all buffers
Left hand side bC
Right hand side
Description Close all buffers to the left
Left hand side bl
Right hand side
Description Previous buffer
Left hand side bp
Right hand side
Description Close all buffers to the right
Left hand side br
Right hand side
Description By extension
Left hand side bse
Right hand side
Description By relative path
Left hand side bsr
Right hand side
Description By full path
Left hand side bsp
Right hand side
Description By buffer number
Left hand side bsi
Right hand side
Description By modification
Left hand side bsm
Right hand side
Description Select buffer from tabline
Left hand side bb
Right hand side
Description Close buffer from tabline
Left hand side bd
Right hand side
Description Horizontal split buffer from tabline
Left hand side b</code>
Right hand side
Description Vertical split buffer from tabline
Left hand side b|
Right hand side
Description Home Screen
Left hand side h
Right hand side
Description Toggle comment line
Left hand side /
Right hand side
Description View Git blame
Left hand side gl
Right hand side
Description View full Git blame
Left hand side gL
Right hand side
Description Nvim builtin
Left hand side &
Right hand side :&&<CR>
Description Move buffer tab left
Left hand side <lt>b
Right hand side
Description Move buffer tab right
Left hand side >b
Right hand side
Description Previous buffer
Left hand side H
Right hand side
Description Next buffer
Left hand side L
Right hand side
Description Nvim builtin
Left hand side Y
Right hand side y$
Description Previous Git conflict
Left hand side [x
Right hand side :GitConflictPrevConflict<CR>
Description Previous tab
Left hand side [t
Right hand side
Description Previous buffer
Left hand side [b
Right hand side
Description Previous Git hunk
Left hand side [g
Right hand side
Description Horizontal Split
Left hand side </code>
Right hand side <Cmd>split<CR>
Description Next Git hunk
Left hand side ]g
Right hand side
Description Next Git conflict
Left hand side ]x
Right hand side :GitConflictNextConflict<CR>
Description Next tab
Left hand side ]t
Right hand side
Description Next buffer
Left hand side ]b
Right hand side
Description
Left hand side cb
Right hand side :GitConflictChooseBoth<CR>
Description
Left hand side ct
Right hand side :GitConflictChooseTheirs<CR>
Description
Left hand side co
Right hand side :GitConflictChooseOurs<CR>
Description List Git conflicts
Left hand side cx
Right hand side :GitConflictListQf<CR>
Description
Left hand side c0
Right hand side :GitConflictChooseNone<CR>
Description Open the file under cursor with system app
Left hand side gx
Right hand side
Description Comment toggle linewise
Left hand side gc
Right hand side
Description Comment toggle blockwise
Left hand side gb
Right hand side
Description Move cursor down
Left hand side j
Right hand side v:count == 0 ? 'gj' : 'j'
Description Move cursor up
Left hand side k
Right hand side v:count == 0 ? 'gk' : 'k'
Description
Left hand side y<C-G>
Right hand side :<C-U>call setreg(v:register, fugitive#Object(@%))<CR>
Description Open all folds
Left hand side zR
Right hand side
Description Close all folds
Left hand side zM
Right hand side
Description Fold less
Left hand side zr
Right hand side
Description Fold more
Left hand side zm
Right hand side
Description Peek fold
Left hand side zp
Right hand side
Description Vertical Split
Left hand side |
Right hand side <Cmd>vsplit<CR>
Description Scroll down
Left hand side <C-D>
Right hand side <C-D>zz
Description Save file
Left hand side <C-S>
Right hand side :w!<CR>
Description Toggle terminal
Left hand side <F7>
Right hand side <Cmd>ToggleTerm<CR>
Description Resize split down
Left hand side <C-Down>
Right hand side
Description Move to left split
Left hand side <C-H>
Right hand side
Description Resize split up
Left hand side <C-Up>
Right hand side
Description Resize split left
Left hand side <C-Left>
Right hand side
Description Resize split right
Left hand side <C-Right>
Right hand side
Description Toggle terminal
Left hand side <C-'>
Right hand side <Cmd>ToggleTerm<CR>
Description Debugger: Start
Left hand side <F5>
Right hand side
Description Debugger: Stop
Left hand side <F17>
Right hand side
Description Debugger: Conditional Breakpoint
Left hand side <F21>
Right hand side
Description Debugger: Restart
Left hand side <F29>
Right hand side
Description Toggle terminal
Left hand side <C-J>
Right hand side :ToggleTerm size=30 direction=horizontal<CR>
Description Debugger: Pause
Left hand side <F6>
Right hand side
Description Debugger: Toggle Breakpoint
Left hand side <F9>
Right hand side
Description Toggle word wrap
Left hand side <M-z>
Right hand side :set wrap!<CR>
Description Debugger: Step Over
Left hand side <F10>
Right hand side
Description Debugger: Step Into
Left hand side <F11>
Right hand side
Description Debugger: Step Out
Left hand side <F23>
Right hand side
Description Find files
Left hand side <C-F>
Right hand side
Description Open Mason installer
Left hand side <C-M>
Right hand side :Mason<CR>
Description Scroll up
Left hand side <C-U>
Right hand side <C-U>zz
Description Exit
Left hand side <C-Q>
Right hand side :qa!<CR>
Description Find words
Left hand side <C-K>
Right hand side
Description Git Conflict: Previous Conflict
Left hand side <Plug>(git-conflict-prev-conflict)
Right hand side <Cmd>GitConflictPrevConflict<CR>
Description Git Conflict: Next Conflict
Left hand side <Plug>(git-conflict-next-conflict)
Right hand side <Cmd>GitConflictNextConflict<CR>
Description Git Conflict: Choose Theirs
Left hand side <Plug>(git-conflict-theirs)
Right hand side <Cmd>GitConflictChooseTheirs<CR>
Description Git Conflict: Choose None
Left hand side <Plug>(git-conflict-none)
Right hand side <Cmd>GitConflictChooseNone<CR>
Description Git Conflict: Choose Both
Left hand side <Plug>(git-conflict-both)
Right hand side <Cmd>GitConflictChooseBoth<CR>
Description Git 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>
Description Move to right split
Left hand side <C-L>
Right hand side

Visual mode keymaps

Description Indent line
Left hand side <Tab>
Right hand side >gv
Description Paste without replacing the buffer
Left hand side p
Right hand side "0p
Description Toggle comment for selection
Left hand side /
Right hand side <Esc><Cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<CR>
Description Save image
Left hand side s
Right hand side :'<lt>,'>Silicon<CR>
Description Evaluate Input
Left hand side dE
Right hand side
Description Nvim builtin
Left hand side #
Right hand side y?\V<C-R>"<CR>
Description Nvim builtin
Left hand side *
Right hand side y/\V<C-R>"<CR>
Description Comment toggle linewise
Left hand side gc
Right hand side
Description Comment toggle blockwise
Left hand side gb
Right hand side
Description Replace
Left hand side <C-R>
Right hand side "hy:%s/<C-R>h//gc<Left><Left><Left>
Description Unindent line
Left hand side <S-Tab>
Right hand side <lt>gv

Operator mode keymaps