Post

Adib Neovim Configuration Information

Personal Neovim configuration of Adib Hanna. Tips, distros, and configuration demo video

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

Git repository

https://github.com/adibhanna/nvim

Neovimcraft entry

http://neovimcraft.com/plugin/adibhanna/nvim

YouTube channel

https://www.youtube.com/@adibhanna

Lazy managed plugins

Adib Keymaps

Normal mode keymaps

Description 
Left hand side<CR>
Right hand sideciw
DescriptionToggle Output Panel
Left hand side tO
Right hand side 
DescriptionShow Output
Left hand side to
Right hand side 
DescriptionToggle Summary
Left hand side ts
Right hand side 
DescriptionRun Nearest
Left hand side tr
Right hand side 
DescriptionRun All Test Files
Left hand side tT
Right hand side 
DescriptionRun File
Left hand side tt
Right hand side 
DescriptionStop
Left hand side tS
Right hand side 
DescriptionFloat File Explorer
Left hand side e
Right hand side 
DescriptionLeft File Explorer
Left hand side <Tab>
Right hand side 
Description 
Left hand side%
Right hand side<Plug>(MatchitNormalForward)
DescriptionNvim builtin
Left hand side&
Right hand side:&&<CR>
Description 
Left hand side+
Right hand side:vertical resize +5<CR>
Description 
Left hand side-
Right hand side:resize -5<CR>
Description 
Left hand side;
Right hand side<Cmd>Telescope resume<CR>
Description 
Left hand side=
Right hand side:resize +5<CR>
DescriptionF
Left hand sideF
Right hand side 
Description 
Left hand sideH
Right hand side^
Description 
Left hand sideL
Right hand side$
DescriptionLeap backward to
Left hand sideS
Right hand side 
DescriptionT
Left hand sideT
Right hand side 
Description 
Left hand sideX
Right hand side:keeppatterns substitute/\s*\%#\s*/\r/e | normal! ==^<CR>
Description 
Left hand sideYY
Right hand sideva{Vy
DescriptionNvim builtin
Left hand sideY
Right hand sidey$
Description 
Left hand side[%
Right hand side<Plug>(MatchitNormalMultiBackward)
DescriptionPrev Reference
Left hand side[[
Right hand side 
Description 
Left hand side\q
Right hand side:q!<CR>
Description 
Left hand side\w
Right hand side:write!<CR>
Description 
Left hand side]%
Right hand side<Plug>(MatchitNormalMultiForward)
DescriptionNext Reference
Left hand side]]
Right hand side 
Description 
Left hand side_
Right hand side:vertical resize -5<CR>
Descriptionf
Left hand sidef
Right hand side 
Description 
Left hand sideg%
Right hand side<Plug>(MatchitNormalBackward)
DescriptionLeap from windows
Left hand sidegs
Right hand side 
DescriptionGlance definitions
Left hand sidegD
Right hand side 
DescriptionGlance implementations
Left hand sidegM
Right hand side 
DescriptionGlance type_definitions
Left hand sidegY
Right hand side 
DescriptionGlance references
Left hand sidegR
Right hand side 
DescriptionJoin the object under cursor
Left hand sidegJ
Right hand side 
DescriptionSplit the object under cursor
Left hand sidegS
Right hand side 
Description 
Left hand sidej
Right hand sidegj
Description 
Left hand sidek
Right hand sidegk
DescriptionLeap forward to
Left hand sides
Right hand side 
Descriptiont
Left hand sidet
Right hand side 
Description 
Left hand sidezb
Right hand side<Cmd>lua require('neoscroll').zb(250)<CR>
Description 
Left hand sidezt
Right hand side<Cmd>lua require('neoscroll').zt(250)<CR>
Description 
Left hand sidezz
Right hand side<Cmd>lua require('neoscroll').zz(250)<CR>
Description 
Left hand side<Plug>(MatchitNormalMultiForward)
Right hand side:<C-U>call matchit#MultiMatch("W", "n")<CR>
Description 
Left hand side<Plug>(MatchitNormalMultiBackward)
Right hand side:<C-U>call matchit#MultiMatch("bW", "n")<CR>
Description 
Left hand side<Plug>(MatchitNormalBackward)
Right hand side:<C-U>call matchit#Match_wrapper('',0,'n')<CR>
Description 
Left hand side<Plug>(MatchitNormalForward)
Right hand side:<C-U>call matchit#Match_wrapper('',1,'n')<CR>
Description 
Left hand side<C-F>
Right hand side<Cmd>lua require('neoscroll').scroll(vim.api.nvim_win_get_height(0), true, 450)<CR>
Description 
Left hand side<C-B>
Right hand side<Cmd>lua require('neoscroll').scroll(-vim.api.nvim_win_get_height(0), true, 450)<CR>
Description 
Left hand side<C-Y>
Right hand side<Cmd>lua require('neoscroll').scroll(-0.10, false, 100)<CR>
Description 
Left hand side<C-E>
Right hand side<Cmd>lua require('neoscroll').scroll(0.10, false, 100)<CR>
DescriptionMove to previous reference
Left hand side<M-p>
Right hand side 
DescriptionMove to next reference
Left hand side<M-n>
Right hand side 
Description 
Left hand side<Plug>PlenaryTestFile
Right hand side:lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR>
DescriptionToggle Terminal
Left hand side<C-T>
Right hand side<Cmd>execute v:count . "ToggleTerm"<CR>
Description 
Left hand side<C-S>
Right hand side:Telescope current_buffer_fuzzy_find<CR>
Description 
Left hand side<BS>
Right hand sideci
Description 
Left hand side<Left>
Right hand side:bprevious<CR>
Description 
Left hand side<Right>
Right hand side:bnext<CR>
Description 
Left hand side<C-U>
Right hand side<Cmd>lua require('neoscroll').scroll(-vim.wo.scroll, true, 250)<CR>
Description 
Left hand side<C-D>
Right hand side<Cmd>lua require('neoscroll').scroll(vim.wo.scroll, true, 250)<CR>
DescriptionNvim builtin
Left hand side<C-L>
Right hand side<Cmd>nohlsearch|diffupdate|normal! <C-L><CR>

Visual mode keymaps

DescriptionNvim builtin
Left hand side#
Right hand sidey?\V<C-R>"<CR>
Description 
Left hand side%
Right hand side<Plug>(MatchitVisualForward)
DescriptionNvim builtin
Left hand side*
Right hand sidey/\V<C-R>"<CR>
Description 
Left hand side<lt>
Right hand side<lt>gv
Description 
Left hand side>
Right hand side>gv
DescriptionF
Left hand sideF
Right hand side 
Description 
Left hand sideH
Right hand side^
Description 
Left hand sideJ
Right hand side:m '>+1<CR>gv=gv
Description 
Left hand sideK
Right hand side:m '<lt>-2<CR>gv=gv
Description 
Left hand sideL
Right hand side$
Description 
Left hand sideP
Right hand side"_dP
DescriptionLeap backward to
Left hand sideS
Right hand side 
DescriptionT
Left hand sideT
Right hand side 
Description 
Left hand side[%
Right hand side<Plug>(MatchitVisualMultiBackward)
Description 
Left hand side]%
Right hand side<Plug>(MatchitVisualMultiForward)
Description 
Left hand sidea%
Right hand side<Plug>(MatchitVisualTextObject)
Descriptionf
Left hand sidef
Right hand side 
Description 
Left hand sideg%
Right hand side<Plug>(MatchitVisualBackward)
DescriptionLeap from windows
Left hand sidegs
Right hand side 
Description 
Left hand sidep
Right hand side"_dp
DescriptionLeap forward to
Left hand sides
Right hand side 
Descriptiont
Left hand sidet
Right hand side 
Description 
Left hand sidezt
Right hand side<Cmd>lua require('neoscroll').zt(250)<CR>
Description 
Left hand sidezz
Right hand side<Cmd>lua require('neoscroll').zz(250)<CR>
Description 
Left hand sidezb
Right hand side<Cmd>lua require('neoscroll').zb(250)<CR>
Description 
Left hand side<Plug>(MatchitVisualTextObject)
Right hand side<Plug>(MatchitVisualMultiBackward)o<Plug>(MatchitVisualMultiForward)
Description 
Left hand side<Plug>(MatchitVisualMultiForward)
Right hand side:<C-U>call matchit#MultiMatch("W", "n")<CR>m'gv``
Description 
Left hand side<Plug>(MatchitVisualMultiBackward)
Right hand side:<C-U>call matchit#MultiMatch("bW", "n")<CR>m'gv``
Description 
Left hand side<Plug>(MatchitVisualBackward)
Right hand side:<C-U>call matchit#Match_wrapper('',0,'v')<CR>m'gv``
Description 
Left hand side<Plug>(MatchitVisualForward)
Right hand side:<C-U>call matchit#Match_wrapper('',1,'v')<CR>:if col("''") != col("$") | exe ":normal! m'" | endif<CR>gv``
Description 
Left hand side<M-i>
Right hand side 
Description 
Left hand side<C-U>
Right hand side<Cmd>lua require('neoscroll').scroll(-vim.wo.scroll, true, 250)<CR>
Description 
Left hand side<C-Y>
Right hand side<Cmd>lua require('neoscroll').scroll(-0.10, false, 100)<CR>
Description 
Left hand side<C-D>
Right hand side<Cmd>lua require('neoscroll').scroll(vim.wo.scroll, true, 250)<CR>
Description 
Left hand side<C-B>
Right hand side<Cmd>lua require('neoscroll').scroll(-vim.api.nvim_win_get_height(0), true, 450)<CR>
Description 
Left hand side<C-F>
Right hand side<Cmd>lua require('neoscroll').scroll(vim.api.nvim_win_get_height(0), true, 450)<CR>
Description 
Left hand side<C-E>
Right hand side<Cmd>lua require('neoscroll').scroll(0.10, false, 100)<CR>

Operator mode keymaps

Description 
Left hand side%
Right hand side<Plug>(MatchitOperationForward)
DescriptionF
Left hand sideF
Right hand side 
Description 
Left hand sideH
Right hand side^
Description 
Left hand sideL
Right hand side$
DescriptionLeap backward to
Left hand sideS
Right hand side 
DescriptionT
Left hand sideT
Right hand side 
Description 
Left hand side[%
Right hand side<Plug>(MatchitOperationMultiBackward)
Description 
Left hand side]%
Right hand side<Plug>(MatchitOperationMultiForward)
Descriptionf
Left hand sidef
Right hand side 
Description 
Left hand sideg%
Right hand side<Plug>(MatchitOperationBackward)
DescriptionLeap from windows
Left hand sidegs
Right hand side 
DescriptionLeap forward to
Left hand sides
Right hand side 
Descriptiont
Left hand sidet
Right hand side 
Description 
Left hand side<Plug>(MatchitOperationMultiForward)
Right hand side:<C-U>call matchit#MultiMatch("W", "o")<CR>
Description 
Left hand side<Plug>(MatchitOperationMultiBackward)
Right hand side:<C-U>call matchit#MultiMatch("bW", "o")<CR>
Description 
Left hand side<Plug>(MatchitOperationBackward)
Right hand side:<C-U>call matchit#Match_wrapper('',0,'o')<CR>
Description 
Left hand side<Plug>(MatchitOperationForward)
Right hand side:<C-U>call matchit#Match_wrapper('',1,'o')<CR>
Description 
Left hand side<M-i>
Right hand side