AlanVim Neovim Configuration Information
Oriented toward Python development
- Install and initialize:
lazyman -L AlanVim
- Configuration category: Language
- Base configuration: Custom
- Plugin manager: Packer
- Installation location:
~/.config/nvim-AlanVim
Git repository
https://github.com/alanRizzo/dot-files
Packer managed plugins
- L3MON4D3/LuaSnip
- goolord/alpha-nvim
- akinsho/bufferline.nvim
- catppuccin/nvim
- hrsh7th/cmp-buffer
- hrsh7th/cmp-cmdline
- hrsh7th/cmp-nvim-lsp
- hrsh7th/cmp-nvim-lua
- hrsh7th/cmp-path
- saadparwaiz1/cmp_luasnip
- mattn/emmet-vim
- mhartington/formatter.nvim
- rafamadriz/friendly-snippets
- dinhhuy258/git.nvim
- lewis6991/gitsigns.nvim
- junnplus/lsp-setup.nvim
- nvim-lualine/lualine.nvim
- williamboman/mason-lspconfig.nvim
- williamboman/mason.nvim
- ojroques/nvim-bufdel
- hrsh7th/nvim-cmp
- norcalli/nvim-colorizer.lua
- neovim/nvim-lspconfig
- kylechui/nvim-surround
- alexghergh/nvim-tmux-navigation
- nvim-tree/nvim-tree.lua
- nvim-treesitter/nvim-treesitter
- nvim-tree/nvim-web-devicons
- wbthomason/packer.nvim
- nvim-lua/plenary.nvim
- nvim-lua/popup.nvim
- BurntSushi/ripgrep
- nvim-telescope/telescope-fzy-native.nvim
- nvim-telescope/telescope.nvim
- altermo/ultimate-autopair.nvim
- dsznajder/vscode-es7-javascript-react-snippets
AlanVim Keymaps
Normal mode keymaps
Description | |
---|---|
Left hand side | <Esc> |
Right hand side | :noh<CR> |
Description | |
---|---|
Left hand side | u |
Right hand side |
Description | |
---|---|
Left hand side | g |
Right hand side |
Description | |
---|---|
Left hand side | w |
Right hand side |
Description | |
---|---|
Left hand side | f |
Right hand side |
Description | |
---|---|
Left hand side | % |
Right hand side | <Plug>(MatchitNormalForward) |
Description | Nvim builtin |
---|---|
Left hand side | & |
Right hand side | :&&<CR> |
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 | 's |
Right hand side | :source %<CR> |
Description | |
---|---|
Left hand side | 'p |
Right hand side | :vsplit ~/.config/nvim-AlanVim/lua/packages.lua<CR> |
Description | |
---|---|
Left hand side | 'm |
Right hand side | :vsplit ~/.config/nvim-AlanVim/lua/general/mappings.lua<CR> |
Description | |
---|---|
Left hand side | D |
Right hand side | :BufDel<CR> |
Description | |
---|---|
Left hand side | H |
Right hand side | :BufferLineCyclePrev<CR> |
Description | |
---|---|
Left hand side | L |
Right hand side | :BufferLineCycleNext<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 | <Plug>(MatchitNormalMultiForward) |
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 | Delete a surrounding pair |
---|---|
Left hand side | ds |
Right hand side | <Plug>(nvim-surround-delete) |
Description | |
---|---|
Left hand side | g% |
Right hand side | <Plug>(MatchitNormalBackward) |
Description | |
---|---|
Left hand side | tt |
Right hand side | :t.<CR> |
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 | <Plug>PlenaryTestFile |
Right hand side | :lua require('plenary.test_harness').test_directory(vim.fn.expand("%:p"))<CR> |
Description | |
---|---|
Left hand side | <C-Y>m |
Right hand side | <Plug>(emmet-merge-lines) |
Description | |
---|---|
Left hand side | <Plug>(emmet-merge-lines) |
Right hand side | :call emmet#mergeLines()<CR> |
Description | |
---|---|
Left hand side | <C-Y>A |
Right hand side | <Plug>(emmet-anchorize-summary) |
Description | |
---|---|
Left hand side | <Plug>(emmet-anchorize-summary) |
Right hand side | :call emmet#anchorizeURL(1)<CR> |
Description | |
---|---|
Left hand side | <C-Y>a |
Right hand side | <Plug>(emmet-anchorize-url) |
Description | |
---|---|
Left hand side | <Plug>(emmet-anchorize-url) |
Right hand side | :call emmet#anchorizeURL(0)<CR> |
Description | |
---|---|
Left hand side | <C-Y>k |
Right hand side | <Plug>(emmet-remove-tag) |
Description | |
---|---|
Left hand side | <Plug>(emmet-remove-tag) |
Right hand side | :call emmet#removeTag()<CR> |
Description | |
---|---|
Left hand side | <C-Y>j |
Right hand side | <Plug>(emmet-split-join-tag) |
Description | |
---|---|
Left hand side | <Plug>(emmet-split-join-tag) |
Right hand side | :call emmet#splitJoinTag()<CR> |
Description | |
---|---|
Left hand side | <C-Y>/ |
Right hand side | <Plug>(emmet-toggle-comment) |
Description | |
---|---|
Left hand side | <Plug>(emmet-toggle-comment) |
Right hand side | :call emmet#toggleComment()<CR> |
Description | |
---|---|
Left hand side | <C-Y>I |
Right hand side | <Plug>(emmet-image-encode) |
Description | |
---|---|
Left hand side | <Plug>(emmet-image-encode) |
Right hand side | :call emmet#imageEncode()<CR> |
Description | |
---|---|
Left hand side | <C-Y>i |
Right hand side | <Plug>(emmet-image-size) |
Description | |
---|---|
Left hand side | <Plug>(emmet-image-size) |
Right hand side | :call emmet#imageSize()<CR> |
Description | |
---|---|
Left hand side | <Plug>(emmet-move-prev-item) |
Right hand side | :call emmet#moveNextPrevItem(1)<CR> |
Description | |
---|---|
Left hand side | <Plug>(emmet-move-next-item) |
Right hand side | :call emmet#moveNextPrevItem(0)<CR> |
Description | |
---|---|
Left hand side | <C-Y>N |
Right hand side | <Plug>(emmet-move-prev) |
Description | |
---|---|
Left hand side | <Plug>(emmet-move-prev) |
Right hand side | :call emmet#moveNextPrev(1)<CR> |
Description | |
---|---|
Left hand side | <C-Y>n |
Right hand side | <Plug>(emmet-move-next) |
Description | |
---|---|
Left hand side | <Plug>(emmet-move-next) |
Right hand side | :call emmet#moveNextPrev(0)<CR> |
Description | |
---|---|
Left hand side | <C-Y>D |
Right hand side | <Plug>(emmet-balance-tag-outword) |
Description | |
---|---|
Left hand side | <Plug>(emmet-balance-tag-outword) |
Right hand side | :call emmet#balanceTag(-1)<CR> |
Description | |
---|---|
Left hand side | <C-Y>d |
Right hand side | <Plug>(emmet-balance-tag-inward) |
Description | |
---|---|
Left hand side | <Plug>(emmet-balance-tag-inward) |
Right hand side | :call emmet#balanceTag(1)<CR> |
Description | |
---|---|
Left hand side | <C-Y>u |
Right hand side | <Plug>(emmet-update-tag) |
Description | |
---|---|
Left hand side | <Plug>(emmet-update-tag) |
Right hand side | :call emmet#updateTag()<CR> |
Description | |
---|---|
Left hand side | <C-Y>; |
Right hand side | <Plug>(emmet-expand-word) |
Description | |
---|---|
Left hand side | <Plug>(emmet-expand-word) |
Right hand side | :call emmet#expandAbbr(1,"")<CR> |
Description | |
---|---|
Left hand side | <C-Y>, |
Right hand side | <Plug>(emmet-expand-abbr) |
Description | |
---|---|
Left hand side | <Plug>(emmet-expand-abbr) |
Right hand side | :call emmet#expandAbbr(3,"")<CR> |
Description | |
---|---|
Left hand side | <Plug>luasnip-expand-repeat |
Right hand side |
Description | |
---|---|
Left hand side | <Plug>luasnip-delete-check |
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 | |
---|---|
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-K> |
Right hand side | :lua require'nvim-tmux-navigation'.NvimTmuxNavigateUp()<CR> |
Description | |
---|---|
Left hand side | <C-Bslash> |
Right hand side | :lua require'nvim-tmux-navigation'.NvimTmuxNavigateLastActive()<CR> |
Description | |
---|---|
Left hand side | <C-H> |
Right hand side | :lua require'nvim-tmux-navigation'.NvimTmuxNavigateLeft()<CR> |
Description | |
---|---|
Left hand side | <C-J> |
Right hand side | :lua require'nvim-tmux-navigation'.NvimTmuxNavigateDown()<CR> |
Description | |
---|---|
Left hand side | <C-Space> |
Right hand side | :lua require'nvim-tmux-navigation'.NvimTmuxNavigateNext()<CR> |
Description | |
---|---|
Left hand side | <C-N> |
Right hand side | :NvimTreeToggle<CR> |
Description | |
---|---|
Left hand side | <M-l> |
Right hand side | :vertical resize +2<CR> |
Description | |
---|---|
Left hand side | <M-h> |
Right hand side | :vertical resize -2<CR> |
Description | |
---|---|
Left hand side | <M-k> |
Right hand side | :resize +2<CR> |
Description | |
---|---|
Left hand side | <M-j> |
Right hand side | :resize -2<CR> |
Description | |
---|---|
Left hand side | <C-L> |
Right hand side | :lua require'nvim-tmux-navigation'.NvimTmuxNavigateRight()<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 | |
---|---|
Left hand side | 'go |
Right hand side | :<C-U> lua require('git.browse').open(true)<CR> |
Description | Nvim builtin |
---|---|
Left hand side | * |
Right hand side | y/\V<C-R>"<CR> |
Description | |
---|---|
Left hand side | <lt> |
Right hand side | <lt>gv |
Description | |
---|---|
Left hand side | > |
Right hand side | >gv |
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 | Add a surrounding pair around a visual selection, on new lines |
---|---|
Left hand side | gS |
Right hand side | <Plug>(nvim-surround-visual-line) |
Description | |
---|---|
Left hand side | g% |
Right hand side | <Plug>(MatchitVisualBackward) |
Description | |
---|---|
Left hand side | <C-Y>c |
Right hand side | <Plug>(emmet-code-pretty) |
Description | |
---|---|
Left hand side | <Plug>(emmet-code-pretty) |
Right hand side | :call emmet#codePretty()<CR> |
Description | |
---|---|
Left hand side | <C-Y>D |
Right hand side | <Plug>(emmet-balance-tag-outword) |
Description | |
---|---|
Left hand side | <Plug>(emmet-balance-tag-outword) |
Right hand side | <Esc>:call emmet#balanceTag(-1)<CR> |
Description | |
---|---|
Left hand side | <C-Y>d |
Right hand side | <Plug>(emmet-balance-tag-inward) |
Description | |
---|---|
Left hand side | <Plug>(emmet-balance-tag-inward) |
Right hand side | <Esc>:call emmet#balanceTag(1)<CR> |
Description | |
---|---|
Left hand side | <C-Y>, |
Right hand side | <Plug>(emmet-expand-abbr) |
Description | |
---|---|
Left hand side | <Plug>(emmet-expand-abbr) |
Right hand side | :call emmet#expandAbbr(2,"")<CR> |
Description | |
---|---|
Left hand side | <Plug>luasnip-expand-repeat |
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 | |
---|---|
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 | <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> |