From 56a98496230ef62dc61c1e92051ba2397a298f5f Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Sat, 21 Jun 2025 23:06:47 -0500 Subject: configs. fixed misspell. added gen-thumb-md. generates thumbnails for videos and puts all video and non video in a markdown file --- env/.config/nvim/after/plugin/dap.lua | 4 +++- env/.config/nvim/lua/yourmom/remap.lua | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'env/.config/nvim') diff --git a/env/.config/nvim/after/plugin/dap.lua b/env/.config/nvim/after/plugin/dap.lua index b52a5e4..9e16f83 100644 --- a/env/.config/nvim/after/plugin/dap.lua +++ b/env/.config/nvim/after/plugin/dap.lua @@ -32,7 +32,8 @@ if ok then vim.keymap.set("n", "dl", function() dap.step_into() end) vim.keymap.set("n", "dj", function() dap.step_over() end) vim.keymap.set("n", "dk", function() dap.step_out() end) - vim.keymap.set("n", "dc", function() dap.continue() end) + vim.keymap.set("n", "dc", function() dap.run(dap.configurations.rust[1]) end) + vim.keymap.set("n", "dC", function() dap.continue() end) vim.keymap.set("n", "db", function() dap.toggle_breakpoint() end) vim.keymap.set("n", "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 diff --git a/env/.config/nvim/lua/yourmom/remap.lua b/env/.config/nvim/lua/yourmom/remap.lua index 30b0b95..a24d479 100755 --- a/env/.config/nvim/lua/yourmom/remap.lua +++ b/env/.config/nvim/lua/yourmom/remap.lua @@ -38,7 +38,7 @@ vim.keymap.set('v', '<', '', '>gv', {noremap = true}) ---reize with arrows +--reize with alt vim.keymap.set('n', '', ':resize -2') vim.keymap.set('n', '', ':resize +2') vim.keymap.set('n', '', ':vertical resize -2') -- cgit v1.3