Closed slugbyte closed 6 months ago
after playing with macros for a few days, I realized having one macro is a terrable idea, so I created you can now swap register, but its still a preselected
it also has a lock/unlock feature, where you can lock/unlock all recording with :UnrulyMacroLock
so you dont accidentaly record over an important macro during a big project
also it will provide a status bar text [MACRO z]
or [M REC z]
or [M LOC z]
so you can all ways see what register is selected z
, and if REC or LOCK is enabled
After using this setup for another few years, I'm ready for some changes again. I want to make some things faster (less need for brain, less keystroke) and I also want to expand the scope a bit to include keymaps for other plugins like telescope, treesitter, nvim-cmp, luasnaps, Comment.nvm, and perhaps a few others. I am going to try an make it so that different modules can be opted out of and also that you can provide a skip-key-list that you don't want unruly to make any keymaps for. Also I want all the key-maps to have descriptions set so that you can easily use which-key or telescope to figure out what each key does. There is definitely going to be breaking changes, but I am going to do my best to change as little as possible, so that I don't have to retrain my muscle memory. Also I will of course create a branch to preserve the current version incase anyone whats to use it.
I also have a couple new ideas about how to make a few things simpler and faster
:wall
,:qall
and:qual!
should be 1 tap. and there should be visual feed back that:wall
has run successfully (im thinking random happy emoticons being printed)Here are some of the features I am thinking about
dxc
) will share the X register, and (,.
) will be used to paste X above or belowz
to record/pause, tapZ
to play)j
andJ
will be used for telescope find_files and live_grep[](){}
followed by letters will be used to jump treesitter text-objectss
andS
might be used to repeat treesitter text-object movesIm already playing with these ideas on the develop branch, its fairly unstable right now but I have been able to experiment with most of the ideas above already and am really happy with the way things are feeling.
I am also going to include tmux, less, and zsh config files so that anyone who is interested can use the unruly motions in more places.
Im going to leave this issue open for a good while, If anyone sees this (even in the distant future) and whats to pitch any suggestions feel free to suggest features here :)