2k Neovim Configuration Information
- Install and initialize:
lazyman -x 2k
- Configuration category: Starter
- Base configuration: Custom
- Plugin manager: Lazy
- Installation location:
~/.config/nvim-2k
Git repository
https://github.com/2KAbhishek/nvim2k
Lazy managed plugins
- akinsho/bufferline.nvim
- renerocksai/calendar-vim
- hrsh7th/cmp-buffer
- hrsh7th/cmp-cmdline
- saadparwaiz1/cmp_luasnip
- hrsh7th/cmp-nvim-lsp
- hrsh7th/cmp-nvim-lua
- hrsh7th/cmp-path
- 2kabhishek/co-author.nvim
- numToStr/Comment.nvim
- zbirenbaum/copilot-cmp
- zbirenbaum/copilot.lua
- glepnir/dashboard-nvim
- sindrets/diffview.nvim
- stevearc/dressing.nvim
- creativenull/efmls-configs-nvim
- antoinemadec/FixCursorHold.nvim
- rafamadriz/friendly-snippets
- ruifm/gitlinker.nvim
- lewis6991/gitsigns.nvim
- m4xshen/hardtime.nvim
- ThePrimeagen/harpoon
- lukas-reineke/indent-blankline.nvim
- folke/lazy.nvim
- ggandor/leap.nvim
- Maan2003/lsp_lines.nvim
- glepnir/lspsaga.nvim
- ray-x/lsp_signature.nvim
- VonHeikemen/lsp-zero.nvim
- nvim-lualine/lualine.nvim
- L3MON4D3/LuaSnip
- iamcco/markdown-preview.nvim
- williamboman/mason-lspconfig.nvim
- williamboman/mason.nvim
- folke/neodev.nvim
- NeogitOrg/neogit
- nvim-neotest/neotest
- haydenmeade/neotest-jest
- olimorris/neotest-rspec
- MunifTanjim/nui.nvim
- windwp/nvim-autopairs
- hrsh7th/nvim-cmp
- norcalli/nvim-colorizer.lua
- mfussenegger/nvim-dap
- rcarriga/nvim-dap-ui
- kndndrj/nvim-dbee
- neovim/nvim-lspconfig
- rcarriga/nvim-notify
- windwp/nvim-spectre
- chrisgrieser/nvim-spider
- kylechui/nvim-surround
- nvim-tree/nvim-tree.lua
- nvim-treesitter/nvim-treesitter-context
- RRethy/nvim-treesitter-endwise
- nvim-treesitter/nvim-treesitter
- nvim-treesitter/nvim-treesitter-refactor
- nvim-treesitter/nvim-treesitter-textobjects
- RRethy/nvim-treesitter-textsubjects
- windwp/nvim-ts-autotag
- nvim-tree/nvim-web-devicons
- pwntester/octo.nvim
- stevearc/oil.nvim
- navarasu/onedark.nvim
- nvim-lua/plenary.nvim
- HiPhish/rainbow-delimiters.nvim
- ThePrimeagen/refactoring.nvim
- weizheheng/ror.nvim
- michaelb/sniprun
- abecodes/tabout.nvim
- renerocksai/telekasten.nvim
- nvim-telescope/telescope-fzf-native.nvim
- nvim-telescope/telescope-hop.nvim
- nvim-telescope/telescope.nvim
- nvim-telescope/telescope-symbols.nvim
- aserowy/tmux.nvim
- akinsho/toggleterm.nvim
- folke/trouble.nvim
- folke/twilight.nvim
- mbbill/undotree
- tpope/vim-rails
- folke/which-key.nvim
- gelguy/wilder.nvim
- folke/zen-mode.nvim
2k Keymaps
Normal mode keymaps
Description | |
---|---|
Left hand side | <CR> |
Right hand side |
Description | Escape and clear hlsearch |
---|---|
Left hand side | <Esc> |
Right hand side | <Cmd>noh<CR><Esc> |
Description | |
---|---|
Left hand side | ca |
Right hand side | <Cmd>Lspsaga code_action<CR> |
Description | |
---|---|
Left hand side | lk |
Right hand side | <Cmd>Lspsaga diagnostic_jump_prev<CR> |
Description | |
---|---|
Left hand side | lj |
Right hand side | <Cmd>Lspsaga diagnostic_jump_next<CR> |
Description | |
---|---|
Left hand side | gy |
Right hand side |
Description | |
---|---|
Left hand side | caL |
Right hand side | <Plug>CalendarH |
Description | |
---|---|
Left hand side | cal |
Right hand side | <Plug>CalendarV |
Description | |
---|---|
Left hand side | cT |
Right hand side | <Cmd>lua require("onedark").toggle()<CR> |
Description | Split window right |
---|---|
Left hand side | \ |
Right hand side | <C-W>v |
Description | Split window below |
---|---|
Left hand side | - |
Right hand side | <C-W>s |
Description | Split window right |
---|---|
Left hand side | w\ |
Right hand side | <C-W>v |
Description | Split window below |
---|---|
Left hand side | w- |
Right hand side | <C-W>s |
Description | Delete window |
---|---|
Left hand side | wd |
Right hand side | <C-W>c |
Description | Other window |
---|---|
Left hand side | w<Tab> |
Right hand side | <C-W>p |
Description | Switch to Other Buffer |
---|---|
Left hand side | ` |
Right hand side | <Cmd>e #<CR> |
Description | Switch to Other Buffer |
---|---|
Left hand side | <Tab> |
Right hand side | <Cmd>e #<CR> |
Description | |
---|---|
Left hand side | ss |
Right hand side | :%s/\<lt><C-R><C-W>\>/<C-R><C-W>/gI<Left><Left><Left> |
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 |
Description | |
---|---|
Left hand side | - |
Right hand side |
Description | |
---|---|
Left hand side | 1 |
Right hand side |
Description | |
---|---|
Left hand side | 2 |
Right hand side |
Description | |
---|---|
Left hand side | 3 |
Right hand side |
Description | |
---|---|
Left hand side | 4 |
Right hand side |
Description | |
---|---|
Left hand side | 5 |
Right hand side |
Description | |
---|---|
Left hand side | 6 |
Right hand side |
Description | |
---|---|
Left hand side | 7 |
Right hand side |
Description | |
---|---|
Left hand side | 8 |
Right hand side |
Description | |
---|---|
Left hand side | 9 |
Right hand side |
Description | |
---|---|
Left hand side | C |
Right hand side |
Description | Prev buffer |
---|---|
Left hand side | H |
Right hand side | <Cmd>BufferLineCyclePrev<CR> |
Description | |
---|---|
Left hand side | J |
Right hand side | mzJ`z |
Description | |
---|---|
Left hand side | K |
Right hand side | <Cmd>Lspsaga hover_doc<CR> |
Description | Next buffer |
---|---|
Left hand side | L |
Right hand side | <Cmd>BufferLineCycleNext<CR> |
Description | Prev search result |
---|---|
Left hand side | N |
Right hand side | 'nN'[v:searchforward] |
Description | |
---|---|
Left hand side | P |
Right hand side |
Description | |
---|---|
Left hand side | S |
Right hand side | <Plug>(leap-backward) |
Description | |
---|---|
Left hand side | X |
Right hand side |
Description | |
---|---|
Left hand side | Y |
Right hand side |
Description | |
---|---|
Left hand side | [% |
Right hand side | <Plug>(MatchitNormalMultiBackward) |
Description | Prev buffer |
---|---|
Left hand side | [b |
Right hand side | <Cmd>BufferLineCyclePrev<CR> |
Description | |
---|---|
Left hand side | ]% |
Right hand side | <Plug>(MatchitNormalMultiForward) |
Description | Next buffer |
---|---|
Left hand side | ]b |
Right hand side | <Cmd>BufferLineCycleNext<CR> |
Description | Spider-b |
---|---|
Left hand side | b |
Right hand side | <Cmd>lua require('spider').motion('b')<CR> |
Description | |
---|---|
Left hand side | c |
Right hand side |
Description | Change a surrounding pair, putting replacements on new lines |
---|---|
Left hand side | cS |
Right hand side | <Plug>(nvim-surround-change-line) |
Description | Change a surrounding pair |
---|---|
Left hand side | cs |
Right hand side | <Plug>(nvim-surround-change) |
Description | |
---|---|
Left hand side | d |
Right hand side |
Description | Delete a surrounding pair |
---|---|
Left hand side | ds |
Right hand side | <Plug>(nvim-surround-delete) |
Description | Spider-e |
---|---|
Left hand side | e |
Right hand side | <Cmd>lua require('spider').motion('e')<CR> |
Description | |
---|---|
Left hand side | gj |
Right hand side |
Description | |
---|---|
Left hand side | gk |
Right hand side |
Description | Spider-ge |
---|---|
Left hand side | ge |
Right hand side | <Cmd>lua require('spider').motion('ge')<CR> |
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 preview_definition<CR> |
Description | |
---|---|
Left hand side | gd |
Right hand side | <Cmd>Lspsaga lsp_finder<CR> |
Description | |
---|---|
Left hand side | gs |
Right hand side | <Cmd>Lspsaga signature_help<CR> |
Description | |
---|---|
Left hand side | g% |
Right hand side | <Plug>(MatchitNormalBackward) |
Description | Search word under cursor |
---|---|
Left hand side | gw |
Right hand side | *N |
Description | |
---|---|
Left hand side | gx |
Right hand side | :silent execute '!$BROWSER ' . shellescape(expand('<lt>cfile>'), 1)<CR> |
Description | |
---|---|
Left hand side | h |
Right hand side |
Description | |
---|---|
Left hand side | j |
Right hand side |
Description | |
---|---|
Left hand side | k |
Right hand side |
Description | |
---|---|
Left hand side | l |
Right hand side |
Description | Next search result |
---|---|
Left hand side | n |
Right hand side | 'Nn'[v:searchforward] |
Description | |
---|---|
Left hand side | p |
Right hand side |
Description | |
---|---|
Left hand side | s |
Right hand side | <Plug>(leap-forward) |
Description | |
---|---|
Left hand side | tl |
Right hand side | <C-W>l |
Description | |
---|---|
Left hand side | tj |
Right hand side | <C-W>j |
Description | |
---|---|
Left hand side | tk |
Right hand side | <C-W>k |
Description | |
---|---|
Left hand side | th |
Right hand side | <C-W>h |
Description | |
---|---|
Left hand side | tw |
Right hand side | <C-W>w |
Description | |
---|---|
Left hand side | tv |
Right hand side | :vsplit |
Description | |
---|---|
Left hand side | ts |
Right hand side | :split |
Description | |
---|---|
Left hand side | te |
Right hand side | :tabedit |
Description | Spider-w |
---|---|
Left hand side | w |
Right hand side | <Cmd>lua require('spider').motion('w')<CR> |
Description | |
---|---|
Left hand side | x |
Right hand side |
Description | |
---|---|
Left hand side | y |
Right hand side |
Description | Add a surrounding pair around the current line, on new lines (normal mode) |
---|---|
Left hand side | ySS |
Right hand side | <Plug>(nvim-surround-normal-cur-line) |
Description | Add a surrounding pair around a motion, on new lines (normal mode) |
---|---|
Left hand side | yS |
Right hand side | <Plug>(nvim-surround-normal-line) |
Description | Add a surrounding pair around the current line (normal mode) |
---|---|
Left hand side | yss |
Right hand side | <Plug>(nvim-surround-normal-cur) |
Description | Add a surrounding pair around a motion (normal mode) |
---|---|
Left hand side | ys |
Right hand side | <Plug>(nvim-surround-normal) |
Description | |
---|---|
Left hand side | <Down> |
Right hand side |
Description | |
---|---|
Left hand side | <Up> |
Right hand side |
Description | |
---|---|
Left hand side | <Right> |
Right hand side |
Description | |
---|---|
Left hand side | <Left> |
Right hand side |
Description | |
---|---|
Left hand side | <C-N> |
Right hand side |
Description | |
---|---|
Left hand side | <C-M> |
Right hand side |
Description | Change a surrounding pair, putting replacements on new lines |
---|---|
Left hand side | <Plug>(nvim-surround-change-line) |
Right hand side |
Description | Change a surrounding pair |
---|---|
Left hand side | <Plug>(nvim-surround-change) |
Right hand side |
Description | Delete a surrounding pair |
---|---|
Left hand side | <Plug>(nvim-surround-delete) |
Right hand side |
Description | Add a surrounding pair around the current line, on new lines (normal mode) |
---|---|
Left hand side | <Plug>(nvim-surround-normal-cur-line) |
Right hand side |
Description | Add a surrounding pair around a motion, on new lines (normal mode) |
---|---|
Left hand side | <Plug>(nvim-surround-normal-line) |
Right hand side |
Description | Add a surrounding pair around the current line (normal mode) |
---|---|
Left hand side | <Plug>(nvim-surround-normal-cur) |
Right hand side |
Description | Add a surrounding pair around a motion (normal mode) |
---|---|
Left hand side | <Plug>(nvim-surround-normal) |
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 | <Plug>luasnip-expand-repeat |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>luasnip-delete-check |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>SnipClose |
Right hand side | :lua require'sniprun.display'.close_all()<CR> |
Description | |
---|---|
Left hand side | <Plug>SnipReplMemoryClean |
Right hand side | :lua require'sniprun'.clear_repl()<CR> |
Description | |
---|---|
Left hand side | <Plug>SnipInfo |
Right hand side | :lua require'sniprun'.info()<CR> |
Description | |
---|---|
Left hand side | <Plug>SnipReset |
Right hand side | :lua require'sniprun'.reset()<CR> |
Description | |
---|---|
Left hand side | <Plug>SnipRunOperator |
Right hand side | :set opfunc=SnipRunOperator<CR>g@ |
Description | |
---|---|
Left hand side | <Plug>SnipRun |
Right hand side | :lua require'sniprun'.run()<CR> |
Description | |
---|---|
Left hand side | <Plug>(leap-backward-x) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward-x) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-backward) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-cross-window) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-from-window) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-backward-till) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-backward-to) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward-till) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward-to) |
Right hand side |
Description | |
---|---|
Left hand side | <M-l> |
Right hand side | <Cmd>lua require'tmux'.resize_right()<CR> |
Description | |
---|---|
Left hand side | <M-j> |
Right hand side | <Cmd>lua require'tmux'.resize_bottom()<CR> |
Description | |
---|---|
Left hand side | <M-h> |
Right hand side | <Cmd>lua require'tmux'.resize_left()<CR> |
Description | |
---|---|
Left hand side | <M-k> |
Right hand side | <Cmd>lua require'tmux'.resize_top()<CR> |
Description | |
---|---|
Left hand side | <Plug>CalendarT |
Right hand side | :cal calendar#show(2)<CR> |
Description | |
---|---|
Left hand side | <Plug>CalendarH |
Right hand side | :cal calendar#show(1)<CR> |
Description | |
---|---|
Left hand side | <Plug>CalendarV |
Right hand side | :cal calendar#show(0)<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>(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 | Save file |
---|---|
Left hand side | <C-S> |
Right hand side | <Cmd>w<CR><Esc> |
Description | Increase window width |
---|---|
Left hand side | <C-Right> |
Right hand side | <Cmd>vertical resize +2<CR> |
Description | Decrease window width |
---|---|
Left hand side | <C-Left> |
Right hand side | <Cmd>vertical resize -2<CR> |
Description | Decrease window height |
---|---|
Left hand side | <C-Down> |
Right hand side | <Cmd>resize -2<CR> |
Description | Increase window height |
---|---|
Left hand side | <C-Up> |
Right hand side | <Cmd>resize +2<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-U> |
Right hand side | <C-U>zz |
Description | |
---|---|
Left hand side | <C-D> |
Right hand side | <C-D>zz |
Description | |
---|---|
Left hand side | <C-K> |
Right hand side | <Cmd>lua require'tmux'.move_top()<CR> |
Description | |
---|---|
Left hand side | <M-q> |
Right hand side | <Cmd>:q<CR> |
Description | |
---|---|
Left hand side | <M-v> |
Right hand side | <Cmd>vsplit<CR> |
Description | |
---|---|
Left hand side | <M-s> |
Right hand side | <Cmd>split<CR> |
Description | |
---|---|
Left hand side | <C-I> |
Right hand side | <Tab> |
Description | |
---|---|
Left hand side | <C-G> |
Right hand side | <Cmd>lua _LAZYGIT_TOGGLE()<CR> |
Description | |
---|---|
Left hand side | <C-P> |
Right hand side |
Description | |
---|---|
Left hand side | <C-Space> |
Right hand side | <Cmd>WhichKey \ <CR> |
Description | |
---|---|
Left hand side | <C-L> |
Right hand side | <Cmd>lua require'tmux'.move_right()<CR> |
Visual mode keymaps
Description | |
---|---|
Left hand side | <CR> |
Right hand side |
Description | |
---|---|
Left hand side | ca |
Right hand side | <Cmd><C-U>Lspsaga range_code_action<CR> |
Description | |
---|---|
Left hand side | gy |
Right hand side |
Description | |
---|---|
Left hand side | pp |
Right hand side | "_dP |
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 |
Description | |
---|---|
Left hand side | - |
Right hand side |
Description | |
---|---|
Left hand side | 1 |
Right hand side |
Description | |
---|---|
Left hand side | 2 |
Right hand side |
Description | |
---|---|
Left hand side | 3 |
Right hand side |
Description | |
---|---|
Left hand side | 4 |
Right hand side |
Description | |
---|---|
Left hand side | 5 |
Right hand side |
Description | |
---|---|
Left hand side | 6 |
Right hand side |
Description | |
---|---|
Left hand side | 7 |
Right hand side |
Description | |
---|---|
Left hand side | 8 |
Right hand side |
Description | |
---|---|
Left hand side | 9 |
Right hand side |
Description | |
---|---|
Left hand side | <lt> |
Right hand side | <lt>gv |
Description | |
---|---|
Left hand side | > |
Right hand side | >gv |
Description | |
---|---|
Left hand side | H |
Right hand side | ^ |
Description | |
---|---|
Left hand side | J |
Right hand side | :move '>+1<CR>gv-gv |
Description | |
---|---|
Left hand side | K |
Right hand side | :move '<lt>-2<CR>gv-gv |
Description | |
---|---|
Left hand side | L |
Right hand side | $ |
Description | Prev search result |
---|---|
Left hand side | N |
Right hand side | 'nN'[v:searchforward] |
Description | Add a surrounding pair around a visual selection |
---|---|
Left hand side | S |
Right hand side | <Plug>(nvim-surround-visual) |
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 | Spider-b |
---|---|
Left hand side | b |
Right hand side | <Cmd>lua require('spider').motion('b')<CR> |
Description | Spider-e |
---|---|
Left hand side | e |
Right hand side | <Cmd>lua require('spider').motion('e')<CR> |
Description | |
---|---|
Left hand side | gj |
Right hand side |
Description | |
---|---|
Left hand side | gk |
Right hand side |
Description | Spider-ge |
---|---|
Left hand side | ge |
Right hand side | <Cmd>lua require('spider').motion('ge')<CR> |
Description | Add a surrounding pair around a visual selection, on new lines |
---|---|
Left hand side | gS |
Right hand side | <Plug>(nvim-surround-visual-line) |
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 | gs |
Right hand side | <Plug>(leap-cross-window) |
Description | |
---|---|
Left hand side | gx |
Right hand side | <Plug>NetrwBrowseXVis |
Description | |
---|---|
Left hand side | g% |
Right hand side | <Plug>(MatchitVisualBackward) |
Description | Search word under cursor |
---|---|
Left hand side | gw |
Right hand side | *N |
Description | |
---|---|
Left hand side | h |
Right hand side |
Description | |
---|---|
Left hand side | j |
Right hand side |
Description | |
---|---|
Left hand side | k |
Right hand side |
Description | |
---|---|
Left hand side | l |
Right hand side |
Description | Next search result |
---|---|
Left hand side | n |
Right hand side | 'Nn'[v:searchforward] |
Description | |
---|---|
Left hand side | p |
Right hand side | "_dP |
Description | |
---|---|
Left hand side | s |
Right hand side | <Plug>(leap-forward) |
Description | |
---|---|
Left hand side | tl |
Right hand side | <C-W>l |
Description | |
---|---|
Left hand side | tj |
Right hand side | <C-W>j |
Description | |
---|---|
Left hand side | tk |
Right hand side | <C-W>k |
Description | |
---|---|
Left hand side | th |
Right hand side | <C-W>h |
Description | Spider-w |
---|---|
Left hand side | w |
Right hand side | <Cmd>lua require('spider').motion('w')<CR> |
Description | |
---|---|
Left hand side | <Left> |
Right hand side |
Description | |
---|---|
Left hand side | <Down> |
Right hand side |
Description | |
---|---|
Left hand side | <Up> |
Right hand side |
Description | |
---|---|
Left hand side | <Right> |
Right hand side |
Description | |
---|---|
Left hand side | <C-N> |
Right hand side |
Description | |
---|---|
Left hand side | <C-M> |
Right hand side |
Description | |
---|---|
Left hand side | <C-P> |
Right hand side |
Description | Add 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> |
Description | Add 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> |
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>luasnip-expand-repeat |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>SnipRun |
Right hand side | :lua require'sniprun'.run('v')<CR> |
Description | |
---|---|
Left hand side | <Plug>(leap-backward-x) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward-x) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-backward) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-cross-window) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-from-window) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-backward-till) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-backward-to) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward-till) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward-to) |
Right hand side |
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 | Save file |
---|---|
Left hand side | <C-S> |
Right hand side | <Cmd>w<CR><Esc> |
Description | |
---|---|
Left hand side | <M-k> |
Right hand side | :move '<lt>-2<CR>gv-gv |
Description | |
---|---|
Left hand side | <M-j> |
Right hand side | :move '>+1<CR>gv-gv |
Operator mode keymaps
Description | |
---|---|
Left hand side | % |
Right hand side | <Plug>(MatchitOperationForward) |
Description | |
---|---|
Left hand side | H |
Right hand side | ^ |
Description | |
---|---|
Left hand side | L |
Right hand side | $ |
Description | Prev search result |
---|---|
Left hand side | N |
Right hand side | 'nN'[v:searchforward] |
Description | |
---|---|
Left hand side | X |
Right hand side | <Plug>(leap-backward-x) |
Description | |
---|---|
Left hand side | Z |
Right hand side | <Plug>(leap-backward) |
Description | |
---|---|
Left hand side | [% |
Right hand side | <Plug>(MatchitOperationMultiBackward) |
Description | |
---|---|
Left hand side | ]% |
Right hand side | <Plug>(MatchitOperationMultiForward) |
Description | Spider-b |
---|---|
Left hand side | b |
Right hand side | <Cmd>lua require('spider').motion('b')<CR> |
Description | Spider-e |
---|---|
Left hand side | e |
Right hand side | <Cmd>lua require('spider').motion('e')<CR> |
Description | Spider-ge |
---|---|
Left hand side | ge |
Right hand side | <Cmd>lua require('spider').motion('ge')<CR> |
Description | |
---|---|
Left hand side | gs |
Right hand side | <Plug>(leap-cross-window) |
Description | |
---|---|
Left hand side | g% |
Right hand side | <Plug>(MatchitOperationBackward) |
Description | Next search result |
---|---|
Left hand side | n |
Right hand side | 'Nn'[v:searchforward] |
Description | |
---|---|
Left hand side | tl |
Right hand side | <C-W>l |
Description | |
---|---|
Left hand side | tj |
Right hand side | <C-W>j |
Description | |
---|---|
Left hand side | tk |
Right hand side | <C-W>k |
Description | |
---|---|
Left hand side | th |
Right hand side | <C-W>h |
Description | Spider-w |
---|---|
Left hand side | w |
Right hand side | <Cmd>lua require('spider').motion('w')<CR> |
Description | |
---|---|
Left hand side | x |
Right hand side | <Plug>(leap-forward-x) |
Description | |
---|---|
Left hand side | z |
Right hand side | <Plug>(leap-forward) |
Description | |
---|---|
Left hand side | <Down> |
Right hand side |
Description | |
---|---|
Left hand side | <Up> |
Right hand side |
Description | |
---|---|
Left hand side | <Right> |
Right hand side |
Description | |
---|---|
Left hand side | <Left> |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>luasnip-expand-repeat |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-backward-x) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward-x) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-backward) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-cross-window) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-from-window) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-backward-till) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-backward-to) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward-till) |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>(leap-forward-to) |
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> |