Post

Xiao Neovim Configuration Information

Personal Neovim configuration of XiaoZhang

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

Git repository

https://github.com/onichandame/nvim-config

Lazy managed plugins

Xiao Keymaps

Normal mode keymaps

Description 
Left hand side w
Right hand side<Cmd>lua vim.lsp.buf.format{timeout_ms=10000, filter = function(client) return client.name ~= "tsserver" end }<CR><Cmd>:w<CR>
Description 
Left hand side q
Right hand side<Cmd>lua vim.diagnostic.setloclist()<CR>
Description 
Left hand side e
Right hand side<Cmd>lua vim.diagnostic.open_float()<CR>
Description 
Left hand side%
Right hand side<Plug>(MatchitNormalForward)
DescriptionNvim builtin
Left hand side&
Right hand side:&&<CR>
Description 
Left hand side,cc
Right hand side"+yy
Description 
Left hand side,c
Right hand side"+y
Description 
Left hand side,fe
Right hand side:Telescope file_browser path=%:p:h select_buffer=true<CR>
Description 
Left hand side,fh
Right hand side 
Description 
Left hand side,fb
Right hand side 
Description 
Left hand side,fg
Right hand side 
Description 
Left hand side,ff
Right hand side 
Description 
Left hand side,t
Right hand side:ToggleTerm<CR>
Description 
Left hand side,wq
Right hand side:wq<CR>
Description 
Left hand side,q
Right hand side:q<CR>
Description 
Left hand side,w
Right hand side:w<CR>
DescriptionNvim builtin
Left hand sideY
Right hand sidey$
Description 
Left hand side[g
Right hand side<Cmd>lua vim.diagnostic.goto_prev()<CR>
Description 
Left hand side[%
Right hand side<Plug>(MatchitNormalMultiBackward)
Description 
Left hand side]g
Right hand side<Cmd>lua vim.diagnostic.goto_next()<CR>
Description 
Left hand side]%
Right hand side<Plug>(MatchitNormalMultiForward)
Description 
Left hand sidegx
Right hand side<Plug>NetrwBrowseX
Description 
Left hand sideg%
Right hand side<Plug>(MatchitNormalBackward)
Description 
Left hand side<F2>
Right hand side:NvimTreeFindFileToggle<CR>
Description 
Left hand side<Plug>NetrwBrowseX
Right hand side:call netrw#BrowseX(netrw#GX(),netrw#CheckIfRemote(netrw#GX()))<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<Plug>PlenaryTestFile
Right hand side:lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR>
Description 
Left hand side<Plug>(vsnip-cut-text)
Right hand side:set operatorfunc=<SNR>10_vsnip_cut_text_normal<CR>g@
Description 
Left hand side<Plug>(vsnip-select-text)
Right hand side:set operatorfunc=<SNR>10_vsnip_select_text_normal<CR>g@
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,c
Right hand side"+y
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)
Description 
Left hand sidegx
Right hand side<Plug>NetrwBrowseXVis
Description 
Left hand sideg%
Right hand side<Plug>(MatchitVisualBackward)
Description 
Left hand side<Plug>NetrwBrowseXVis
Right hand side:<C-U>call netrw#BrowseXVis()<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<Plug>(vsnip-cut-text)
Right hand side:<C-U>call <SNR>20_vsnip_visual_text(visualmode())<CR>gv"_c
Description 
Left hand side<Plug>(vsnip-select-text)
Right hand side:<C-U>call <SNR>20_vsnip_visual_text(visualmode())<CR>gv

Operator mode keymaps

Description 
Left hand side%
Right hand side<Plug>(MatchitOperationForward)
Description 
Left hand side[%
Right hand side<Plug>(MatchitOperationMultiBackward)
Description 
Left hand side]%
Right hand side<Plug>(MatchitOperationMultiForward)
Description 
Left hand sideg%
Right hand side<Plug>(MatchitOperationBackward)
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>