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 side | ciw |
Description | Toggle Output Panel |
---|
Left hand side | tO |
Right hand side | |
Description | Show Output |
---|
Left hand side | to |
Right hand side | |
Description | Toggle Summary |
---|
Left hand side | ts |
Right hand side | |
Description | Run Nearest |
---|
Left hand side | tr |
Right hand side | |
Description | Run All Test Files |
---|
Left hand side | tT |
Right hand side | |
Description | Run File |
---|
Left hand side | tt |
Right hand side | |
Description | Stop |
---|
Left hand side | tS |
Right hand side | |
Description | Float File Explorer |
---|
Left hand side | e |
Right hand side | |
Description | Left File Explorer |
---|
Left hand side | <Tab> |
Right hand side | |
Description | |
---|
Left hand side | % |
Right hand side | <Plug>(MatchitNormalForward) |
Description | Nvim 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> |
Description | F |
---|
Left hand side | F |
Right hand side | |
Description | |
---|
Left hand side | H |
Right hand side | ^ |
Description | |
---|
Left hand side | L |
Right hand side | $ |
Description | Leap backward to |
---|
Left hand side | S |
Right hand side | |
Description | T |
---|
Left hand side | T |
Right hand side | |
Description | |
---|
Left hand side | X |
Right hand side | :keeppatterns substitute/\s*\%#\s*/\r/e | normal! ==^<CR> |
Description | |
---|
Left hand side | YY |
Right hand side | va{Vy |
Description | Nvim builtin |
---|
Left hand side | Y |
Right hand side | y$ |
Description | |
---|
Left hand side | [% |
Right hand side | <Plug>(MatchitNormalMultiBackward) |
Description | Prev 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) |
Description | Next Reference |
---|
Left hand side | ]] |
Right hand side | |
Description | |
---|
Left hand side | _ |
Right hand side | :vertical resize -5<CR> |
Description | f |
---|
Left hand side | f |
Right hand side | |
Description | |
---|
Left hand side | g% |
Right hand side | <Plug>(MatchitNormalBackward) |
Description | Leap from windows |
---|
Left hand side | gs |
Right hand side | |
Description | Glance definitions |
---|
Left hand side | gD |
Right hand side | |
Description | Glance implementations |
---|
Left hand side | gM |
Right hand side | |
Description | Glance type_definitions |
---|
Left hand side | gY |
Right hand side | |
Description | Glance references |
---|
Left hand side | gR |
Right hand side | |
Description | Join the object under cursor |
---|
Left hand side | gJ |
Right hand side | |
Description | Split the object under cursor |
---|
Left hand side | gS |
Right hand side | |
Description | |
---|
Left hand side | j |
Right hand side | gj |
Description | |
---|
Left hand side | k |
Right hand side | gk |
Description | Leap forward to |
---|
Left hand side | s |
Right hand side | |
Description | t |
---|
Left hand side | t |
Right hand side | |
Description | |
---|
Left hand side | zb |
Right hand side | <Cmd>lua require('neoscroll').zb(250)<CR> |
Description | |
---|
Left hand side | zt |
Right hand side | <Cmd>lua require('neoscroll').zt(250)<CR> |
Description | |
---|
Left hand side | zz |
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> |
Description | Move to previous reference |
---|
Left hand side | <M-p> |
Right hand side | |
Description | Move 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> |
Description | Toggle 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 side | ci |
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> |
Description | Nvim builtin |
---|
Left hand side | <C-L> |
Right hand side | <Cmd>nohlsearch|diffupdate|normal! <C-L><CR> |
Visual mode keymaps
Description | Nvim builtin |
---|
Left hand side | # |
Right hand side | y?\V<C-R>"<CR> |
Description | |
---|
Left hand side | % |
Right hand side | <Plug>(MatchitVisualForward) |
Description | Nvim builtin |
---|
Left hand side | * |
Right hand side | y/\V<C-R>"<CR> |
Description | |
---|
Left hand side | <lt> |
Right hand side | <lt>gv |
Description | |
---|
Left hand side | > |
Right hand side | >gv |
Description | F |
---|
Left hand side | F |
Right hand side | |
Description | |
---|
Left hand side | H |
Right hand side | ^ |
Description | |
---|
Left hand side | J |
Right hand side | :m '>+1<CR>gv=gv |
Description | |
---|
Left hand side | K |
Right hand side | :m '<lt>-2<CR>gv=gv |
Description | |
---|
Left hand side | L |
Right hand side | $ |
Description | |
---|
Left hand side | P |
Right hand side | "_dP |
Description | Leap backward to |
---|
Left hand side | S |
Right hand side | |
Description | T |
---|
Left hand side | T |
Right hand side | |
Description | |
---|
Left hand side | [% |
Right hand side | <Plug>(MatchitVisualMultiBackward) |
Description | |
---|
Left hand side | ]% |
Right hand side | <Plug>(MatchitVisualMultiForward) |
Description | |
---|
Left hand side | a% |
Right hand side | <Plug>(MatchitVisualTextObject) |
Description | f |
---|
Left hand side | f |
Right hand side | |
Description | |
---|
Left hand side | g% |
Right hand side | <Plug>(MatchitVisualBackward) |
Description | Leap from windows |
---|
Left hand side | gs |
Right hand side | |
Description | |
---|
Left hand side | p |
Right hand side | "_dp |
Description | Leap forward to |
---|
Left hand side | s |
Right hand side | |
Description | t |
---|
Left hand side | t |
Right hand side | |
Description | |
---|
Left hand side | zt |
Right hand side | <Cmd>lua require('neoscroll').zt(250)<CR> |
Description | |
---|
Left hand side | zz |
Right hand side | <Cmd>lua require('neoscroll').zz(250)<CR> |
Description | |
---|
Left hand side | zb |
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) |
Description | F |
---|
Left hand side | F |
Right hand side | |
Description | |
---|
Left hand side | H |
Right hand side | ^ |
Description | |
---|
Left hand side | L |
Right hand side | $ |
Description | Leap backward to |
---|
Left hand side | S |
Right hand side | |
Description | T |
---|
Left hand side | T |
Right hand side | |
Description | |
---|
Left hand side | [% |
Right hand side | <Plug>(MatchitOperationMultiBackward) |
Description | |
---|
Left hand side | ]% |
Right hand side | <Plug>(MatchitOperationMultiForward) |
Description | f |
---|
Left hand side | f |
Right hand side | |
Description | |
---|
Left hand side | g% |
Right hand side | <Plug>(MatchitOperationBackward) |
Description | Leap from windows |
---|
Left hand side | gs |
Right hand side | |
Description | Leap forward to |
---|
Left hand side | s |
Right hand side | |
Description | t |
---|
Left hand side | t |
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 | |