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

View File

@ -1,8 +1,7 @@
local map_list = { local map_list = {
-- ["w|"] = ":vsplit", ["w-"] = ":split", -- w| / w- pour créer des splits verticaux et horizontaux -- ["w|"] = ":vsplit", ["w-"] = ":split", -- w| / w- pour créer des splits verticaux et horizontaux
-- ["ge"] = ":bprevious", ["gn"] = ":bnext", -- ["ge"] = ":bprevious", ["gn"] = ":bnext",
["W"] = ":w", ["W"] = ":w", ["<C-t>"] = ":tabnew",
["<C-t>"] = ":tabnew",
} }
local keymap = vim.keymap.set 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 The provided `init.lua` file has then been split into (tentatively) semantically
consistent files inside `lua/` and personal customizations have been applied. consistent files inside `lua/` and personal customizations have been applied.
The process to design this configuration and some thoughts can be found The process to design this configuration and some thoughts can be found [here](https://blog.epheme.re/software/nvim-kickstart.html).
[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 ## Testing it