Compare commits

...

2 Commits

Author SHA1 Message Date
8f04c0e04c
chores(all): format 2024-11-10 15:44:21 +01:00
6851e16bcf
docs(readme): small precision 2024-11-10 15:27:08 +01:00
10 changed files with 48 additions and 41 deletions

View File

@ -16,9 +16,11 @@ 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
})
@ -83,4 +85,3 @@ vim.api.nvim_create_autocmd("FileType", {
require('spelling').spell_keymap()
end,
})

View File

@ -1,7 +1,8 @@
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,7 +4,12 @@ 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).
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.
## Testing it