Compare commits

..

No commits in common. "8f04c0e04c72c964ccfd110268d61c54f1ed83b5" and "1ba07cf7034bf6c548ed5e8e007a712f2ab89fdd" have entirely different histories.

10 changed files with 41 additions and 48 deletions

View File

@ -16,11 +16,9 @@ vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, {
-- email commands: my/msy to paste the html inside the clipboard
vim.keymap.set('', '<LocalLeader>msy', ':w !pandoc -f markdown+emoji -t html5 -s | wl-copy --type text/html<CR><CR>',
{ noremap = true, silent = true, desc = "[M]arkdown to [S]ingle page [Y]ank" })
vim.keymap.set('', '<LocalLeader>my',
':w !pandoc -f markdown+emoji --wrap=none -t html5 | wl-copy --type text/html<CR><CR>',
vim.keymap.set('', '<LocalLeader>my', ':w !pandoc -f markdown+emoji --wrap=none -t html5 | wl-copy --type text/html<CR><CR>',
{ noremap = true, silent = true, desc = "[M]arkdown to HTML [Y]ank" })
vim.keymap.set('', '<LocalLeader>mp', '<Plug>MarkdownPreviewToggle',
{ noremap = true, silent = true, desc = "[M]arkdown [P]review" })
vim.keymap.set('', '<LocalLeader>mp', '<Plug>MarkdownPreviewToggle', { noremap = true, silent = true, desc = "[M]arkdown [P]review" })
end
})
@ -85,3 +83,4 @@ vim.api.nvim_create_autocmd("FileType", {
require('spelling').spell_keymap()
end,
})

View File

@ -1,8 +1,7 @@
local map_list = {
-- ["w|"] = ":vsplit", ["w-"] = ":split", -- w| / w- pour créer des splits verticaux et horizontaux
-- ["ge"] = ":bprevious", ["gn"] = ":bnext",
["W"] = ":w",
["<C-t>"] = ":tabnew",
["W"] = ":w", ["<C-t>"] = ":tabnew",
}
local keymap = vim.keymap.set

View File

@ -4,12 +4,7 @@ In this repository lies my Neovim configuration starting from
The provided `init.lua` file has then been split into (tentatively) semantically
consistent files inside `lua/` and personal customizations have been applied.
The process to design this configuration and some thoughts can be found
[here](https://blog.epheme.re/software/nvim-kickstart.html).
Note that if the global principles remain true, the blog post dates from 2023,
and things may have changed a bit since then. Just use it as a reference for my
rationals.
The process to design this configuration and some thoughts can be found [here](https://blog.epheme.re/software/nvim-kickstart.html).
## Testing it