Dotfiles V1.5.2
This commit is contained in:
1 parent
1ec21e387a
commit
b5c9d585c1
51 files changed
+1356
-1082
No files matched your search
@@ -16,14 +16,16 @@ local edu_schema = {
|
||||
"EDU",
|
||||
"default",
|
||||
wezterm.home_dir .. "/Polybox_ETH/",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/hs25/analysis_I",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs26/analysis_II",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs26/informatik_I",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs26/italian",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs26/lineare_algebra_wiederholung",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs26/mathematische_methoden",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs26/nus_II",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/fs26/physik_I",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ZHAW/hs26/analysis_I",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ZHAW/hs26/digitaltechnik",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ZHAW/hs26/elektrizitaetslehre",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ZHAW/hs26/informatik_I",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ETH/hs26/italian_a2",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ZHAW/hs26/lineare_algebra_I",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ZHAW/hs26/messtechnik_projekt",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ZHAW/hs26/physik_I",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ZHAW/hs26/werkstoffe_der_elektrotechnik",
|
||||
wezterm.home_dir .. "/Nextcloud/Vault/edu/ZHAW/hs26/wirtschaft_fuer_ingeneure",
|
||||
sessionizer.FdSearch({ fd_path = "/opt/homebrew/bin/fd", wezterm.home_dir .. "/Projects/EDU" }),
|
||||
}
|
||||
|
||||
|
||||
@@ -20,6 +20,10 @@ local actions = wezterm.action
|
||||
|
||||
config.leader = { key = "a", mods = "CTRL", timeout_milliseconds = 1000 }
|
||||
|
||||
-- Blinking Cursor Bar
|
||||
|
||||
config.default_cursor_style = "BlinkingBar"
|
||||
|
||||
-- unix socket to enable sessions
|
||||
|
||||
config.unix_domains = {
|
||||
@@ -174,10 +178,26 @@ config.keys = {
|
||||
},
|
||||
-- Vim Mode
|
||||
{
|
||||
key = "]",
|
||||
key = "[",
|
||||
mods = "LEADER",
|
||||
action = actions.ActivateCopyMode,
|
||||
},
|
||||
{
|
||||
key = "y",
|
||||
mods = "LEADER",
|
||||
action = wezterm.action_callback(function(window, pane)
|
||||
-- Get current working directory of the active pane
|
||||
local cwd_uri = pane:get_current_working_dir()
|
||||
local cwd = ""
|
||||
-- Spawn yazi in a new pane/tab/window using the detected CWD
|
||||
window:perform_action(
|
||||
wezterm.action.SpawnCommandInNewTab({
|
||||
args = { "/opt/homebrew/bin/yazi" },
|
||||
}),
|
||||
pane
|
||||
)
|
||||
end),
|
||||
},
|
||||
}
|
||||
|
||||
-- Go to Tab with index
|
||||
|
||||
Reference in new issue
Block a user