configs. fixed misspell. added gen-thumb-md.

generates thumbnails for videos and puts all video and non video in a markdown file
This commit is contained in:
2025-06-21 23:06:47 -05:00
parent 3252a201c1
commit 56a9849623
5 changed files with 77 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ alias music="nohup vlc $YT_PLAYLIST_DIR/title_vids > /dev/null 2> /dev/null < /d
alias ibuss="ibus-daemon -rxRd"
alias ygg="fukn bash -c 'mkdir /var/run/yggdrasil; yggdrasil -useconf < /etc/yggdrasil.conf'"
alias obss="obs && obs --enable-media-stream & disown"
alias get_channel_id="xargs curl -s | grep -Eo 'channel_id=.{0,50}' | sed 's/\".*//g' | fzf | xargs printf \"https://www.youtube.com/feeds/videos.xml?%s\" | xclip -selection clipboard"
alias get_channel_id="xargs curl -s | grep -Eo 'channel_id=.{0,50}' | sed 's/\".*//g' | fzf | xargs printf \"https://www.youtube.com/feeds/videos.xml?%s\""
alias vasm="~/stuff/manual-programs/vasm/vasm6502_oldstyle -Fbin -dotdir "
alias pipes="pipes.sh -t 0 -p 3 -f 30 -r 2000"

View File

@@ -32,7 +32,8 @@ if ok then
vim.keymap.set("n", "<Leader>dl", function() dap.step_into() end)
vim.keymap.set("n", "<Leader>dj", function() dap.step_over() end)
vim.keymap.set("n", "<Leader>dk", function() dap.step_out() end)
vim.keymap.set("n", "<Leader>dc", function() dap.continue() end)
vim.keymap.set("n", "<Leader>dc", function() dap.run(dap.configurations.rust[1]) end)
vim.keymap.set("n", "<Leader>dC", function() dap.continue() end)
vim.keymap.set("n", "<Leader>db", function() dap.toggle_breakpoint() end)
vim.keymap.set("n", "<Leader>dB", function()
dap.set_breakpoint(vim.fn.input('Breakpoint condition: '))
@@ -65,6 +66,7 @@ if ok then
request = "launch",
program = function()
--return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/target/debug/", "file")
vim.fn.jobstart('cargo build')
if vim.fn.expand("%:t:r") == "main" then
return vim.fn.getcwd() .. "/target/debug/" .. vim.fn.fnamemodify(vim.fn.getcwd(), ':t')
else

View File

@@ -38,7 +38,7 @@ vim.keymap.set('v', '<', '<gv', {noremap = true})
vim.keymap.set('v', '>', '>gv', {noremap = true})
--reize with arrows
--reize with alt
vim.keymap.set('n', '<A-k>', ':resize -2<CR>')
vim.keymap.set('n', '<A-j>', ':resize +2<CR>')
vim.keymap.set('n', '<A-h>', ':vertical resize -2<CR>')