Updating vue, changing font, adding pomo
This commit is contained in:
21
AppData/Local/nvim/lua/plugins/pomo.lua
Normal file
21
AppData/Local/nvim/lua/plugins/pomo.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
vim.api.nvim_set_keymap('n', '<leader>Tw', '<cmd>TimerStart 25m Work<cr>', { desc = '⏲️ Start 25m [w]ork timer' })
|
||||
vim.api.nvim_set_keymap('n', '<leader>Tb', '<cmd>TimerStart 5m Break<cr>', { desc = '⏲️ Start 5m [b]reak time' })
|
||||
vim.api.nvim_set_keymap('n', '<leader>TB', '<cmd>TimerStart 10m Break<cr>', { desc = '⏲️ Start 10m [B]reak time' })
|
||||
vim.api.nvim_set_keymap('n', '<leader>Ts', '<cmd>TimerStop<cr>', { desc = '⏲️ [s]top timer' })
|
||||
|
||||
return {
|
||||
{
|
||||
'epwalsh/pomo.nvim', -- https://github.com/epwalsh/pomo.nvim
|
||||
version = '*', -- Recommended, use latest release instead of latest commit
|
||||
lazy = true,
|
||||
cmd = { 'TimerStart', 'TimerRepeat', 'TimerSession' },
|
||||
dependencies = {
|
||||
-- Optional, but highly recommended if you want to use the "Default" timer
|
||||
'rcarriga/nvim-notify',
|
||||
},
|
||||
opts = {},
|
||||
config = function(_, opts)
|
||||
require('pomo').setup(opts)
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user