Takuya Matsuyama’s Neovim configuration
- Install and initialize:
lazyman -w Craftzdog
- Configuration category: Personal
- Base configuration: Custom
- Plugin manager: Lazy
- Installation location:
~/.config/nvim-Craftzdog
Git repository
https://github.com/craftzdog/dotfiles-public
Dotfyle entry
https://dotfyle.com/craftzdog/dotfiles-public-config-nvim
Lazy managed plugins
Craftzdog Keymaps
Normal mode keymaps
Description | |
---|
Left hand side | <Tab> |
Right hand side | <Cmd>BufferLineCycleNext<CR> |
Description | |
---|
Left hand side | |
Right hand side | <C-W>w |
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 | <C-A> |
Description | |
---|
Left hand side | - |
Right hand side | <C-X> |
Description | |
---|
Left hand side | ;e |
Right hand side | |
Description | |
---|
Left hand side | ;; |
Right hand side | |
Description | |
---|
Left hand side | ;t |
Right hand side | |
Description | |
---|
Left hand side | ;r |
Right hand side | |
Description | |
---|
Left hand side | ;f |
Right hand side | |
Description | |
---|
Left hand side | K |
Right hand side | <Cmd>Lspsaga hover_doc<CR> |
Description | Nvim builtin |
---|
Left hand side | Y |
Right hand side | y$ |
Description | |
---|
Left hand side | [% |
Right hand side | <Plug>(MatchitNormalMultiBackward) |
Description | |
---|
Left hand side | \\ |
Right hand side | |
Description | |
---|
Left hand side | \gR |
Right hand side | <Cmd>lua require('git.revert').open(true)<CR> |
Description | |
---|
Left hand side | \gr |
Right hand side | <Cmd>lua require('git.revert').open(false)<CR> |
Description | |
---|
Left hand side | \gD |
Right hand side | <Cmd>lua require('git.diff').close()<CR> |
Description | |
---|
Left hand side | \gd |
Right hand side | <Cmd>lua require('git.diff').open()<CR> |
Description | |
---|
Left hand side | \gn |
Right hand side | <Cmd>lua require('git.browse').create_pull_request()<CR> |
Description | |
---|
Left hand side | \gp |
Right hand side | <Cmd>lua require('git.browse').pull_request()<CR> |
Description | |
---|
Left hand side | \go |
Right hand side | <Cmd>lua require('git.browse').open(false)<CR> |
Description | |
---|
Left hand side | \gb |
Right hand side | <Cmd>lua require('git.blame').blame()<CR> |
Description | |
---|
Left hand side | \ca |
Right hand side | <Cmd>Lspsaga code_action<CR> |
Description | |
---|
Left hand side | ]% |
Right hand side | <Plug>(MatchitNormalMultiForward) |
Description | |
---|
Left hand side | dw |
Right hand side | vb"_d |
Description | Comment insert end of line |
---|
Left hand side | gcA |
Right hand side | |
Description | Comment insert above |
---|
Left hand side | gcO |
Right hand side | |
Description | Comment insert below |
---|
Left hand side | gco |
Right hand side | |
Description | Comment toggle current block |
---|
Left hand side | gbc |
Right hand side | |
Description | Comment toggle current line |
---|
Left hand side | gcc |
Right hand side | |
Description | Comment toggle blockwise |
---|
Left hand side | gb |
Right hand side | <Plug>(comment_toggle_blockwise) |
Description | Comment toggle linewise |
---|
Left hand side | gc |
Right hand side | <Plug>(comment_toggle_linewise) |
Description | |
---|
Left hand side | gr |
Right hand side | <Cmd>Lspsaga rename<CR> |
Description | |
---|
Left hand side | gp |
Right hand side | <Cmd>Lspsaga peek_definition<CR> |
Description | |
---|
Left hand side | gt |
Right hand side | <Cmd>Lspsaga goto_type_definition<CR> |
Description | |
---|
Left hand side | gd |
Right hand side | <Cmd>Lspsaga finder<CR> |
Description | |
---|
Left hand side | gl |
Right hand side | <Cmd>Lspsaga show_line_diagnostics<CR> |
Description | |
---|
Left hand side | gx |
Right hand side | <Plug>NetrwBrowseX |
Description | |
---|
Left hand side | g% |
Right hand side | <Plug>(MatchitNormalBackward) |
Description | |
---|
Left hand side | sf |
Right hand side | |
Description | |
---|
Left hand side | sl |
Right hand side | <C-W>l |
Description | |
---|
Left hand side | sj |
Right hand side | <C-W>j |
Description | |
---|
Left hand side | sk |
Right hand side | <C-W>k |
Description | |
---|
Left hand side | sh |
Right hand side | <C-W>h |
Description | |
---|
Left hand side | sv |
Right hand side | :vsplit<CR><C-W>w |
Description | |
---|
Left hand side | ss |
Right hand side | :split<CR><C-W>w |
Description | |
---|
Left hand side | te |
Right hand side | :tabedit |
Description | |
---|
Left hand side | x |
Right hand side | "_x |
Description | |
---|
Left hand side | <C-W>o |
Right hand side | <Cmd>ZenMode<CR> |
Description | |
---|
Left hand side | <S-Tab> |
Right hand side | <Cmd>BufferLineCyclePrev<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>luasnip-expand-repeat |
Right hand side | |
Description | |
---|
Left hand side | <Plug>luasnip-delete-check |
Right hand side | |
Description | Comment toggle blockwise with count |
---|
Left hand side | <Plug>(comment_toggle_blockwise_count) |
Right hand side | |
Description | Comment toggle linewise with count |
---|
Left hand side | <Plug>(comment_toggle_linewise_count) |
Right hand side | |
Description | Comment toggle current block |
---|
Left hand side | <Plug>(comment_toggle_blockwise_current) |
Right hand side | |
Description | Comment toggle current line |
---|
Left hand side | <Plug>(comment_toggle_linewise_current) |
Right hand side | |
Description | Comment toggle blockwise |
---|
Left hand side | <Plug>(comment_toggle_blockwise) |
Right hand side | |
Description | Comment toggle linewise |
---|
Left hand side | <Plug>(comment_toggle_linewise) |
Right hand side | |
Description | |
---|
Left hand side | <C-J> |
Right hand side | <Cmd>Lspsaga diagnostic_jump_next<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 | <C-W><Down> |
Right hand side | <C-W>- |
Description | |
---|
Left hand side | <C-W><Up> |
Right hand side | <C-W>+ |
Description | |
---|
Left hand side | <C-W><Right> |
Right hand side | <C-W>> |
Description | |
---|
Left hand side | <C-W><Left> |
Right hand side | <C-W><lt> |
Description | |
---|
Left hand side | <C-A> |
Right hand side | ggVG |
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 | [% |
Right hand side | <Plug>(MatchitVisualMultiBackward) |
Description | |
---|
Left hand side | \go |
Right hand side | :<C-U> lua require('git.browse').open(true)<CR> |
Description | |
---|
Left hand side | \ca |
Right hand side | <Cmd>Lspsaga code_action<CR> |
Description | |
---|
Left hand side | ]% |
Right hand side | <Plug>(MatchitVisualMultiForward) |
Description | |
---|
Left hand side | a% |
Right hand side | <Plug>(MatchitVisualTextObject) |
Description | Comment toggle blockwise (visual) |
---|
Left hand side | gb |
Right hand side | <Plug>(comment_toggle_blockwise_visual) |
Description | Comment toggle linewise (visual) |
---|
Left hand side | gc |
Right hand side | <Plug>(comment_toggle_linewise_visual) |
Description | |
---|
Left hand side | gx |
Right hand side | <Plug>NetrwBrowseXVis |
Description | |
---|
Left hand side | g% |
Right hand side | <Plug>(MatchitVisualBackward) |
Description | |
---|
Left hand side | sl |
Right hand side | <C-W>l |
Description | |
---|
Left hand side | sj |
Right hand side | <C-W>j |
Description | |
---|
Left hand side | sk |
Right hand side | <C-W>k |
Description | |
---|
Left hand side | sh |
Right hand side | <C-W>h |
Description | |
---|
Left hand side | <Plug>luasnip-expand-repeat |
Right hand side | |
Description | Comment 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> |
Description | Comment 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 | <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`` |
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 side | g% |
Right hand side | <Plug>(MatchitOperationBackward) |
Description | |
---|
Left hand side | sl |
Right hand side | <C-W>l |
Description | |
---|
Left hand side | sj |
Right hand side | <C-W>j |
Description | |
---|
Left hand side | sk |
Right hand side | <C-W>k |
Description | |
---|
Left hand side | sh |
Right hand side | <C-W>h |
Description | |
---|
Left hand side | <Plug>luasnip-expand-repeat |
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> |