1
Fork 0

Move to nixos-23.11

This commit is contained in:
Matei Adriel 2023-12-10 12:55:54 +01:00
parent 659fb33ca7
commit 38a7932c2c
No known key found for this signature in database
25 changed files with 1001 additions and 543 deletions
home/features/neovim/config/lua/my

View file

@ -89,7 +89,7 @@ function M.setup()
-- In the future, I might get this on my keyboard firmware.
vim.keymap.set({ "i", "v" }, "<f10>", "<Esc>", { desc = "Exit insert mode" }) -- Exit inset mode using *jk*
vim.keymap.set({ "n", "v" }, "<f11>", '"+', { desc = "Use global clipboard" }) -- Use global clipboard with *cp*
M.nmap("<f12>", ":silent write<cr>", "Save current file") -- Save using *ji*
M.nmap("<f12>", "<cmd>silent write<cr>", "Save current file", true) -- Save using *ji*
-- }}}
-- {{{ Shift-Enter for not continuing the current comment
-- This does not preserve intendation. Not sure what a better solution would look like.