Compare commits
2 Commits
49acc75e2a
...
ef2bdaf201
Author | SHA1 | Date | |
---|---|---|---|
ef2bdaf201 | |||
9a940a9ba4 |
@ -36,3 +36,12 @@ 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 })
|
||||||
|
@ -40,8 +40,6 @@ 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 },
|
||||||
|
Loading…
Reference in New Issue
Block a user