Compare commits
2 Commits
1ba07cf703
...
8f04c0e04c
Author | SHA1 | Date | |
---|---|---|---|
8f04c0e04c | |||
6851e16bcf |
@ -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,
|
||||
})
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user