lots of changes

- changed music command
- added music to backup
- showmethekey more window rules
- added mpv config
- added seahorse to all reqs
- nvim
    - added render markdown
    - added treesitter. ive been using just my systems treesitter.
    - fixed undotree bind
    - removed eldritch theme. it broke
This commit is contained in:
2025-07-19 14:39:56 -05:00
parent 63cfe97908
commit 143696c0a9
10 changed files with 71 additions and 31 deletions

View File

@@ -0,0 +1,38 @@
local ok, rmarkdown = pcall(require, 'render-markdown')
if ok then
rmarkdown.setup({
code = {
enabled = true,
render_modes = false,
sign = true,
style = 'full',
position = 'left',
language_pad = 0,
language_icon = true,
language_name = true,
language_info = true,
disable_background = { 'diff' },
width = 'full',
left_margin = 0,
left_pad = 0,
right_pad = 0,
min_width = 0,
border = 'hide',
language_border = '',
language_left = '',
language_right = '',
above = '',
below = '',
inline_left = '',
inline_right = '',
inline_pad = 0,
highlight = 'RenderMarkdownCode',
highlight_info = 'RenderMarkdownCodeInfo',
highlight_language = nil,
highlight_border = 'RenderMarkdownCodeBorder',
highlight_fallback = 'RenderMarkdownCodeFallback',
highlight_inline = 'RenderMarkdownCodeInline',
},
completions = { lsp = { enabled = true } },
})
end

View File

@@ -0,0 +1,7 @@
local ok, treesitter = pcall(require, 'nvim-treesitter.configs')
if ok then
treesitter.setup {
ensure_installed = { "c", "lua", "rust", "css", "html", "bash", "markdown", "markdown_inline" },
highlight = { enable = true, },
}
end

View File

@@ -1,4 +1 @@
local ok, _ = pcall(require, 'undotree')
if ok then
vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
end
vim.keymap.set("n", "<leader>u", ":UndotreeToggle<CR>")

View File

@@ -22,8 +22,8 @@ vim.o.ignorecase = true
vim.opt.updatetime = 50
--vim.opt.colorcolumn = "80"
--vim.cmd('colorscheme vim')
--vim.cmd('colorscheme tokyonight')
vim.cmd('colorscheme eldritch')
vim.cmd('colorscheme tokyonight')
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })

View File

@@ -19,8 +19,6 @@ return require('packer').startup(function(use)
use { "rose-pine/neovim", as = "rose-pine" }
use { "folke/tokyonight.nvim", as = "tokyonight"}
use { "eldritch-theme/eldritch.nvim", as = "eldritch" }
use "jbyuki/quickmath.nvim"
@@ -38,21 +36,13 @@ return require('packer').startup(function(use)
--requires = { 'nvim-tree/nvim-web-devicons', opt = true }
}
--[[
use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate',
config = function()
require("nvim-treesitter.configs").setup {
ensure_installed = { "c", "lua", "rust" },
highlight = { enable = true, }
}
end
})
]]--
--use "jbyuki/venn.nvim"
use 'tpope/vim-fugitive'
-- # main dev requirements
use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
use 'ThePrimeagen/harpoon'
use("mbbill/undotree")
@@ -94,14 +84,12 @@ return require('packer').startup(function(use)
use({ "iamcco/markdown-preview.nvim", run = "cd app && npm install", setup = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, })
-- use({
-- 'MeanderingProgrammer/render-markdown.nvim',
-- after = { 'nvim-treesitter' },
-- requires = { 'echasnovski/mini.nvim', opt = true }, -- if you use the mini.nvim suite
-- -- requires = { 'echasnovski/mini.icons', opt = true }, -- if you use standalone mini plugins
-- -- requires = { 'nvim-tree/nvim-web-devicons', opt = true }, -- if you prefer nvim-web-devicons
-- config = function()
-- require('render-markdown').setup({})
-- end,
-- })
use({
'MeanderingProgrammer/render-markdown.nvim',
after = { 'nvim-treesitter' },
requires = { 'echasnovski/mini.nvim', opt = true }, -- if you use the mini.nvim suite
-- requires = { 'echasnovski/mini.icons', opt = true }, -- if you use standalone mini plugins
-- requires = { 'nvim-tree/nvim-web-devicons', opt = true }, -- if you prefer nvim-web-devicons
})
end)