๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add nvim config

Kacaii ddeb1b45 1a35ad7a

+44
+15
.config/nvim/lua/config/autocmds.lua
··· 1 + vim.api.nvim_create_autocmd({ "BufEnter", "BufWinEnter" }, { command = "set nospell" }) 2 + 3 + local gleam_rustywind = vim.api.nvim_create_augroup("gleam_rustywind", { clear = true }) 4 + vim.api.nvim_create_autocmd({ "VimEnter", "DirChanged", "BufEnter" }, { 5 + group = gleam_rustywind, 6 + pattern = { "*.gleam" }, 7 + callback = function(_ev) 8 + require("conform").formatters.rustywind = { 9 + prepend_args = { 10 + "--custom-regex", 11 + "class\\([\\r\\n\\s]{0,}[\\\"\\']([_a-zA-Z0-9\\s\\-\\:\\/]+)[\\\"\\']", 12 + }, 13 + } 14 + end, 15 + })
+23
.config/nvim/lua/config/keymaps.lua
··· 1 + local keymap = vim.keymap 2 + -- local opts = { noremap = true, silent = true } 3 + 4 + -- Quickly restart the Lsp Server 5 + keymap.set("n", "<leader>uu", ":LspRestart<CR>") 6 + 7 + -- Exit INSERT mode by double tapping `j` 8 + keymap.set("i", "jj", "<Esc>", { noremap = false }) 9 + 10 + -- Quickly insert a pipeline 11 + keymap.set("i", "<C-p>", "<Esc>A<C-j>|> ", { noremap = false }) 12 + 13 + -- Increment/decrement 14 + keymap.set("n", "+", "<C-a>") 15 + keymap.set("n", "-", "<C-x>") 16 + 17 + -- Select all 18 + keymap.set("n", "<C-a>", "gg<S-v>G", { noremap = true, desc = "Select all", silent = true }) 19 + 20 + -- Open quicker.lua 21 + keymap.set("n", "<leader>q", function() 22 + require("quicker").toggle() 23 + end, { desc = "Toggle quickfix" })
+6
.config/nvim/lua/config/options.lua
··· 1 + local opt = vim.opt 2 + 3 + vim.g.snacks_animate = true 4 + 5 + opt.scrolloff = 10 6 + opt.cursorline = true