Rafi Neovim Configuration Information
Extensible Neovim configuration
- Install and initialize:
lazyman -w Rafi - Configuration category: Personal
- Base configuration: Custom
- Plugin manager: Lazy
- Installation location:
~/.config/nvim-Rafi
Git repository
https://github.com/rafi/vim-config
Dotfyle entry
https://dotfyle.com/rafi/vim-config
Lazy managed plugins
- L3MON4D3/LuaSnip
- b0o/SchemaStore.nvim
- ziontee113/SnippetGenie
- rafi/awesome-vim-colorschemes
- FabijanZulj/blame.nvim
- itchyny/calendar.vim
- catppuccin/nvim
- uga-rosa/ccc.nvim
- hrsh7th/cmp-buffer
- hrsh7th/cmp-emoji
- hrsh7th/cmp-nvim-lsp
- hrsh7th/cmp-path
- andersevenrud/cmp-tmux
- saadparwaiz1/cmp_luasnip
- rhysd/committia.vim
- chrisbra/csv.vim
- sindrets/diffview.nvim
- stevearc/dressing.nvim
- AndrewRadev/dsf.vim
- ggandor/flit.nvim
- mhartington/formatter.nvim
- rafamadriz/friendly-snippets
- rhysd/git-messenger.vim
- ruifm/gitlinker.nvim
- lewis6991/gitsigns.nvim
- dnlhc/glance.nvim
- nmac427/guess-indent.nvim
- tweekmonster/helpful.vim
- lukas-reineke/indent-blankline.nvim
- vmchale/just-vim
- rebelot/kanagawa.nvim
- folke/lazy.nvim
- ggandor/leap.nvim
- AndrewRadev/linediff.vim
- nvim-lualine/lualine.nvim
- chentoast/marks.nvim
- williamboman/mason-lspconfig.nvim
- jay-babu/mason-nvim-dap.nvim
- echasnovski/mini.ai
- echasnovski/mini.bufremove
- echasnovski/mini.comment
- echasnovski/mini.pairs
- echasnovski/mini.splitjoin
- echasnovski/mini.surround
- echasnovski/mini.trailspace
- rafi/neo-hybrid.vim
- nvim-neo-tree/neo-tree.nvim
- rafi/neoconf-venom.nvim
- folke/neoconf.nvim
- folke/neodev.nvim
- danymat/neogen
- TimUntersberger/neogit
- EdenEast/nightfox.nvim
- folke/noice.nvim
- AlexvZyl/nordic.nvim
- MunifTanjim/nui.nvim
- kevinhwang91/nvim-bqf
- hrsh7th/nvim-cmp
- neovim/nvim-lspconfig
- SmiteshP/nvim-navic
- rcarriga/nvim-notify
- nvim-pack/nvim-spectre
- nvim-treesitter/nvim-treesitter
- nvim-treesitter/nvim-treesitter-context
- RRethy/nvim-treesitter-endwise
- nvim-treesitter/nvim-treesitter-textobjects
- windwp/nvim-ts-autotag
- JoosepAlviste/nvim-ts-context-commentstring
- kyazdani42/nvim-web-devicons
- s1n7ax/nvim-window-picker
- olimorris/onedarkpro.nvim
- nyoom-engineering/oxocarbon.nvim
- olimorris/persisted.nvim
- lifepillar/pgsql.vim
- nvim-lua/plenary.nvim
- neanias/everforest-nvim
- lambdalisue/suda.vim
- simrat39/symbols-outline.nvim
- tenxsoydev/tabs-vs-spaces.nvim
- rafi/tabstrip.nvim
- rafi/telescope-thesaurus.nvim
- jvgrootveld/telescope-zoxide
- nvim-telescope/telescope.nvim
- rafi/theme-loader.nvim
- folke/todo-comments.nvim
- akinsho/toggleterm.nvim
- folke/tokyonight.nvim
- folke/trouble.nvim
- mbbill/undotree
- haya14busa/vim-edgemotion
- RRethy/vim-illuminate
- MTDL9/vim-log-highlighting
- mzlogin/vim-markdown-toc
- andymass/vim-matchup
- mustache/vim-mustache-handlebars
- kana/vim-niceblock
- t9md/vim-quickhl
- reasonml-editor/vim-reason-plus
- iloginow/vim-stylus
- christoomey/vim-tmux-navigator
- folke/which-key.nvim
- folke/zen-mode.nvim
- mickael-menu/zk-nvim
Rafi Keymaps
Normal mode keymaps
| Description | Toggle Fold |
|---|---|
| Left hand side | <CR> |
| Right hand side |
| Description | Clear Search Highlight |
|---|---|
| Left hand side | <Esc> |
| Right hand side | <Cmd>noh<CR> |
| Description | Open Location List |
|---|---|
| Left hand side | a |
| Right hand side |
| Description | Open Quickfix |
|---|---|
| Left hand side | q |
| Right hand side |
| Description | Dictionary |
|---|---|
| Left hand side | ? |
| Right hand side | <Cmd>silent !open dict://<lt>cword><CR> |
| Description | Terminal (cwd) |
|---|---|
| Left hand side | tT |
| Right hand side |
| Description | Terminal (root dir) |
|---|---|
| Left hand side | tt |
| Right hand side |
| Description | Lazygit (cwd) |
|---|---|
| Left hand side | tG |
| Right hand side |
| Description | Lazygit (root dir) |
|---|---|
| Left hand side | tg |
| Right hand side |
| Description | Append Modeline |
|---|---|
| Left hand side | ml |
| Right hand side |
| Description | Show Treesitter Node |
|---|---|
| Left hand side | ui |
| Right hand side |
| Description | Toggle Wrap |
|---|---|
| Left hand side | uw |
| Right hand side |
| Description | Hide Search Highlight |
|---|---|
| Left hand side | uu |
| Right hand side | <Cmd>nohlsearch<CR> |
| Description | Toggle Whitespace Symbols |
|---|---|
| Left hand side | uo |
| Right hand side | <Cmd>setlocal nolist!<CR> |
| Description | Toggle Line Numbers |
|---|---|
| Left hand side | ul |
| Right hand side | <Cmd>setlocal nonumber!<CR> |
| Description | Toggle Spellcheck |
|---|---|
| Left hand side | us |
| Right hand side | <Cmd>setlocal spell!<CR> |
| Description | Toggle format on Save |
|---|---|
| Left hand side | uf |
| Right hand side |
| Description | Save |
|---|---|
| Left hand side | w |
| Right hand side | <Cmd>write<CR> |
| Description | Change Local Directory |
|---|---|
| Left hand side | cd |
| Right hand side |
| Description | Redraw / clear hlsearch / diff update |
|---|---|
| Left hand side | ur |
| Right hand side | <Cmd>nohlsearch|diffupdate|normal! <C-L><CR> |
| Description | Erase Whitespace |
|---|---|
| Left hand side | cw |
| Right hand side | <Cmd>lua MiniTrailspace.trim()<CR> |
| Description | Duplicate line |
|---|---|
| Left hand side | d |
| Right hand side | m`""Y""P`` |
| Description | Move line down |
|---|---|
| Left hand side | j |
| Right hand side | <Cmd>move+<CR>== |
| Description | Move line up |
|---|---|
| Left hand side | k |
| Right hand side | <Cmd>move-2<CR>== |
| Description | Yank absolute path |
|---|---|
| Left hand side | Y |
| Right hand side |
| Description | Yank relative path |
|---|---|
| Left hand side | y |
| Right hand side |
| Description | Visual Mode |
|---|---|
| Left hand side | |
| Right hand side | V |
| Description | Open Lazy UI |
|---|---|
| Left hand side | l |
| Right hand side | <Cmd>Lazy<CR> |
| Description | Diff File |
|---|---|
| Left hand side | gd |
| Right hand side |
| Description | Diff View |
|---|---|
| Left hand side | gv |
| Right hand side |
| Description | Delete Buffer |
|---|---|
| Left hand side | bd |
| Right hand side |
| Description | Zk Links |
|---|---|
| Left hand side | zl |
| Right hand side |
| Description | Zk Backlinks |
|---|---|
| Left hand side | zb |
| Right hand side |
| Description | Zk Search |
|---|---|
| Left hand side | zf |
| Right hand side |
| Description | Zk Tags |
|---|---|
| Left hand side | zt |
| Right hand side |
| Description | Zk Notes |
|---|---|
| Left hand side | zo |
| Right hand side |
| Description | Zk New |
|---|---|
| Left hand side | zn |
| Right hand side |
| Description | |
|---|---|
| Left hand side | ue |
| Right hand side |
| Description | Undo Tree |
|---|---|
| Left hand side | gu |
| Right hand side |
| Description | Line diff show |
|---|---|
| Left hand side | mds |
| Right hand side |
| Description | Line diff reset |
|---|---|
| Left hand side | mdr |
| Right hand side |
| Description | Git open in browser |
|---|---|
| Left hand side | go |
| Right hand side |
| Description | Git messenger |
|---|---|
| Left hand side | gm |
| Right hand side |
| Description | Dismiss all Notifications |
|---|---|
| Left hand side | un |
| Right hand side |
| Description | Git blame |
|---|---|
| Left hand side | gb |
| Right hand side |
| Description | Git blame (window) |
|---|---|
| Left hand side | gB |
| Right hand side |
| Description | Document diagnostics |
|---|---|
| Left hand side | sd |
| Right hand side |
| Description | Buffer find |
|---|---|
| Left hand side | / |
| Right hand side |
| Description | Grep cursor word |
|---|---|
| Left hand side | gg |
| Right hand side |
| Description | Find file |
|---|---|
| Left hand side | gf |
| Right hand side |
| Description | Find symbol |
|---|---|
| Left hand side | gt |
| Right hand side |
| Description | Git bcommits range |
|---|---|
| Left hand side | gc |
| Right hand side |
| Description | Git stashes |
|---|---|
| Left hand side | gh |
| Right hand side |
| Description | Git buffer commits |
|---|---|
| Left hand side | gL |
| Right hand side |
| Description | Git commits |
|---|---|
| Left hand side | gl |
| Right hand side |
| Description | Git branches |
|---|---|
| Left hand side | gr |
| Right hand side |
| Description | Git status |
|---|---|
| Left hand side | gs |
| Right hand side |
| Description | Goto Symbol (Workspace) |
|---|---|
| Left hand side | sS |
| Right hand side |
| Description | Goto Symbol |
|---|---|
| Left hand side | ss |
| Right hand side |
| Description | Colorscheme |
|---|---|
| Left hand side | uC |
| Right hand side |
| Description | Colorscheme |
|---|---|
| Left hand side | sc |
| Right hand side |
| Description | Word |
|---|---|
| Left hand side | sw |
| Right hand side |
| Description | Man Pages |
|---|---|
| Left hand side | sm |
| Right hand side |
| Description | Key Maps |
|---|---|
| Left hand side | sk |
| Right hand side |
| Description | Help Pages |
|---|---|
| Left hand side | sh |
| Right hand side |
| Description | Workspace diagnostics |
|---|---|
| Left hand side | sD |
| Right hand side |
| Description | Noice All |
|---|---|
| Left hand side | sna |
| Right hand side |
| Description | Noice History |
|---|---|
| Left hand side | snh |
| Right hand side |
| Description | Noice Last Message |
|---|---|
| Left hand side | snl |
| Right hand side |
| Description | |
|---|---|
| Left hand side | v |
| Right hand side |
| Description | Toggle structure panel |
|---|---|
| Left hand side | tf |
| Right hand side |
| Description | Spectre |
|---|---|
| Left hand side | sp |
| Right hand side |
| Description | Duplicate Paragraph |
|---|---|
| Left hand side | cp |
| Right hand side | yap<S-}>p |
| Description | Neogen Comment |
|---|---|
| Left hand side | cc |
| Right hand side |
| Description | Execute HTTP request |
|---|---|
| Left hand side | mh |
| Right hand side |
| Description | Select VirtualEnv |
|---|---|
| Left hand side | cv |
| Right hand side |
| Description | Symbols Outline |
|---|---|
| Left hand side | o |
| Right hand side |
| Description | Quickfix List (Trouble) |
|---|---|
| Left hand side | xQ |
| Right hand side |
| Description | Workspace Diagnostics (Trouble) |
|---|---|
| Left hand side | xX |
| Right hand side |
| Description | Document Diagnostics (Trouble) |
|---|---|
| Left hand side | xx |
| Right hand side |
| Description | Workspace Diagnostics |
|---|---|
| Left hand side | r |
| Right hand side |
| Description | Document Diagnostics |
|---|---|
| Left hand side | e |
| Right hand side |
| Description | Location List (Trouble) |
|---|---|
| Left hand side | xL |
| Right hand side |
| Description | Todo/Fix/Fixme (Trouble) |
|---|---|
| Left hand side | xT |
| Right hand side |
| Description | Todo/Fix/Fixme |
|---|---|
| Left hand side | sT |
| Right hand side |
| Description | Todo |
|---|---|
| Left hand side | st |
| Right hand side |
| Description | Todo (Trouble) |
|---|---|
| Left hand side | xt |
| Right hand side |
| Description | Neogit |
|---|---|
| Left hand side | mg |
| Right hand side |
| Description | Zen Mode |
|---|---|
| Left hand side | zz |
| Right hand side |
| Description | Mason |
|---|---|
| Left hand side | mm |
| Right hand side |
| Description | Highlight word |
|---|---|
| Left hand side | mt |
| Right hand side |
| Description | Execute Shell Command |
|---|---|
| Left hand side | ! |
| Right hand side | :! |
| Description | |
|---|---|
| Left hand side | # |
| Right hand side | g# |
| Description | Nvim builtin |
|---|---|
| Left hand side | & |
| Right hand side | :&&<CR> |
| Description | |
|---|---|
| Left hand side | * |
| Right hand side | g* |
| Description | Pick window |
|---|---|
| Left hand side | - |
| Right hand side |
| Description | Content-aware menu |
|---|---|
| Left hand side | ;c |
| Right hand side |
| Description | Explorer NeoTree Toggle |
|---|---|
| Left hand side | ;e |
| Right hand side |
| Description | Explorer NeoTree Reveal |
|---|---|
| Left hand side | ;a |
| Right hand side |
| Description | Search history |
|---|---|
| Left hand side | ;/ |
| Right hand side |
| Description | Commands |
|---|---|
| Left hand side | ;: |
| Right hand side |
| Description | Command history |
|---|---|
| Left hand side | ;; |
| Right hand side |
| Description | Old files |
|---|---|
| Left hand side | ;x |
| Right hand side |
| Description | Sessions |
|---|---|
| Left hand side | ;s |
| Right hand side |
| Description | Spell suggest |
|---|---|
| Left hand side | ;u |
| Right hand side |
| Description | Registers |
|---|---|
| Left hand side | ;v |
| Right hand side |
| Description | Workspace symbols |
|---|---|
| Left hand side | ;t |
| Right hand side |
| Description | Neovim options |
|---|---|
| Left hand side | ;o |
| Right hand side |
| Description | Marks |
|---|---|
| Left hand side | ;m |
| Right hand side |
| Description | Jump list |
|---|---|
| Left hand side | ;j |
| Right hand side |
| Description | Highlights |
|---|---|
| Left hand side | ;h |
| Right hand side |
| Description | Buffers |
|---|---|
| Left hand side | ;b |
| Right hand side |
| Description | Grep |
|---|---|
| Left hand side | ;g |
| Right hand side |
| Description | Find files |
|---|---|
| Left hand side | ;f |
| Right hand side |
| Description | Pickers |
|---|---|
| Left hand side | ;R |
| Right hand side |
| Description | Resume last |
|---|---|
| Left hand side | ;r |
| Right hand side |
| Description | Zoxide (MRU) |
|---|---|
| Left hand side | ;z |
| Right hand side |
| Description | Zk notes |
|---|---|
| Left hand side | ;w |
| Right hand side |
| Description | Thesaurus |
|---|---|
| Left hand side | ;k |
| Right hand side |
| Description | Plugins |
|---|---|
| Left hand side | ;n |
| Right hand side |
| Description | Code actions |
|---|---|
| Left hand side | ;da |
| Right hand side |
| Description | References |
|---|---|
| Left hand side | ;dr |
| Right hand side |
| Description | Implementations |
|---|---|
| Left hand side | ;di |
| Right hand side |
| Description | Definitions |
|---|---|
| Left hand side | ;dd |
| Right hand side |
| Description | todo |
|---|---|
| Left hand side | ;dt |
| Right hand side |
| Description | F |
|---|---|
| Left hand side | F |
| Right hand side |
| Description | Leap from windows |
|---|---|
| Left hand side | SS |
| Right hand side |
| Description | T |
|---|---|
| Left hand side | T |
| Right hand side |
| Description | Nvim builtin |
|---|---|
| Left hand side | Y |
| Right hand side | y$ |
| Description | Previous Whitespace |
|---|---|
| Left hand side | [s |
| Right hand side |
| Description | Previous Loclist Item |
|---|---|
| Left hand side | [a |
| Right hand side | <Cmd>lprev<CR> |
| Description | Prev Reference |
|---|---|
| Left hand side | [[ |
| Right hand side |
| Description | Previous trouble/quickfix item |
|---|---|
| Left hand side | [q |
| Right hand side |
| Description | Previous todo comment |
|---|---|
| Left hand side | [t |
| Right hand side |
| Description | Next Whitespace |
|---|---|
| Left hand side | ]s |
| Right hand side |
| Description | Next Loclist Item |
|---|---|
| Left hand side | ]a |
| Right hand side | <Cmd>lnext<CR> |
| Description | Next Reference |
|---|---|
| Left hand side | ]] |
| Right hand side |
| Description | Next trouble/quickfix item |
|---|---|
| Left hand side | ]q |
| Right hand side |
| Description | Next todo comment |
|---|---|
| Left hand side | ]t |
| Right hand side |
| Description | Change Surrounding Function |
|---|---|
| Left hand side | csf |
| Right hand side |
| Description | Replace surrounding |
|---|---|
| Left hand side | cs |
| Right hand side |
| Description | Delete Surrounding Function |
|---|---|
| Left hand side | dsf |
| Right hand side |
| Description | Delete surrounding |
|---|---|
| Left hand side | ds |
| Right hand side |
| Description | f |
|---|---|
| Left hand side | f |
| Right hand side |
| Description | Jump to older buffer |
|---|---|
| Left hand side | g<C-O> |
| Right hand side |
| Description | Jump to newer buffer |
|---|---|
| Left hand side | g<C-I> |
| Right hand side |
| Description | Paste Command |
|---|---|
| Left hand side | g! |
| Right hand side | :put=execute('')<Left><Left> |
| Description | Select Paste |
|---|---|
| Left hand side | gpp |
| Right hand side | '`['.strpart(getregtype(), 0, 1).'`]' |
| Description | |
|---|---|
| Left hand side | g# |
| Right hand side | # |
| Description | |
|---|---|
| Left hand side | g* |
| Right hand side | * |
| Description | |
|---|---|
| Left hand side | gl |
| Right hand side | g$ |
| Description | |
|---|---|
| Left hand side | gh |
| Right hand side | g^ |
| Description | |
|---|---|
| Left hand side | gpr |
| Right hand side |
| Description | |
|---|---|
| Left hand side | gpy |
| Right hand side |
| Description | |
|---|---|
| Left hand side | gpd |
| Right hand side |
| Description | |
|---|---|
| Left hand side | gpi |
| Right hand side |
| Description | Move to bottom edge |
|---|---|
| Left hand side | gj |
| Right hand side |
| Description | Move to top edge |
|---|---|
| Left hand side | gk |
| Right hand side |
| Description | Highlight surrounding |
|---|---|
| Left hand side | gzh |
| Right hand side |
| Description | Find left surrounding |
|---|---|
| Left hand side | gzF |
| Right hand side |
| Description | Find right surrounding |
|---|---|
| Left hand side | gzf |
| Right hand side |
| Description | Update MiniSurround.config.n_lines |
|---|---|
| Left hand side | gzn |
| Right hand side |
| Description | |
|---|---|
| Left hand side | j |
| Right hand side | v:count == 0 ? 'gj' : 'j' |
| Description | |
|---|---|
| Left hand side | k |
| Right hand side | v:count == 0 ? 'gk' : 'k' |
| Description | Marks from all opened buffers |
|---|---|
| Left hand side | m/ |
| Right hand side |
| Description | Toggle background dark/light |
|---|---|
| Left hand side | sh |
| Right hand side |
| Description | Delete buffer and open new |
|---|---|
| Left hand side | sx |
| Right hand side |
| Description | Maximize |
|---|---|
| Left hand side | sz |
| Right hand side | <Cmd>vertical resize | resize | normal! ze<CR> |
| Description | Quit |
|---|---|
| Left hand side | sq |
| Right hand side | <Cmd>quit<CR> |
| Description | Close other windows |
|---|---|
| Left hand side | so |
| Right hand side | <Cmd>only<CR> |
| Description | New tab |
|---|---|
| Left hand side | st |
| Right hand side | <Cmd>tabnew<CR> |
| Description | Split window vertically |
|---|---|
| Left hand side | sg |
| Right hand side | <Cmd>vsplit<CR> |
| Description | Split window horizontally |
|---|---|
| Left hand side | sv |
| Right hand side | <Cmd>split<CR> |
| Description | Buffer delete |
|---|---|
| Left hand side | sd |
| Right hand side | <Cmd>bdelete<CR> |
| Description | Close window |
|---|---|
| Left hand side | sc |
| Right hand side | <Cmd>close<CR> |
| Description | Alternate buffer |
|---|---|
| Left hand side | sb |
| Right hand side | <Cmd>buffer#<CR> |
| Description | Join arguments |
|---|---|
| Left hand side | sj |
| Right hand side |
| Description | Split arguments |
|---|---|
| Left hand side | sk |
| Right hand side |
| Description | Pick window |
|---|---|
| Left hand side | sp |
| Right hand side |
| Description | Swap picked window |
|---|---|
| Left hand side | sw |
| Right hand side |
| Description | Add surrounding |
|---|---|
| Left hand side | sa |
| Right hand side |
| Description | Leap backward to |
|---|---|
| Left hand side | sS |
| Right hand side |
| Description | Leap forward to |
|---|---|
| Left hand side | ss |
| Right hand side |
| Description | t |
|---|---|
| Left hand side | t |
| Right hand side |
| Description | |
|---|---|
| Left hand side | zh |
| Right hand side | z4h |
| Description | |
|---|---|
| Left hand side | zl |
| Right hand side | z4l |
| Description | Swap windows |
|---|---|
| Left hand side | <C-X> |
| Right hand side | <C-W>x |
| Description | Tab Move Forwards |
|---|---|
| Left hand side | <M-}> |
| Right hand side | <Cmd>+tabmove<CR> |
| Description | Tab Move Backwards |
|---|---|
| Left hand side | <M-{> |
| Right hand side | <Cmd>-tabmove<CR> |
| Description | Previous Tab |
|---|---|
| Left hand side | <C-S-Tab> |
| Right hand side | <Cmd>tabprevious<CR> |
| Description | Next Tab |
|---|---|
| Left hand side | <C-Tab> |
| Right hand side | <Cmd>tabnext<CR> |
| Description | Next Tab |
|---|---|
| Left hand side | <M-]> |
| Right hand side | <Cmd>tabnext<CR> |
| Description | Previous Tab |
|---|---|
| Left hand side | <M-[> |
| Right hand side | <Cmd>tabprevious<CR> |
| Description | Previous Tab |
|---|---|
| Left hand side | <M-k> |
| Right hand side | <Cmd>tabprevious<CR> |
| Description | Next Tab |
|---|---|
| Left hand side | <M-j> |
| Right hand side | <Cmd>tabnext<CR> |
| Description | Save |
|---|---|
| Left hand side | <C-S> |
| Right hand side | <Cmd>write<CR> |
| Description | Jump to Paren |
|---|---|
| Left hand side | <BS> |
| Right hand side | % |
| Description | Macro Prefix |
|---|---|
| Left hand side | <C-Q> |
| Right hand side | q |
| Description | Focus Fold |
|---|---|
| Left hand side | <S-CR> |
| Right hand side | zMzv |
| Description | Jump to left pane |
|---|---|
| Left hand side | <C-H> |
| Right hand side | <Cmd>TmuxNavigateLeft<CR> |
| Description | Jump to upper pane |
|---|---|
| Left hand side | <C-K> |
| Right hand side | <Cmd>TmuxNavigateUp<CR> |
| Description | Jump to right pane |
|---|---|
| Left hand side | <C-L> |
| Right hand side | <Cmd>TmuxNavigateRight<CR> |
| Description | Jump to lower pane |
|---|---|
| Left hand side | <C-J> |
| Right hand side | <Cmd>TmuxNavigateDown<CR> |
| Description | |
|---|---|
| Left hand side | <Plug>PlenaryTestFile |
| Right hand side | :lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR> |
| Description | Scroll backward |
|---|---|
| Left hand side | <C-B> |
| Right hand side |
| Description | Scroll forward |
|---|---|
| Left hand side | <C-F> |
| Right hand side |
| Description | Toggle terminal |
|---|---|
| Left hand side | <C-_> |
| Right hand side |
Visual mode keymaps
| Description | Indent Left |
|---|---|
| Left hand side | <Tab> |
| Right hand side | >gv| |
| Description | Duplicate selection |
|---|---|
| Left hand side | d |
| Right hand side | ""Y""Pgv |
| Description | Move selection down |
|---|---|
| Left hand side | j |
| Right hand side | :move'>+<CR>gv=gv |
| Description | Move selection up |
|---|---|
| Left hand side | k |
| Right hand side | :move'<lt>-2<CR>gv=gv |
| Description | Exit Visual Mode |
|---|---|
| Left hand side | |
| Right hand side | <Esc> |
| Description | Zk Match |
|---|---|
| Left hand side | zf |
| Right hand side |
| Description | Spectre Word |
|---|---|
| Left hand side | sp |
| Right hand side |
| Description | |
|---|---|
| Left hand side | v |
| Right hand side |
| Description | Line diff |
|---|---|
| Left hand side | mdf |
| Right hand side |
| Description | Line diff add |
|---|---|
| Left hand side | mda |
| Right hand side |
| Description | Git bcommits range |
|---|---|
| Left hand side | gc |
| Right hand side |
| Description | Grep cursor word |
|---|---|
| Left hand side | gg |
| Right hand side |
| Description | Git open in browser |
|---|---|
| Left hand side | go |
| Right hand side |
| Description | Highlight word |
|---|---|
| Left hand side | mt |
| Right hand side |
| Description | Nvim builtin |
|---|---|
| Left hand side | # |
| Right hand side | y?\V<C-R>"<CR> |
| Description | Nvim builtin |
|---|---|
| Left hand side | * |
| Right hand side | y/\V<C-R>"<CR> |
| Description | Code actions |
|---|---|
| Left hand side | ;da |
| Right hand side |
| Description | Indent Right and Re-select |
|---|---|
| Left hand side | <lt> |
| Right hand side | <lt>gv |
| Description | Indent Left and Re-select |
|---|---|
| Left hand side | > |
| Right hand side | >gv| |
| Description | Blockwise Append |
|---|---|
| Left hand side | A |
| Right hand side |
| Description | F |
|---|---|
| Left hand side | F |
| Right hand side |
| Description | Blockwise Insert |
|---|---|
| Left hand side | I |
| Right hand side |
| Description | Paste In-place |
|---|---|
| Left hand side | P |
| Right hand side | P:let @+=@0<CR>:let @"=@0<CR> |
| Description | Leap from windows |
|---|---|
| Left hand side | SS |
| Right hand side |
| Description | T |
|---|---|
| Left hand side | T |
| Right hand side |
| Description | Shrink selection |
|---|---|
| Left hand side | V |
| Right hand side |
| Description | f |
|---|---|
| Left hand side | f |
| Right hand side |
| Description | Move to bottom edge |
|---|---|
| Left hand side | gj |
| Right hand side |
| Description | Move to top edge |
|---|---|
| Left hand side | gk |
| Right hand side |
| Description | Blockwise Insert |
|---|---|
| Left hand side | gI |
| Right hand side |
| Description | |
|---|---|
| Left hand side | j |
| Right hand side | v:count == 0 ? 'gj' : 'j' |
| Description | |
|---|---|
| Left hand side | k |
| Right hand side | v:count == 0 ? 'gk' : 'k' |
| Description | Paste |
|---|---|
| Left hand side | p |
| Right hand side | p:let @+=@0<CR>:let @"=@0<CR> |
| Description | Substitute Within Selection |
|---|---|
| Left hand side | sg |
| Right hand side | :s//gc<Left><Left><Left> |
| Description | Leap backward to |
|---|---|
| Left hand side | sS |
| Right hand side |
| Description | Leap forward to |
|---|---|
| Left hand side | ss |
| Right hand side |
| Description | Add surrounding |
|---|---|
| Left hand side | sa |
| Right hand side |
| Description | Split arguments |
|---|---|
| Left hand side | sk |
| Right hand side |
| Description | Join arguments |
|---|---|
| Left hand side | sj |
| Right hand side |
| Description | t |
|---|---|
| Left hand side | t |
| Right hand side |
| Description | Increment selection |
|---|---|
| Left hand side | v |
| Right hand side |
| Description | Save |
|---|---|
| Left hand side | <C-S> |
| Right hand side | <Cmd>write<CR> |
| Description | Replace Selection |
|---|---|
| Left hand side | <C-R> |
| Right hand side | :<C-U>%s/\V<C-R>=v:lua.require'rafi.lib.edit'.get_visual_selection()<CR>//gc<Left><Left><Left> |
| Description | Jump to Paren |
|---|---|
| Left hand side | <BS> |
| Right hand side | % |
| Description | Indent Right |
|---|---|
| Left hand side | <S-Tab> |
| Right hand side | <lt>gv |
Operator mode keymaps
| Description | F |
|---|---|
| Left hand side | F |
| Right hand side |
| Description | Leap from windows |
|---|---|
| Left hand side | SS |
| Right hand side |
| Description | T |
|---|---|
| Left hand side | T |
| Right hand side |
| Description | f |
|---|---|
| Left hand side | f |
| Right hand side |
| Description | Leap forward to |
|---|---|
| Left hand side | ss |
| Right hand side |
| Description | Leap backward to |
|---|---|
| Left hand side | sS |
| Right hand side |
| Description | t |
|---|---|
| Left hand side | t |
| Right hand side |