sorry, i forgot to update this more regularly

This commit is contained in:
TJ DeVries
2024-12-18 19:14:08 -05:00
parent 916560e22c
commit b2ac96c3cf
20 changed files with 459 additions and 10 deletions

18
XX - oil/config/init.lua Normal file
View File

@@ -0,0 +1,18 @@
print("advent of neovim")
require("config.lazy")
vim.keymap.set("n", "<space><space>x", "<cmd>source %<CR>")
vim.keymap.set("n", "<space>x", ":.lua<CR>")
vim.keymap.set("v", "<space>x", ":lua<CR>")
-- Highlight when yanking (copying) text
-- Try it with `yap` in normal mode
-- See `:help vim.highlight.on_yank()`
vim.api.nvim_create_autocmd('TextYankPost', {
desc = 'Highlight when yanking (copying) text',
group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }),
callback = function()
vim.highlight.on_yank()
end,
})