monaqa / dial.nvim

enhanced increment/decrement plugin for Neovim.
MIT License
794 stars 12 forks source link

Enhancement: Extending dial with support for conversions #32

Open asmodeus812 opened 2 years ago

asmodeus812 commented 2 years ago

Hi, I was just exploring this great plugin, which does an amazing job at extending the base inc/dec features of vim, and i was reminded of a vim based plugin called vim-radical (https://github.com/glts/vim-radical) which allows the user to convert the underlying number under the cursor into another representation. To me that seems like an interesting idea. Can be useful for things like dates or time formats - converting from one date/time format to another, numbers - same idea as radical (convert decimal to hex, binary or octal etc). Or even allowing a custom conversion from one type to another, which can be defined by the user. It seems that dial already has the internal support to understand the text objects it works with anyway (dates, numbers etc.), is that a feasible improvement ?

matu3ba commented 2 years ago

I disagree and think that it is better to keep the plugin minimal and use established cli tools instead.