Compare commits
4 Commits
5e0d0dcbac
...
cad64591ce
Author | SHA1 | Date |
---|---|---|
|
cad64591ce | |
|
8134cf81d5 | |
|
f22d2d849d | |
|
812b6b7681 |
|
@ -48,5 +48,3 @@ vim.api.nvim_create_autocmd({ "DirChanged", "VimEnter" }, {
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
-- go to next comma and press enter
|
|
||||||
vim.keymap.set("n", "<M-,>", "f,a<cr><esc>")
|
|
||||||
|
|
|
@ -38,3 +38,8 @@ vim.keymap.set({ "n", "i" }, "<C-s>", "<cmd>wa<CR>", { desc = "save" })
|
||||||
--navigate buffers
|
--navigate buffers
|
||||||
--prev
|
--prev
|
||||||
vim.keymap.set({ "i", "n" }, "<M-->", "<cmd>b#<cr>", { desc = "Previous buffer." })
|
vim.keymap.set({ "i", "n" }, "<M-->", "<cmd>b#<cr>", { desc = "Previous buffer." })
|
||||||
|
|
||||||
|
--SUPER COMMA
|
||||||
|
-- go to next comma and press enter
|
||||||
|
vim.keymap.set("n", "<M-,>", "f,a<cr><esc>")
|
||||||
|
vim.keymap.set("i", "<M-,>", "<esc>A,<cr><esc>")
|
||||||
|
|
|
@ -12,4 +12,20 @@ return -- nvim v0.8.0
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
},
|
},
|
||||||
|
init = function()
|
||||||
|
--Terminal opt changes (so lazygit is a bit smoother)
|
||||||
|
local function setTerminalModeVars(on)
|
||||||
|
vim.opt.timeoutlen = on and 100 or 300
|
||||||
|
end
|
||||||
|
vim.api.nvim_create_autocmd({ "TermOpen" }, {
|
||||||
|
callback = function()
|
||||||
|
setTerminalModeVars(true)
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
vim.api.nvim_create_autocmd({ "TermClose" }, {
|
||||||
|
callback = function()
|
||||||
|
setTerminalModeVars(false)
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,20 +1,7 @@
|
||||||
local wezterm = require("wezterm")
|
|
||||||
local bg_color = wezterm.get_builtin_color_schemes()["rose-pine"].background
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
source = {
|
source = {
|
||||||
File = require("selected_bg"),
|
Color = Selected_color_scheme.background,
|
||||||
},
|
|
||||||
hsb = {
|
|
||||||
hue = 1.0,
|
|
||||||
saturation = 1,
|
|
||||||
brightness = 0.7,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
source = {
|
|
||||||
Color = bg_color,
|
|
||||||
},
|
},
|
||||||
width = "100%",
|
width = "100%",
|
||||||
height = "100%",
|
height = "100%",
|
||||||
|
|
|
@ -6,11 +6,22 @@ local config = wezterm.config_builder()
|
||||||
|
|
||||||
-- This is where you actually apply your config choices
|
-- This is where you actually apply your config choices
|
||||||
config.font = wezterm.font("GoMono Nerd Font Mono")
|
config.font = wezterm.font("GoMono Nerd Font Mono")
|
||||||
config.color_scheme = "rose-pine"
|
--This is the value you edit ↓
|
||||||
|
local color_scheme = "rose-pine"
|
||||||
|
config.color_scheme = color_scheme
|
||||||
|
Selected_color_scheme = wezterm.get_builtin_color_schemes()[color_scheme]
|
||||||
|
print(Selected_color_scheme)
|
||||||
config.hide_tab_bar_if_only_one_tab = true
|
config.hide_tab_bar_if_only_one_tab = true
|
||||||
|
|
||||||
--background
|
--background
|
||||||
config.background = require("background")
|
config.background = require("background")
|
||||||
|
config.window_padding = {
|
||||||
|
left = 2,
|
||||||
|
right = 2,
|
||||||
|
top = 0,
|
||||||
|
bottom = 0,
|
||||||
|
}
|
||||||
|
|
||||||
config.use_dead_keys = false
|
config.use_dead_keys = false
|
||||||
config.keys = require("keymaps")
|
config.keys = require("keymaps")
|
||||||
-- and finally, return the configuration to wezterm
|
-- and finally, return the configuration to wezterm
|
||||||
|
|
Loading…
Reference in New Issue