-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Latest updates...got java debug working
- Loading branch information
Joshua
committed
Oct 19, 2023
1 parent
6afb21f
commit 39243a0
Showing
11 changed files
with
194 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,35 @@ | ||
return { | ||
{ | ||
"mfussenegger/nvim-dap", | ||
config = function () | ||
local dap_ui = require("dapui") | ||
local keymap = require("lua.config.utils").keymap | ||
|
||
require("neodev").setup({ | ||
library = { | ||
plugins = { | ||
"nvim-dap-ui" | ||
}, | ||
types = true, | ||
}, | ||
}) | ||
|
||
dap_ui.setup() | ||
keymap("n", "<leader>dt", ":lua require('dapui').toggle()<CR>", { desc = "Debug UI: Toggle Debugger UI" }) | ||
|
||
-- Debugger | ||
keymap("n", "<F5>", ":lua require('dap').continue()<CR>", { desc = "Debug: Continue" }) | ||
keymap("n", "<F6>", ":lua require('dap').step_over()<CR>", { desc = "Debug: Step Over" }) | ||
keymap("n", "<F7>", ":lua require('dap').step_into()<CR>", { desc = "Debug: Step Into" }) | ||
keymap("n", "<F8>", ":lua require('dap').step_out()<CR>", { desc = "Debug: Step Out" }) | ||
keymap("n", "<leader>b", ":lua require('dap').toggle_breakpoint()<CR>", { desc = "Debug: Toggle Breakpoint" }) | ||
keymap("n", "<leader>B", ":lua require('dap').set_breakpoint(vim.fn.input('Breakpoint Condition: ')<CR>", { desc = "Debug: Toggle Conditional Breakpoint" }) | ||
end, | ||
dependencies = { | ||
"folke/neodev.nvim", | ||
"rcarriga/cmp-dap", | ||
"rcarriga/nvim-dap-ui", | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
home/Documents/WindowsPowerShell/Microsoft.PowerShell_profile.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
Remove-Item alias:curl | ||
Set-Alias wcurl Invoke-WebRequest | ||
|
||
Import-Module posh-git | ||
Import-Module -Name Terminal-Icons | ||
Import-Module -Name z | ||
Import-Module -Name PSReadLine | ||
|
||
Import-Module PSFzf | ||
Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+f' -PSReadlineChordReverseHistory 'Ctrl+r' | ||
|
||
function which ($command) { | ||
Get-Command -Name $command -ErrorAction SilentlyContinue | | ||
Select-Object -ExpandProperty Path -ErrorAction SilentlyContinue | ||
} | ||
|
||
function touch ($filename) { | ||
# TODO: Check for actual path | ||
New-Item -Path . -Name $filename -ItemType "file" | ||
} |