{"<leader>ZZ","<cmd>wq!<cr>",desc="Write en close",mode="n"},
{"<leader>ZQ","<cmd>q!<cr>",desc="Close without write",mode="n"},
-- Marks
{"<leader>m",group="Marks"},
{"<leader>mx",marks.set,desc="Set mark [x]",mode="n"},
{"<leader>m,",marks.set_next,desc="Set the next available alphabetical (lowercase) mark",mode="n"},
{"<leader>m;",marks.toggle,desc="Toggle the next available mark at the current line",mode="n"},
{"<leader>dmx",marks.delete,desc="Delete mark x",mode="n"},
{"<leader>dm-",marks.delete_line,desc="Delete all marks on the current line",mode="n"},
{"<leader>dm<space>",marks.delete_buf,desc="Delete all marks in the current buffer",mode="n"},
{"<leader>m]",marks.next,desc="Move to next mark",mode="n"},
{"<leader>m[",marks.prev,desc="Move to previous mark",mode="n"},
{"<leader>m:",marks.preview,desc="Preview mark. This will prompt you for a specific mark to preview; press <cr> to preview the next mark.",mode="n"},
{"<leader>m[0-9]",marks.set_bookmark,desc="Add a bookmark from bookmark group[0-9].",mode="n"},
{"<leader>dm[0-9]",marks.delete_bookmark,desc="Delete all bookmarks from bookmark group[0-9].",mode="n"},
{"<leader>m}",marks.next_bookmark,desc="Move to the next bookmark having the same type as the bookmark under the cursor. Works across buffers.",mode="n"},
{"<leader>m{",marks.prev_bookmark,desc="Move to the previous bookmark having the same type as the bookmark under the cursor. Works across buffers.",mode="n"},
{"<leader>dm=",marks.delete_bookmark,desc="Delete the bookmark under the cursor.",mode="n"},