Compare commits

..

No commits in common. "2450f6b2228d94b12b00137d37b46d911d81c3fb" and "4e1fba9299c74d58759afd7c4bf4c0561a60cb75" have entirely different histories.

7 changed files with 22 additions and 89 deletions

View file

@ -23,5 +23,4 @@ A short list of what's included in here:
- `emacs`, while I use Zed for a lot these days, Emacs remains the best Lisp interaction mode, hands down - `emacs`, while I use Zed for a lot these days, Emacs remains the best Lisp interaction mode, hands down
- A barebones `vim` config - A barebones `vim` config
- `git` and `hg` configuration - `git` and `hg` configuration
- `neovim` (gotta have it)
- Configuration for things I use very rarely (`helix`, `nushell`, `nix`, `alacritty`) - Configuration for things I use very rarely (`helix`, `nushell`, `nix`, `alacritty`)

View file

@ -61,7 +61,7 @@ alias cd.. "cd ../"
alias rmrf "rm -rf" alias rmrf "rm -rf"
# portage aliases # portage aliases
alias eupgrade "doas emerge -aguDN --with-bdeps=t @world" alias eupgrade "doas emerge -aguDN @world"
alias eclean "doas emerge -ac" alias eclean "doas emerge -ac"
# chezmoi aliases # chezmoi aliases

View file

@ -1,2 +1 @@
require("settings")
require("config.lazy") require("config.lazy")

View file

@ -11,46 +11,9 @@ return {
dashboard = { enabled = true }, dashboard = { enabled = true },
indent = { enabled = true, animate = { enabled = false } }, indent = { enabled = true, animate = { enabled = false } },
input = { enabled = true }, input = { enabled = true },
lazygit = { enabled = true, configure = true }, lazygit = { enabled = true },
picker = { enabled = true },
quickfile = { enabled = true }, quickfile = { enabled = true },
statuscolumn = { enabled = true }, statuscolumn = { enabled = true }
}, }
keys = { }
{
"<leader>gg",
function()
require("snacks").lazygit()
end,
desc = "Open LazyGit",
},
},
},
{
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
lua = { "stylua" },
},
format_on_save = {
timeout_ms = 500,
lsp_format = "fallback",
},
},
},
{
"zapling/mason-conform.nvim",
depends = {
"williamboman/mason.nvim",
"stevearc/conform.nvim",
},
opts = {},
},
{
"mrjones2014/legendary.nvim",
priority = 999,
opts = {
extensions = { lazy_nvim = true },
},
},
} }

View file

@ -1,37 +1,30 @@
-- Telescope, and other file picker-related plugins -- Telescope, and other file picker-related plugins
return { return {
{ {
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
config = function() config = function()
local telescope = require("telescope") local telescope = require("telescope")
telescope.setup({}) telescope.setup()
telescope.load_extension("chezmoi") telescope.load_extension("chezmoi")
end, end
keys = {
{
"<leader><space>",
"<cmd>Telescope find_files<cr>",
desc = "Find files",
},
},
}, },
{ {
"xvzc/chezmoi.nvim", "xvzc/chezmoi.nvim",
config = function() config = function()
require("chezmoi").setup({ require("chezmoi").setup {
-- Treat all files in my chezmoi source directory as source files -- Treat all files in my chezmoi source directory as source files
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, { vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
pattern = { os.getenv("HOME") .. "/.local/share/chezmoi/*" }, pattern = { os.getenv("HOME") .. "/.local/share/chezmoi/*" },
callback = function(evt) callback = function(evt)
local bufnr = evt.buf local bufnr = evt.buf
local edit_watch = function() local edit_watch = function()
require("chezmoi.commands.__edit").watch(bufnr) require("chezmoi.commands.__edit").watch(bufnr)
end end
vim.schedule(edit_watch) vim.schedule(edit_watch)
end, end
}), })
}) }
end, end
}, },
} }

View file

@ -1,18 +0,0 @@
local o = vim.opt
o.number = true -- line numbers
o.clipboard = "unnamedplus" -- use the clipboard register
o.syntax = "on" -- syntaxxxx
o.autoindent = true -- keep indents from prev line
o.cursorline = true -- highlight bg of current line
o.expandtab = true -- in insert, handle <tab> correctly
o.shiftwidth = 2 -- 2 spaces
o.tabstop = 2 -- 2-wide tabs
o.encoding = "UTF-8" -- obligatory
o.ruler = true -- show location of cursor
o.mouse = "a" -- enable mouse on all modes
o.title = true -- update the window title
o.wildmenu = true -- get wild
o.showmatch = true -- jump to matching bracket
o.splitright = true -- split right
o.splitbelow = true -- split below

View file

@ -1,3 +0,0 @@
indent_type = "Spaces"
indent_width = 2
column_width = 120