- 2x2, 3x3, 4x4 scrambles
- Ao5, Ao12 calculations
- Minial code
- With folke/lazy.nvim
{ "Ernest1338/cube-timer.nvim" }
use "Ernest1338/cube-timer.nvim"
add("Ernest1338/cube-timer.nvim")
Firstly, call the setup
function with optional config (see configuration options below):
require("cube-timer").setup()
Then use the CubeTimer
command to show the timer
Key bindings:
q
- quit2
- change to 2x2 scramble3
- change to 3x3 scramble4
- change to 4x4 scramblespace
- start/stop timer`
- remove last time|
- clear times from current session
Options:
-
size (popup window size)
-
scramble_lenghts (lenghts of scramble for each cube type, see below)
-
For folke/lazy.nvim
{
"Ernest1338/cube-timer.nvim",
config = {
size = 0.9,
scramble_lenghts = { ["2x2"] = 9, ["3x3"] = 21, ["4x4"] = 42 }
}
}
use {
"Ernest1338/cube-timer.nvim",
config = function()
require("cube-timer").setup({
size = 0.5,
scramble_lenghts = { ["2x2"] = 9, ["3x3"] = 21, ["4x4"] = 42 }
})
end
}
later(function()
add("Ernest1338/cube-timer.nvim")
require("cube-timer").setup({
size = 0.5,
scramble_lenghts = { ["2x2"] = 9, ["3x3"] = 21, ["4x4"] = 42 }
})
end)
- Neovim >= v0.7.0
MIT