-
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.
- Loading branch information
Joshua Primrose
committed
Nov 5, 2023
1 parent
39243a0
commit d0d1af7
Showing
14 changed files
with
289 additions
and
70 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
local wezterm = require("wezterm") | ||
|
||
local act = wezterm.action | ||
-- local mux = wezterm.mux | ||
|
||
-- wezterm.on("gui-startup", function() | ||
-- local tab, pane, window = mux.spawn_window() | ||
-- window:gui_window():maximize() | ||
-- end) | ||
|
||
local config = {} | ||
|
||
if wezterm.config_builder then | ||
config = wezterm.config_builder() | ||
end | ||
|
||
config.color_scheme = "Tokyo Night" | ||
config.default_cwd = "C:/Dev/repos" | ||
config.default_prog = { | ||
"C:/Program Files/PowerShell/7/pwsh.exe" | ||
} | ||
config.font = wezterm.font("FantasqueSansM Nerd Font Mono") | ||
|
||
config.keys = { | ||
{ | ||
key = "|", | ||
mods = "CTRL|SHIFT", | ||
action = act.PaneSelect({ | ||
mode = "Activate", | ||
}), | ||
}, | ||
} | ||
|
||
config.inactive_pane_hsb = { | ||
brightness = 0.7, | ||
saturation = 0.8, | ||
} | ||
|
||
config.scrollback_lines = 5000 | ||
|
||
config.use_dead_keys = false | ||
|
||
config.window_background_opacity = 0.92 | ||
|
||
return config | ||
|
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
return { | ||
{ | ||
"stevearc/aerial.nvim", | ||
config = function () | ||
local aerial = require("aerial") | ||
|
||
aerial.setup({ | ||
layout = { | ||
max_width = { 100, 0.2 }, | ||
width = 60 | ||
}, | ||
|
||
on_attach = function () | ||
local keymap = require("lua.config.utils").keymap | ||
|
||
keymap("n", "<leader>af", ":AerialToggle float<CR>", { desc = "Aerial: Open floating Aerial" }) | ||
keymap("n", "<leader>al", ":AerialToggle left<CR>", { desc = "Aerial: Toggle left Aerial" }) | ||
keymap("n", "<leader>ar", ":AerialToggle right<CR>", { desc = "Aerial: Toggle right Aerial" }) | ||
|
||
keymap("n", "[", ":AerialPrev<CR>", { desc = "Aerial: " }) | ||
keymap("n", "]", ":AerialNext<CR>", { desc = "Aerial: " }) | ||
keymap("n", "<leader>ac", ":AerialCloseAll<CR>", { desc = "Aerial: Close all Aerial windows"}) | ||
end | ||
}) | ||
end, | ||
dependencies = { | ||
"nvim-treesitter/nvim-treesitter", | ||
"nvim-tree/nvim-web-devicons" | ||
}, | ||
opts = {}, | ||
} | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
return { | ||
{ | ||
"airblade/vim-gitgutter", | ||
}, | ||
} | ||
|
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 |
---|---|---|
|
@@ -18,6 +18,9 @@ return { | |
"diff", | ||
"diagnostics", | ||
}, | ||
lualine_c = { | ||
"aerial", | ||
} | ||
}, | ||
}) | ||
end, | ||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
return { | ||
{ | ||
"stevearc/dressing.nvim", | ||
opts = {}, | ||
}, | ||
} | ||
|
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 |
---|---|---|
|
@@ -15,7 +15,7 @@ return { | |
}, | ||
sort_by = "case_sensitive", | ||
view = { | ||
width = 30, | ||
width = 60, | ||
}, | ||
}) | ||
|
||
|
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
Oops, something went wrong.