feat: whatever
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
; this file is an automated accelerator map dump
|
; this file is an automated accelerator map dump
|
||||||
;
|
;
|
||||||
(gtk_accel_path "<Actions>/ThunarActions/uca-action-1739060949375198-2" "<Primary><Shift>x")
|
(gtk_accel_path "<Actions>/ThunarActions/uca-action-1739060949375198-2" "<Primary><Shift>x")
|
||||||
|
; (gtk_accel_path "<Actions>/ThunarDetailsView/expandable-folders" "")
|
||||||
(gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "<Alt>t")
|
(gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "<Alt>t")
|
||||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-last-modified" "")
|
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-last-modified" "")
|
||||||
; (gtk_accel_path "<Actions>/Thunarwindow/menu" "")
|
; (gtk_accel_path "<Actions>/Thunarwindow/menu" "")
|
||||||
@@ -92,6 +93,7 @@
|
|||||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "<Primary>1")
|
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "<Primary>1")
|
||||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-2" "<Shift>Delete")
|
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-2" "<Shift>Delete")
|
||||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>plus")
|
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>plus")
|
||||||
|
; (gtk_accel_path "<Actions>/ThunarStandardView/configure-columns" "")
|
||||||
; (gtk_accel_path "<Actions>/ThunarStandardView/rename" "F2")
|
; (gtk_accel_path "<Actions>/ThunarStandardView/rename" "F2")
|
||||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-location" "<Primary>l")
|
; (gtk_accel_path "<Actions>/ThunarWindow/open-location" "<Primary>l")
|
||||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "<Primary>3")
|
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "<Primary>3")
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ clock_format = "%X"
|
|||||||
background_update = True
|
background_update = True
|
||||||
|
|
||||||
#* Custom cpu model name, empty string to disable.
|
#* Custom cpu model name, empty string to disable.
|
||||||
custom_cpu_name = ""
|
custom_cpu_name = "T-800 Processor"
|
||||||
|
|
||||||
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
|
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
|
||||||
#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user".
|
#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user".
|
||||||
@@ -217,7 +217,7 @@ base_10_bitrate = "Auto"
|
|||||||
show_battery = True
|
show_battery = True
|
||||||
|
|
||||||
#* Which battery to use if multiple are present. "Auto" for auto detection.
|
#* Which battery to use if multiple are present. "Auto" for auto detection.
|
||||||
selected_battery = "Auto"
|
selected_battery = "BAT1"
|
||||||
|
|
||||||
#* Show power stats of battery next to charge indicator.
|
#* Show power stats of battery next to charge indicator.
|
||||||
show_battery_watts = True
|
show_battery_watts = True
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
preload = /home/greg/Pictures/Wallpapers/japanese-seashore-house-fullmoon-pink.jpeg
|
preload = /home/greg/Pictures/Wallpapers/art-sakura-sea-volcano-pink.jpg
|
||||||
wallpaper = eDP-1,/home/greg/Pictures/Wallpapers/japanese-seashore-house-fullmoon-pink.jpeg
|
wallpaper = eDP-1,/home/greg/Pictures/Wallpapers/art-sakura-sea-volcano-pink.jpg
|
||||||
wallpaper = HDMI-A-1,/home/greg/Pictures/Wallpapers/japanese-seashore-house-fullmoon-pink.jpeg
|
wallpaper = HDMI-A-1,/home/greg/Pictures/Wallpapers/art-sakura-sea-volcano-pink.jpg
|
||||||
ipc = off
|
ipc = off
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
TagLib: ID3v2::Tag::read() - Duplicate ID3v2 tags found.
|
TagLib: ID3v2::Tag::read() - Duplicate ID3v2 tags found.
|
||||||
|
TagLib: Could not open file /home/greg/Music/After Dark.opus
|
||||||
|
|||||||
@@ -95,3 +95,18 @@ vim.keymap.set("n", "<leader>tn", '<cmd>tabNext<cr>', { desc = "Tab Next" })
|
|||||||
vim.keymap.set("n", "<leader>tp", '<cmd>tabprevious<cr>', { desc = "Tab Previous" })
|
vim.keymap.set("n", "<leader>tp", '<cmd>tabprevious<cr>', { desc = "Tab Previous" })
|
||||||
vim.keymap.set("n", "<leader>tm", '<cmd>tabnew<cr>', { desc = "Tab More!" })
|
vim.keymap.set("n", "<leader>tm", '<cmd>tabnew<cr>', { desc = "Tab More!" })
|
||||||
vim.keymap.set("n", "<leader>tc", '<cmd>tabclose<cr>', { desc = "Tab Close" })
|
vim.keymap.set("n", "<leader>tc", '<cmd>tabclose<cr>', { desc = "Tab Close" })
|
||||||
|
|
||||||
|
function Leave_snippet()
|
||||||
|
if
|
||||||
|
((vim.v.event.old_mode == 's' and vim.v.event.new_mode == 'n') or vim.v.event.old_mode == 'i')
|
||||||
|
and require('luasnip').session.current_nodes[vim.api.nvim_get_current_buf()]
|
||||||
|
and not require('luasnip').session.jump_active
|
||||||
|
then
|
||||||
|
require('luasnip').unlink_current()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
-- stop snippets when you leave to normal mode
|
||||||
|
vim.api.nvim_command([[
|
||||||
|
autocmd ModeChanged * lua Leave_snippet()
|
||||||
|
]])
|
||||||
|
|||||||
@@ -23,6 +23,69 @@ return {
|
|||||||
vim.fn.sign_define('DapLogPoint', { text='', texthl='DapLogPoint', linehl='DapLogPoint', numhl= 'DapLogPoint' })
|
vim.fn.sign_define('DapLogPoint', { text='', texthl='DapLogPoint', linehl='DapLogPoint', numhl= 'DapLogPoint' })
|
||||||
vim.fn.sign_define('DapStopped', { text='', texthl='DapStopped', linehl='DapStopped', numhl= 'DapStopped' })
|
vim.fn.sign_define('DapStopped', { text='', texthl='DapStopped', linehl='DapStopped', numhl= 'DapStopped' })
|
||||||
|
|
||||||
|
require('dap-go').setup {
|
||||||
|
-- Additional dap configurations can be added.
|
||||||
|
-- dap_configurations accepts a list of tables where each entry
|
||||||
|
-- represents a dap configuration. For more details do:
|
||||||
|
-- :help dap-configuration
|
||||||
|
dap_configurations = {
|
||||||
|
{
|
||||||
|
-- Must be "go" or it will be ignored by the plugin
|
||||||
|
type = "go",
|
||||||
|
name = "Attach remote",
|
||||||
|
mode = "remote",
|
||||||
|
request = "attach",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type = "go",
|
||||||
|
name = "Debug (Backend)",
|
||||||
|
request = "launch",
|
||||||
|
program = "./cmd", -- "${file}",
|
||||||
|
buildFlags = require("dap-go").get_build_flags,
|
||||||
|
},
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
-- delve configurations
|
||||||
|
delve = {
|
||||||
|
-- the path to the executable dlv which will be used for debugging.
|
||||||
|
-- by default, this is the "dlv" executable on your PATH.
|
||||||
|
path = "dlv",
|
||||||
|
-- time to wait for delve to initialize the debug session.
|
||||||
|
-- default to 20 seconds
|
||||||
|
initialize_timeout_sec = 20,
|
||||||
|
-- a string that defines the port to start delve debugger.
|
||||||
|
-- default to string "${port}" which instructs nvim-dap
|
||||||
|
-- to start the process in a random available port.
|
||||||
|
-- if you set a port in your debug configuration, its value will be
|
||||||
|
-- assigned dynamically.
|
||||||
|
port = "${port}",
|
||||||
|
-- additional args to pass to dlv
|
||||||
|
args = {},
|
||||||
|
-- the build flags that are passed to delve.
|
||||||
|
-- defaults to empty string, but can be used to provide flags
|
||||||
|
-- such as "-tags=unit" to make sure the test suite is
|
||||||
|
-- compiled during debugging, for example.
|
||||||
|
-- passing build flags using args is ineffective, as those are
|
||||||
|
-- ignored by delve in dap mode.
|
||||||
|
-- avaliable ui interactive function to prompt for arguments get_arguments
|
||||||
|
build_flags = {},
|
||||||
|
-- whether the dlv process to be created detached or not. there is
|
||||||
|
-- an issue on delve versions < 1.24.0 for Windows where this needs to be
|
||||||
|
-- set to false, otherwise the dlv server creation will fail.
|
||||||
|
-- avaliable ui interactive function to prompt for build flags: get_build_flags
|
||||||
|
detached = vim.fn.has("win32") == 0,
|
||||||
|
-- the current working directory to run dlv from, if other than
|
||||||
|
-- the current working directory.
|
||||||
|
cwd = nil,
|
||||||
|
},
|
||||||
|
-- options related to running closest test
|
||||||
|
tests = {
|
||||||
|
-- enables verbosity when running the test.
|
||||||
|
verbose = false,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
require("nvim-dap-virtual-text").setup {
|
require("nvim-dap-virtual-text").setup {
|
||||||
-- This just tries to mitigate the chance that I leak tokens here. Probably won't stop it from happening...
|
-- This just tries to mitigate the chance that I leak tokens here. Probably won't stop it from happening...
|
||||||
display_callback = function(variable)
|
display_callback = function(variable)
|
||||||
@@ -40,16 +103,6 @@ return {
|
|||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Handled by nvim-dap-go
|
|
||||||
-- dap.adapters.go = {
|
|
||||||
-- type = "server",
|
|
||||||
-- port = "${port}",
|
|
||||||
-- executable = {
|
|
||||||
-- command = "dlv",
|
|
||||||
-- args = { "dap", "-l", "127.0.0.1:${port}" },
|
|
||||||
-- },
|
|
||||||
-- }
|
|
||||||
|
|
||||||
dap.configurations.python = {
|
dap.configurations.python = {
|
||||||
{
|
{
|
||||||
type = 'python';
|
type = 'python';
|
||||||
|
|||||||
Reference in New Issue
Block a user