Skip to content

Commit

Permalink
Move file in git when moving with oil.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichm committed Sep 29, 2024
1 parent 4aac6c7 commit 9f2977b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nvim/.config/nvim/lua/dietrichm/fs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ oil.setup {
view_options = {
show_hidden = true,
},
git = {
mv = function()
return true
end,
},
keymaps = {
['<C-s>'] = false,
['<C-v>'] = 'actions.select_vsplit',
Expand Down

0 comments on commit 9f2977b

Please sign in to comment.