Post

Artur Neovim Configuration Information

Personal Neovim config of Artur Gomes

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

Git repository

https://github.com/arturgoms/nvim

Dotfyle entry

https://dotfyle.com/arturgoms/nvim

Lazy managed plugins

Artur Keymaps

Normal mode keymaps

Description 
Left hand side<Tab>
Right hand side<Cmd>lua require('telescope.builtin').find_files(require('telescope.themes').get_dropdown{previewer = false})<CR>
Description 
Left hand side<Esc><Esc>
Right hand side<Cmd>nohlsearch<CR>
Description 
Left hand side gy
Right hand side<Cmd>lua require'gitlinker'.get_buf_range_url('n')<CR>
Description 
Left hand side we
Right hand side<C-W>=
Description 
Left hand side wh
Right hand side<C-W>s
Description 
Left hand side wv
Right hand side:close<CR>
Description 
Left hand side -
Right hand side<C-X>
Description 
Left hand side +
Right hand side<C-A>
Description 
Left hand side d
Right hand side"_d
Description 
Left hand side Y
Right hand side"+Y
Description 
Left hand side y
Right hand side"+y
Description 
Left hand side%
Right hand side<Plug>(matchup-%)
DescriptionNvim builtin
Left hand side&
Right hand side:&&<CR>
Description 
Left hand side'[
Right hand side:<C-U>call signature#mark#Goto("prev", "line", "alpha")<CR>
Description 
Left hand side']
Right hand side:<C-U>call signature#mark#Goto("next", "line", "alpha")<CR>
Description 
Left hand side,
Right hand side<Cmd>lua require('harpoon.ui').nav_prev()<CR>
Description 
Left hand side.
Right hand side<Cmd>lua require('harpoon.ui').nav_next()<CR>
Description 
Left hand sideK
Right hand side:lua require('user.functions').show_documentation()<CR>
Description 
Left hand sideL
Right hand side 
Description 
Left hand sideM0
Right hand side 
Description 
Left hand sideM9
Right hand side 
Description 
Left hand sideM8
Right hand side 
Description 
Left hand sideM7
Right hand side 
Description 
Left hand sideM6
Right hand side 
Description 
Left hand sideM5
Right hand side 
Description 
Left hand sideM4
Right hand side 
Description 
Left hand sideM3
Right hand side 
Description 
Left hand sideM2
Right hand side 
Description 
Left hand sideM1
Right hand side 
Description 
Left hand sideU
Right hand side 
DescriptionNvim builtin
Left hand sideY
Right hand sidey$
Description 
Left hand side[%
Right hand side<Plug>(matchup-[%)
Description 
Left hand side[=
Right hand side:<C-U>call signature#marker#Goto("prev", "any", v:count)<CR>
Description 
Left hand side[-
Right hand side:<C-U>call signature#marker#Goto("prev", "same", v:count)<CR>
Description 
Left hand side[`
Right hand side:<C-U>call signature#mark#Goto("prev", "spot", "pos")<CR>
Description 
Left hand side['
Right hand side:<C-U>call signature#mark#Goto("prev", "line", "pos")<CR>
Description 
Left hand side]%
Right hand side<Plug>(matchup-]%)
Description 
Left hand side]=
Right hand side:<C-U>call signature#marker#Goto("next", "any", v:count)<CR>
Description 
Left hand side]-
Right hand side:<C-U>call signature#marker#Goto("next", "same", v:count)<CR>
Description 
Left hand side]`
Right hand side:<C-U>call signature#mark#Goto("next", "spot", "pos")<CR>
Description 
Left hand side]'
Right hand side:<C-U>call signature#mark#Goto("next", "line", "pos")<CR>
Description 
Left hand side`[
Right hand side:<C-U>call signature#mark#Goto("prev", "spot", "alpha")<CR>
Description 
Left hand side`]
Right hand side:<C-U>call signature#mark#Goto("next", "spot", "alpha")<CR>
DescriptionChange a surrounding pair, putting replacements on new lines
Left hand sidecS
Right hand side<Plug>(nvim-surround-change-line)
DescriptionChange a surrounding pair
Left hand sidecs
Right hand side<Plug>(nvim-surround-change)
DescriptionDelete a surrounding pair
Left hand sideds
Right hand side<Plug>(nvim-surround-delete)
Description 
Left hand sidedm
Right hand side:<C-U>call signature#utils#Remove(v:count)<CR>
Description 
Left hand sidegx
Right hand side<Plug>NetrwBrowseX
Description 
Left hand sideg%
Right hand side<Plug>(matchup-g%)
DescriptionComment insert end of line
Left hand sidegcA
Right hand side 
DescriptionComment insert above
Left hand sidegcO
Right hand side 
DescriptionComment insert below
Left hand sidegco
Right hand side 
DescriptionComment toggle current block
Left hand sidegbc
Right hand side 
DescriptionComment toggle current line
Left hand sidegcc
Right hand side 
DescriptionComment toggle blockwise
Left hand sidegb
Right hand side<Plug>(comment_toggle_blockwise)
DescriptionComment toggle linewise
Left hand sidegc
Right hand side<Plug>(comment_toggle_linewise)
Description 
Left hand sidemg
Right hand side<Plug>BookmarkMoveToLine
Description 
Left hand sidemjj
Right hand side<Plug>BookmarkMoveDown
Description 
Left hand sidemkk
Right hand side<Plug>BookmarkMoveUp
Description 
Left hand sidemx
Right hand side<Plug>BookmarkClearAll
Description 
Left hand sidemc
Right hand side<Plug>BookmarkClear
Description 
Left hand sidemp
Right hand side<Plug>BookmarkPrev
Description 
Left hand sidemn
Right hand side<Plug>BookmarkNext
Description 
Left hand sidemi
Right hand side<Plug>BookmarkAnnotate
Description 
Left hand sidemm
Right hand side<Plug>BookmarkToggle
Description 
Left hand sidema
Right hand side<Plug>BookmarkShowAll
Description 
Left hand sidem?
Right hand side:<C-U>call signature#marker#List(v:count, 0)<CR>
Description 
Left hand sidem/
Right hand side:<C-U>call signature#mark#List(0, 0)<CR>
Description 
Left hand sidem<BS>
Right hand side:<C-U>call signature#marker#Purge()<CR>
Description 
Left hand sidem
Right hand side:<C-U>call signature#mark#Purge("all")<CR>
Description 
Left hand sidem-
Right hand side:<C-U>call signature#mark#Purge("line")<CR>
Description 
Left hand sidem.
Right hand side:<C-U>call signature#mark#ToggleAtLine()<CR>
Description 
Left hand sidem,
Right hand side:<C-U>call signature#mark#Toggle("next")<CR>
Description 
Left hand sidem
Right hand side:<C-U>call signature#utils#Input()<CR>
DescriptionAdd a surrounding pair around the current line, on new lines (normal mode)
Left hand sideySS
Right hand side<Plug>(nvim-surround-normal-cur-line)
DescriptionAdd a surrounding pair around a motion, on new lines (normal mode)
Left hand sideyS
Right hand side<Plug>(nvim-surround-normal-line)
DescriptionAdd a surrounding pair around the current line (normal mode)
Left hand sideyss
Right hand side<Plug>(nvim-surround-normal-cur)
DescriptionAdd a surrounding pair around a motion (normal mode)
Left hand sideys
Right hand side<Plug>(nvim-surround-normal)
Description 
Left hand sidez%
Right hand side<Plug>(matchup-z%)
Description 
Left hand sidezt
Right hand side<Cmd>lua require('neoscroll').zt(250)<CR>
Description 
Left hand sidezb
Right hand side<Cmd>lua require('neoscroll').zb(250)<CR>
Description 
Left hand sidezz
Right hand side<Cmd>lua require('neoscroll').zz(250)<CR>
Description 
Left hand side<Plug>NetrwBrowseX
Right hand side:call netrw#BrowseX(netrw#GX(),netrw#CheckIfRemote(netrw#GX()))<CR>
Description 
Left hand side<M-h>
Right hand side<Cmd>lua require'tmux'.resize_left()<CR>
Description 
Left hand side<M-j>
Right hand side<Cmd>lua require'tmux'.resize_bottom()<CR>
Description 
Left hand side<M-l>
Right hand side<Cmd>lua require'tmux'.resize_right()<CR>
Description 
Left hand side<M-k>
Right hand side<Cmd>lua require'tmux'.resize_top()<CR>
Description 
Left hand side<Plug>BookmarkMoveToLine
Right hand side:<C-U>BookmarkMoveToLine v:count<CR>
Description 
Left hand side<Plug>BookmarkMoveDown
Right hand side:<C-U>BookmarkMoveDown v:count<CR>
Description 
Left hand side<Plug>BookmarkMoveUp
Right hand side:<C-U>BookmarkMoveUp v:count<CR>
Description 
Left hand side<Plug>BookmarkClearAll
Right hand side:BookmarkClearAll<CR>
Description 
Left hand side<Plug>BookmarkClear
Right hand side:BookmarkClear<CR>
Description 
Left hand side<Plug>BookmarkPrev
Right hand side:BookmarkPrev<CR>
Description 
Left hand side<Plug>BookmarkNext
Right hand side:BookmarkNext<CR>
Description 
Left hand side<Plug>BookmarkAnnotate
Right hand side:BookmarkAnnotate<CR>
Description 
Left hand side<Plug>BookmarkToggle
Right hand side:BookmarkToggle<CR>
Description 
Left hand side<Plug>BookmarkShowAll
Right hand side:BookmarkShowAll<CR>
Description 
Left hand side<2-LeftMouse>
Right hand side<Plug>(matchup-double-click)
Description 
Left hand side<Plug>(matchup-reload)
Right hand side:<C-U>MatchupReload<CR>
Description 
Left hand side<Plug>(matchup-double-click)
Right hand side:<C-U>call matchup#text_obj#double_click()<CR>
Description 
Left hand side<Plug>(matchup-Z%)
Right hand side:<C-U>call matchup#motion#jump_inside_prev(0)<CR>
Description 
Left hand side<Plug>(matchup-z%)
Right hand side:<C-U>call matchup#motion#jump_inside(0)<CR>
Description 
Left hand side<Plug>(matchup-[%)
Right hand side:<C-U>call matchup#motion#find_unmatched(0, 0)<CR>
Description 
Left hand side<Plug>(matchup-]%)
Right hand side:<C-U>call matchup#motion#find_unmatched(0, 1)<CR>
Description 
Left hand side<Plug>(matchup-g%)
Right hand side:<C-U>call matchup#motion#find_matching_pair(0, 0)<CR>
Description 
Left hand side<Plug>(matchup-%)
Right hand side:<C-U>call matchup#motion#find_matching_pair(0, 1)<CR>
Description 
Left hand side<SNR>29_(wise)
Right hand sideempty(g:v_motion_force) ? 'v' : g:v_motion_force
Description 
Left hand side<Plug>(matchup-hi-surround)
Right hand side:<C-U>call matchup#matchparen#highlight_surrounding()<CR>
DescriptionComment toggle blockwise with count
Left hand side<Plug>(comment_toggle_blockwise_count)
Right hand side 
DescriptionComment toggle linewise with count
Left hand side<Plug>(comment_toggle_linewise_count)
Right hand side 
DescriptionComment toggle current block
Left hand side<Plug>(comment_toggle_blockwise_current)
Right hand side 
DescriptionComment toggle current line
Left hand side<Plug>(comment_toggle_linewise_current)
Right hand side 
DescriptionComment toggle blockwise
Left hand side<Plug>(comment_toggle_blockwise)
Right hand side 
DescriptionComment toggle linewise
Left hand side<Plug>(comment_toggle_linewise)
Right hand side 
DescriptionChange a surrounding pair, putting replacements on new lines
Left hand side<Plug>(nvim-surround-change-line)
Right hand side 
DescriptionChange a surrounding pair
Left hand side<Plug>(nvim-surround-change)
Right hand side 
DescriptionDelete a surrounding pair
Left hand side<Plug>(nvim-surround-delete)
Right hand side 
DescriptionAdd a surrounding pair around the current line, on new lines (normal mode)
Left hand side<Plug>(nvim-surround-normal-cur-line)
Right hand side 
DescriptionAdd a surrounding pair around a motion, on new lines (normal mode)
Left hand side<Plug>(nvim-surround-normal-line)
Right hand side 
DescriptionAdd a surrounding pair around the current line (normal mode)
Left hand side<Plug>(nvim-surround-normal-cur)
Right hand side 
DescriptionAdd a surrounding pair around a motion (normal mode)
Left hand side<Plug>(nvim-surround-normal)
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-E>
Right hand side<Cmd>lua require('neoscroll').scroll(0.10, false, 100)<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-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-D>
Right hand side<Cmd>lua require('neoscroll').scroll(vim.wo.scroll, true, 250)<CR>
Description 
Left hand side<Plug>PlenaryTestFile
Right hand side:lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR>
Description 
Left hand side<M-3>
Right hand side<Cmd>lua _HORIZONTAL_TERM()<CR>
Description 
Left hand side<M-2>
Right hand side<Cmd>lua _VERTICAL_TERM()<CR>
Description 
Left hand side<M-1>
Right hand side<Cmd>lua _FLOAT_TERM()<CR>
DescriptionToggle Terminal
Left hand side<C-Bslash>
Right hand side<Cmd>execute v:count . "ToggleTerm"<CR>
Description 
Left hand side<Plug>luasnip-expand-repeat
Right hand side 
Description 
Left hand side<Plug>luasnip-delete-check
Right hand side 
Description 
Left hand side<F3>
Right hand side:MaximizerToggle<CR>
Description 
Left hand side<C-N>
Right hand side:e ~/Notes/<CR>
Description 
Left hand side<C-Z>
Right hand side<Cmd>ZenMode<CR>
Description 
Left hand side<C-S>
Right hand side<Cmd>vsplit<CR>
Description 
Left hand side<C-T>
Right hand side<Cmd>lua vim.lsp.buf.document_symbol()<CR>
Description 
Left hand side<C-P>
Right hand side<Cmd>Telescope projects<CR>
Description 
Left hand side<C-Right>
Right hand side:vertical resize +2<CR>
Description 
Left hand side<C-Left>
Right hand side:vertical resize -2<CR>
Description 
Left hand side<C-Down>
Right hand side:resize +2<CR>
Description 
Left hand side<C-Up>
Right hand side:resize -2<CR>
Description 
Left hand side<S-Down>
Right hand side:m+<CR>
Description 
Left hand side<S-Up>
Right hand side:m-2<CR>
Description 
Left hand side<C-Space>
Right hand side<Cmd>WhichKey \ <CR>
Description 
Left hand side<C-K>
Right hand side<Cmd>lua require'tmux'.move_top()<CR>
Description 
Left hand side<C-J>
Right hand side<Cmd>lua require'tmux'.move_bottom()<CR>
Description 
Left hand side<C-H>
Right hand side<Cmd>lua require'tmux'.move_left()<CR>
Description 
Left hand side<C-L>
Right hand side<Cmd>lua require'tmux'.move_right()<CR>

Visual mode keymaps

Description 
Left hand side gy
Right hand side<Cmd>lua require'gitlinker'.get_buf_range_url('v')<CR>
Description 
Left hand side d
Right hand side"_d
Description 
Left hand side y
Right hand side"+y
Description 
Left hand side p
Right hand side"_dP
DescriptionNvim builtin
Left hand side#
Right hand sidey?\V<C-R>"<CR>
Description 
Left hand side%
Right hand side<Plug>(matchup-%)
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
DescriptionAdd a surrounding pair around a visual selection
Left hand sideS
Right hand side<Plug>(nvim-surround-visual)
Description 
Left hand side[%
Right hand side<Plug>(matchup-[%)
Description 
Left hand side]%
Right hand side<Plug>(matchup-]%)
Description 
Left hand sidea%
Right hand side<Plug>(matchup-a%)
Description 
Left hand sidegx
Right hand side<Plug>NetrwBrowseXVis
DescriptionAdd a surrounding pair around a visual selection, on new lines
Left hand sidegS
Right hand side<Plug>(nvim-surround-visual-line)
DescriptionComment toggle blockwise (visual)
Left hand sidegb
Right hand side<Plug>(comment_toggle_blockwise_visual)
DescriptionComment toggle linewise (visual)
Left hand sidegc
Right hand side<Plug>(comment_toggle_linewise_visual)
Description 
Left hand sideg%
Right hand side<Plug>(matchup-g%)
Description 
Left hand sidei%
Right hand side<Plug>(matchup-i%)
Description 
Left hand sidep
Right hand side"_dP
Description 
Left hand sidezt
Right hand side<Cmd>lua require('neoscroll').zt(250)<CR>
Description 
Left hand sidezb
Right hand side<Cmd>lua require('neoscroll').zb(250)<CR>
Description 
Left hand sidezz
Right hand side<Cmd>lua require('neoscroll').zz(250)<CR>
Description 
Left hand sidez%
Right hand side<Plug>(matchup-z%)
Description 
Left hand side<Plug>NetrwBrowseXVis
Right hand side:<C-U>call netrw#BrowseXVis()<CR>
DescriptionAdd a surrounding pair around a visual selection, on new lines
Left hand side<Plug>(nvim-surround-visual-line)
Right hand side<Esc><Cmd>lua require'nvim-surround'.visual_surround({ line_mode = true })<CR>
DescriptionAdd a surrounding pair around a visual selection
Left hand side<Plug>(nvim-surround-visual)
Right hand side<Esc><Cmd>lua require'nvim-surround'.visual_surround({ line_mode = false })<CR>
DescriptionComment toggle blockwise (visual)
Left hand side<Plug>(comment_toggle_blockwise_visual)
Right hand side<Esc><Cmd>lua require("Comment.api").locked("toggle.blockwise")(vim.fn.visualmode())<CR>
DescriptionComment toggle linewise (visual)
Left hand side<Plug>(comment_toggle_linewise_visual)
Right hand side<Esc><Cmd>lua require("Comment.api").locked("toggle.linewise")(vim.fn.visualmode())<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-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 
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-U>
Right hand side<Cmd>lua require('neoscroll').scroll(-vim.wo.scroll, true, 250)<CR>
Description 
Left hand side<F3>
Right hand side:MaximizerToggle<CR>gv
Description 
Left hand side<Plug>(matchup-a%)
Right hand side:<C-U>call matchup#text_obj#delimited(0, 1, 'delim_all')<CR>
Description 
Left hand side<Plug>(matchup-i%)
Right hand side:<C-U>call matchup#text_obj#delimited(1, 1, 'delim_all')<CR>
Description 
Left hand side<Plug>(matchup-Z%)
Right hand side<SNR>28_(matchup-Z%)
Description 
Left hand side<SNR>28_(matchup-Z%)
Right hand side:<C-U>call matchup#motion#jump_inside_prev(1)<CR>
Description 
Left hand side<Plug>(matchup-z%)
Right hand side<SNR>28_(matchup-z%)
Description 
Left hand side<SNR>28_(matchup-z%)
Right hand side:<C-U>call matchup#motion#jump_inside(1)<CR>
Description 
Left hand side<Plug>(matchup-[%)
Right hand side<SNR>28_(matchup-[%)
Description 
Left hand side<Plug>(matchup-]%)
Right hand side<SNR>28_(matchup-]%)
Description 
Left hand side<SNR>28_(matchup-[%)
Right hand side:<C-U>call matchup#motion#find_unmatched(1, 0)<CR>
Description 
Left hand side<SNR>28_(matchup-]%)
Right hand side:<C-U>call matchup#motion#find_unmatched(1, 1)<CR>
Description 
Left hand side<Plug>(matchup-g%)
Right hand side<SNR>28_(matchup-g%)
Description 
Left hand side<SNR>28_(matchup-g%)
Right hand side:<C-U>call matchup#motion#find_matching_pair(1, 0)<CR>
Description 
Left hand side<Plug>(matchup-%)
Right hand side<SNR>28_(matchup-%)
Description 
Left hand side<SNR>28_(matchup-%)
Right hand side:<C-U>call matchup#motion#find_matching_pair(1, 1)<CR>
Description 
Left hand side<Plug>luasnip-expand-repeat
Right hand side 
Description 
Left hand side<M-k>
Right hand side:m .-2<CR>==
Description 
Left hand side<M-j>
Right hand side:m .+1<CR>==

Operator mode keymaps

Description 
Left hand side%
Right hand side<Ignore><Plug>(matchup-%)
Description 
Left hand side[%
Right hand side<Plug>(matchup-[%)
Description 
Left hand side]%
Right hand side<Plug>(matchup-]%)
Description 
Left hand sidea%
Right hand side<Plug>(matchup-a%)
Description 
Left hand sideg%
Right hand side<Ignore><Plug>(matchup-g%)
Description 
Left hand sidei%
Right hand side<Plug>(matchup-i%)
Description 
Left hand sidez%
Right hand side<Plug>(matchup-z%)
Description 
Left hand side<Plug>luasnip-expand-repeat
Right hand side 
Description 
Left hand side<Plug>(matchup-a%)
Right hand side:<C-U>call matchup#text_obj#delimited(0, 0, 'delim_all')<CR>
Description 
Left hand side<Plug>(matchup-i%)
Right hand side:<C-U>call matchup#text_obj#delimited(1, 0, 'delim_all')<CR>
Description 
Left hand side<Plug>(matchup-Z%)
Right hand side:<C-U>call matchup#motion#op('Z%')<CR>
Description 
Left hand side<Plug>(matchup-z%)
Right hand side:<C-U>call matchup#motion#op('z%')<CR>
Description 
Left hand side<Plug>(matchup-[%)
Right hand side:<C-U>call matchup#motion#op('[%')<CR>
Description 
Left hand side<Plug>(matchup-]%)
Right hand side:<C-U>call matchup#motion#op(']%')<CR>
Description 
Left hand side<Plug>(matchup-g%)
Right hand side:<C-U>call matchup#motion#op('g%')<CR>
Description 
Left hand side<Plug>(matchup-%)
Right hand side:<C-U>call matchup#motion#op('%')<CR>