Just a random Neovim config found on Github, works well
- Install and initialize:
lazyman -w Roiz
- Configuration category: Personal
- Base configuration: Custom
- Plugin manager: Lazy
- Installation location:
~/.config/nvim-Roiz
Git repository
https://github.com/MrRoiz/rnvim
Lazy managed plugins
Roiz Keymaps
Normal mode keymaps
Description | Move line right |
---|
Left hand side | <Tab> |
Right hand side | <Cmd>lua MiniMove.move_line('right')<CR> |
Description | Close diffview |
---|
Left hand side | dcc |
Right hand side | :DiffviewClose<CR> |
Description | Open diffview |
---|
Left hand side | dv |
Right hand side | :DiffviewOpen<CR> |
Description | Show current file history |
---|
Left hand side | dch |
Right hand side | :DiffviewFileHistory %<CR> |
Description | Show Commit history with changes |
---|
Left hand side | dh |
Right hand side | :DiffviewFileHistory<CR> |
Description | List PR’s |
---|
Left hand side | opl |
Right hand side | :Octo pr list initial_mode=normal<CR> |
Description | Submit PR review |
---|
Left hand side | orss |
Right hand side | :Octo review submit<CR> |
Description | Start PR review |
---|
Left hand side | ors |
Right hand side | :Octo review start<CR> |
Description | Close current review |
---|
Left hand side | orc |
Right hand side | :Octo review close<CR> |
Description | Resume PR review |
---|
Left hand side | orr |
Right hand side | :Octo review resume<CR> |
Description | Reload current PR |
---|
Left hand side | opr |
Right hand side | :Octo pr reload<CR> |
Description | Search current word with Spectre |
---|
Left hand side | sw |
Right hand side | :lua require('spectre').open_visual({select_word=true})<CR> |
Description | Open Spectre |
---|
Left hand side | ss |
Right hand side | :lua require('spectre').open()<CR> |
Description | Search on current file with Spectre |
---|
Left hand side | sf |
Right hand side | :lua require('spectre').open_file_search({select_word=true})<CR> |
Description | Open Telescope Keymaps |
---|
Left hand side | k |
Right hand side | :Telescope keymaps<CR> |
Description | Show git branches |
---|
Left hand side | gb |
Right hand side | :Telescope git_branches initial_mode=normal<CR> |
Description | Show git log |
---|
Left hand side | glo |
Right hand side | :Telescope git_commits initial_mode=normal<CR> |
Description | Open Telescope live_grep |
---|
Left hand side | fg |
Right hand side | :Telescope live_grep<CR> |
Description | Open Telescope |
---|
Left hand side | ff |
Right hand side | :Telescope find_files<CR> |
Description | Show git status |
---|
Left hand side | gst |
Right hand side | :Telescope git_status initial_mode=normal<CR> |
Description | Test keymap |
---|
Left hand side | test |
Right hand side | :echo 'This is a test keymap!'<CR> |
Description | Select all |
---|
Left hand side | a |
Right hand side | ggvG<S-End> |
Description | Where am I |
---|
Left hand side | wai |
Right hand side | :echo expand('%:p')<CR> |
Description | Open a floating term |
---|
Left hand side | tt |
Right hand side | :ToggleTerm direction=float<CR> |
Description | |
---|
Left hand side | % |
Right hand side | <Plug>(MatchitNormalForward) |
Description | Nvim builtin |
---|
Left hand side | & |
Right hand side | :&&<CR> |
Description | go to the beggining of the line |
---|
Left hand side | B |
Right hand side | ^ |
Description | go to the end of the line |
---|
Left hand side | E |
Right hand side | $ |
Description | Nvim builtin |
---|
Left hand side | Y |
Right hand side | y$ |
Description | |
---|
Left hand side | [% |
Right hand side | <Plug>(MatchitNormalMultiBackward) |
Description | |
---|
Left hand side | \\gS |
Right hand side | <Plug>(VM-Reselect-Last) |
Description | |
---|
Left hand side | \\/ |
Right hand side | <Plug>(VM-Start-Regex-Search) |
Description | |
---|
Left hand side | \\\ |
Right hand side | <Plug>(VM-Add-Cursor-At-Pos) |
Description | |
---|
Left hand side | \\A |
Right hand side | <Plug>(VM-Select-All) |
Description | |
---|
Left hand side | ]% |
Right hand side | <Plug>(MatchitNormalMultiForward) |
Description | Clear search highlight |
---|
Left hand side | _ |
Right hand side | :noh<CR> |
Description | |
---|
Left hand side | gx |
Right hand side | <Plug>NetrwBrowseX |
Description | |
---|
Left hand side | g% |
Right hand side | <Plug>(MatchitNormalBackward) |
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 | Close preview windows |
---|
Left hand side | gP |
Right hand side | |
Description | Preview references |
---|
Left hand side | gpr |
Right hand side | |
Description | Preview implementation |
---|
Left hand side | gpi |
Right hand side | |
Description | Preview type definition |
---|
Left hand side | gpt |
Right hand side | |
Description | Preview definition |
---|
Left hand side | gpd |
Right hand side | |
Description | Open all folds |
---|
Left hand side | zR |
Right hand side | |
Description | Close all folds |
---|
Left hand side | zM |
Right hand side | |
Description | Move up faster |
---|
Left hand side | <C-K> |
Right hand side | 10k |
Description | Quit Nvim |
---|
Left hand side | <C-Q> |
Right hand side | :q<CR> |
Description | Move down faster |
---|
Left hand side | <C-J> |
Right hand side | 10j |
Description | Format file |
---|
Left hand side | <M-F> |
Right hand side | :lua vim.lsp.buf.format({ timeout_ms = 5000 })<CR> |
Description | Close current buffer |
---|
Left hand side | <M-w> |
Right hand side | :bd<CR> |
Description | Move to the previous buffer |
---|
Left hand side | <M-h> |
Right hand side | :BufferLineCyclePrev<CR> |
Description | Move to the next buffer |
---|
Left hand side | <M-l> |
Right hand side | :BufferLineCycleNext<CR> |
Description | Save current file |
---|
Left hand side | <C-S> |
Right hand side | :w<CR> |
Description | Update buffer |
---|
Left hand side | <F5> |
Right hand side | :bufdo e!<CR> |
Description | Open Nvimtree |
---|
Left hand side | <C-B> |
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 | 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 | Move line up |
---|
Left hand side | <M-k> |
Right hand side | <Cmd>lua MiniMove.move_line('up')<CR> |
Description | Move line down |
---|
Left hand side | <M-j> |
Right hand side | <Cmd>lua MiniMove.move_line('down')<CR> |
Description | Move line left |
---|
Left hand side | <S-Tab> |
Right hand side | <Cmd>lua MiniMove.move_line('left')<CR> |
Description | |
---|
Left hand side | <C-Down> |
Right hand side | <Plug>(VM-Add-Cursor-Down) |
Description | |
---|
Left hand side | <C-Up> |
Right hand side | <Plug>(VM-Add-Cursor-Up) |
Description | |
---|
Left hand side | <S-Right> |
Right hand side | <Plug>(VM-Select-l) |
Description | |
---|
Left hand side | <S-Left> |
Right hand side | <Plug>(VM-Select-h) |
Description | |
---|
Left hand side | <C-N> |
Right hand side | <Plug>(VM-Find-Under) |
Description | |
---|
Left hand side | <Plug>(VM-Select-BBW) |
Right hand side | :<C-U>call vm#commands#motion('BBW', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-gE) |
Right hand side | :<C-U>call vm#commands#motion('gE', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-ge) |
Right hand side | :<C-U>call vm#commands#motion('ge', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-E) |
Right hand side | :<C-U>call vm#commands#motion('E', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-e) |
Right hand side | :<C-U>call vm#commands#motion('e', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-B) |
Right hand side | :<C-U>call vm#commands#motion('B', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-b) |
Right hand side | :<C-U>call vm#commands#motion('b', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-W) |
Right hand side | :<C-U>call vm#commands#motion('W', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-w) |
Right hand side | :<C-U>call vm#commands#motion('w', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-l) |
Right hand side | :<C-U>call vm#commands#motion('l', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-k) |
Right hand side | :<C-U>call vm#commands#motion('k', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-j) |
Right hand side | :<C-U>call vm#commands#motion('j', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-h) |
Right hand side | :<C-U>call vm#commands#motion('h', v:count1, 1, 0)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Mouse-Column) |
Right hand side | :call vm#commands#mouse_column()<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Mouse-Word) |
Right hand side | <Plug>(VM-Left-Mouse)<Plug>(VM-Find-Under) |
Description | |
---|
Left hand side | <Plug>(VM-Mouse-Cursor) |
Right hand side | <Plug>(VM-Left-Mouse)<Plug>(VM-Add-Cursor-At-Pos) |
Description | |
---|
Left hand side | <Plug>(VM-Left-Mouse) |
Right hand side | <LeftMouse> |
Description | |
---|
Left hand side | <Plug>(VM-Slash-Search) |
Right hand side | @=vm#commands#find_by_regex(3)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Start-Regex-Search) |
Right hand side | @=vm#commands#find_by_regex(1)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Find-Under) |
Right hand side | :<C-U>call vm#commands#ctrln(v:count1)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-All) |
Right hand side | :call vm#commands#find_all(0, 1)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Reselect-Last) |
Right hand side | :call vm#commands#reselect_last()<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-Cursor-Up) |
Right hand side | :<C-U>call vm#commands#add_cursor_up(1, v:count1)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Select-Cursor-Down) |
Right hand side | :<C-U>call vm#commands#add_cursor_down(1, v:count1)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Add-Cursor-Up) |
Right hand side | :<C-U>call vm#commands#add_cursor_up(0, v:count1)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Add-Cursor-Down) |
Right hand side | :<C-U>call vm#commands#add_cursor_down(0, v:count1)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Add-Cursor-At-Word) |
Right hand side | :call vm#commands#add_cursor_at_word(1, 1)<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Add-Cursor-At-Pos) |
Right hand side | :call vm#commands#add_cursor_at_pos(0)<CR> |
Description | |
---|
Left hand side | <Plug>PlenaryTestFile |
Right hand side | :lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR> |
Description | Nvim builtin |
---|
Left hand side | <C-L> |
Right hand side | <Cmd>nohlsearch|diffupdate|normal! <C-L><CR> |
Description | Close current buffer |
---|
Left hand side | æ |
Right hand side | :bd<CR> |
Description | Move to the previous buffer |
---|
Left hand side | ™ |
Right hand side | :BufferLineCyclePrev<CR> |
Description | Format file |
---|
Left hand side | fi |
Right hand side | :lua vim.lsp.buf.format({ timeout_ms = 5000 })<CR> |
Visual mode keymaps
Description | Move right |
---|
Left hand side | <Tab> |
Right hand side | <Cmd>lua MiniMove.move_selection('right')<CR> |
Description | Search on current file with Spectre |
---|
Left hand side | sw |
Right hand side | <Esc><Cmd>lua require('spectre').open_visual()<CR> |
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 | \\c |
Right hand side | <Plug>(VM-Visual-Cursors) |
Description | |
---|
Left hand side | \\a |
Right hand side | <Plug>(VM-Visual-Add) |
Description | |
---|
Left hand side | \\f |
Right hand side | <Plug>(VM-Visual-Find) |
Description | |
---|
Left hand side | \\/ |
Right hand side | <Plug>(VM-Visual-Regex) |
Description | |
---|
Left hand side | \\A |
Right hand side | <Plug>(VM-Visual-All) |
Description | |
---|
Left hand side | ]% |
Right hand side | <Plug>(MatchitVisualMultiForward) |
Description | |
---|
Left hand side | a% |
Right hand side | <Plug>(MatchitVisualTextObject) |
Description | |
---|
Left hand side | gx |
Right hand side | <Plug>NetrwBrowseXVis |
Description | |
---|
Left hand side | g% |
Right hand side | <Plug>(MatchitVisualBackward) |
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 | Move up faster |
---|
Left hand side | <C-K> |
Right hand side | 10k |
Description | Move down faster |
---|
Left hand side | <C-J> |
Right hand side | 10j |
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 | Move up |
---|
Left hand side | <M-k> |
Right hand side | <Cmd>lua MiniMove.move_selection('up')<CR> |
Description | Move down |
---|
Left hand side | <M-j> |
Right hand side | <Cmd>lua MiniMove.move_selection('down')<CR> |
Description | Move left |
---|
Left hand side | <S-Tab> |
Right hand side | <Cmd>lua MiniMove.move_selection('left')<CR> |
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 | <C-N> |
Right hand side | <Plug>(VM-Find-Subword-Under) |
Description | |
---|
Left hand side | <Plug>(VM-Visual-Regex) |
Right hand side | :call vm#commands#find_by_regex(2)<CR>:call feedkeys('/', 'n')<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Find-Subword-Under) |
Right hand side | <SNR>11_Visual('under') |
Description | |
---|
Left hand side | <Plug>(VM-Visual-Reduce) |
Right hand side | :<C-U>call vm#visual#reduce()<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Visual-Add) |
Right hand side | <Esc>:call vm#commands#visual_add()<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Visual-Cursors) |
Right hand side | <Esc>:call vm#commands#visual_cursors()<CR> |
Description | |
---|
Left hand side | <Plug>(VM-Visual-All) |
Right hand side | <SNR>11_Visual('all') |
Description | |
---|
Left hand side | <Plug>(VM-Visual-Find) |
Right hand side | vm#operators#find(1, 1) |
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 | <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> |