Skip to content

Commit

Permalink
Install switch.vim and configure for gitrebase
Browse files Browse the repository at this point in the history
  • Loading branch information
speshak committed Mar 4, 2024
1 parent 04a7e2a commit 0db5046
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dot_config/nvim/lua/plugins/editor.lua.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ return {
},

'AndrewRadev/splitjoin.vim',
{'AndrewRadev/switch.vim',
config = function()
-- Add git rebase commands to switch.vim when editing a git rebase file
if vim.bo.filetype == 'gitrebase' then
vim.g.switch_custom_definitions = {
{ 'pick', 'fixup', 'reword', 'edit', 'squash' }
}
end
end
},
'ConradIrwin/vim-bracketed-paste',
'sheerun/vim-polyglot',
'mbbill/undotree',
Expand Down

0 comments on commit 0db5046

Please sign in to comment.