Compare commits

..

No commits in common. "ef2bdaf201499208186d13fc87651b26b1bcaf11" and "49acc75e2a8f368769a469118efb8b3fffb5f472" have entirely different histories.

2 changed files with 2 additions and 9 deletions

View File

@ -36,12 +36,3 @@ end
-- in :terminal esc exits edit mode -- in :terminal esc exits edit mode
keymap('t', '<Esc>', '<C-\\><C-n>', { noremap = true, silent = true }) keymap('t', '<Esc>', '<C-\\><C-n>', { noremap = true, silent = true })
-- Markdown scratchpads
require('which-key').add({
{ "<leader>m", group = "[M]arkdown" },
{ "<leader>m_", hidden = "true" }
})
keymap('n', '<leader>mn', ':e ~/tmp/scratchpad.md<CR>', { desc = '[M]arkdown [N]ew', noremap = true, silent = true })
keymap('n', '<leader>me', ':e ~/tmp/scratchpad-fr.md<CR>', { desc = '[M]arkdown new Fr[e]nch', noremap = true, silent = true })

View File

@ -40,6 +40,8 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
require('which-key').add { require('which-key').add {
{ "<leader>l", group = "neorg [L]ist" }, { "<leader>l", group = "neorg [L]ist" },
{ "<leader>l_", hidden = true }, { "<leader>l_", hidden = true },
{ "<leader>m", group = "neorg [M]ode" },
{ "<leader>m_", hidden = true },
{ "<leader>t", group = "neorg [T]asks" }, { "<leader>t", group = "neorg [T]asks" },
{ "<leader>n", group = "[N]eorg" }, { "<leader>n", group = "[N]eorg" },
{ "<leader>n_", hidden = true }, { "<leader>n_", hidden = true },