up
This commit is contained in:
@@ -42,21 +42,7 @@ vim.keymap.set("n", "<leader>o", ":only<CR>", { silent = true })
|
||||
vim.keymap.set("n", "<leader><Tab>", ":tabn<CR>", { silent = true })
|
||||
vim.keymap.set("n", "<S-Tab>", ":tabp<CR>", { silent = true })
|
||||
|
||||
|
||||
-------------------- Clipboard --------------------
|
||||
vim.opt.clipboard = 'unnamedplus'
|
||||
|
||||
vim.g.clipboard = {
|
||||
name = 'OSC 52',
|
||||
copy = {
|
||||
['+'] = require('vim.ui.clipboard.osc52').copy('+'),
|
||||
['*'] = require('vim.ui.clipboard.osc52').copy('*'),
|
||||
},
|
||||
paste = {
|
||||
['+'] = require('vim.ui.clipboard.osc52').paste('+'),
|
||||
['*'] = require('vim.ui.clipboard.osc52').paste('*'),
|
||||
},
|
||||
}
|
||||
-- Clipboard operations
|
||||
vim.keymap.set("v", "<leader>y", '"+y')
|
||||
vim.keymap.set("n", "<leader>Y", '"+yg_')
|
||||
vim.keymap.set("n", "<leader>y", '"+y')
|
||||
@@ -64,6 +50,14 @@ vim.keymap.set("n", "<leader>yy", '"+yy')
|
||||
vim.keymap.set("n", "<leader>p", '"+p')
|
||||
vim.keymap.set("n", "<leader>P", '"+P')
|
||||
|
||||
-- Background toogling
|
||||
vim.keymap.set("n", "<leader>bg", function()
|
||||
vim.o.background = vim.o.background == "dark" and "light" or "dark"
|
||||
end, { desc = "Toggle light/dark background" })
|
||||
|
||||
-- Join paragraph
|
||||
vim.keymap.set("n", "<leader>j", "vipJ", { desc = "Join paragraph into one line" })
|
||||
|
||||
-------------------- Bootstrap lazy.nvim --------------------
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.uv.fs_stat(lazypath) then
|
||||
@@ -85,9 +79,10 @@ require("lazy").setup({
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require("gruvbox").setup({
|
||||
contrast = "hard",
|
||||
contrast = "soft",
|
||||
})
|
||||
vim.cmd.colorscheme("gruvbox")
|
||||
vim.o.background = "light"
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
@@ -3,20 +3,18 @@
|
||||
"coq.artifacts": { "branch": "artifacts", "commit": "ef5f21d638ccc456cfa5b8d0ab37093cefe48c8b" },
|
||||
"coq.thirdparty": { "branch": "3p", "commit": "2bd969a2bcd2624f9c260b1000957c7e665e308e" },
|
||||
"coq_nvim": { "branch": "coq", "commit": "d939a34ceb2b57d2937890337a4aa75eb55e18a8" },
|
||||
"gruvbox.nvim": { "branch": "main", "commit": "561126520034a1dac2f78ab063db025d12555998" },
|
||||
"julia-vim": { "branch": "master", "commit": "edd3512748bd07252fa79f3c01b759921192a319" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
||||
"fzf-lua": { "branch": "main", "commit": "d9508cc1d05ffcdc91a32dfd38fc1013a56b20da" },
|
||||
"gruvbox.nvim": { "branch": "main", "commit": "334d5fd49fc8033f26408425366c66c6390c57bb" },
|
||||
"julia-vim": { "branch": "master", "commit": "52b30547346b21bc93acda28d626795667f9e087" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" },
|
||||
"nvim-bqf": { "branch": "main", "commit": "f65fba733268ffcf9c5b8ac381287eca7c223422" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "44acfe887d4056f704ccc4f17513ed41c9e2b2e6" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "e11ce83ed9a00f065bf676ae4e6c261c766989ba" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "746ffbb17975ebd6c40142362eee1b0249969c5c" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "61b51c09b7c9ce04e821f6cf76ea4f6f903e3cf4" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "0203a9608d63eda57679b01e69f33a7b4c34b0d1" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "4b30847c91d498446cb8440c03031359b045e050" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
||||
"vim-fugitive": { "branch": "master", "commit": "3b753cf8c6a4dcde6edee8827d464ba9b8c4a6f0" },
|
||||
"vim-ime": { "branch": "master", "commit": "79e3b02eb50a57305113550be7ca163b267b5e30" },
|
||||
"viml-surround": { "branch": "master", "commit": "98358bad347aa2b8a180c2edde84c3bd8a51fdd1" },
|
||||
"vimtex": { "branch": "master", "commit": "95b93a24740f7b89dd8331326b41bdd1337d79f6" }
|
||||
"vimtex": { "branch": "master", "commit": "82d2305ff71dfb3bd91602534cc9bb9a195bcb38" }
|
||||
}
|
||||
|
||||
@@ -3,11 +3,11 @@ local config = wezterm.config_builder()
|
||||
|
||||
-- Font
|
||||
config.font = wezterm.font '0xProto Nerd Font'
|
||||
config.font_size = 13
|
||||
config.font_size = 14
|
||||
|
||||
|
||||
-- Appearance
|
||||
config.color_scheme = 'Tokyo Night'
|
||||
config.color_scheme = 'Gruvbox Material (Gogh)'
|
||||
config.enable_tab_bar = false
|
||||
config.window_padding = {
|
||||
left = 4, right = 4, top = 4, bottom = 4,
|
||||
|
||||
Reference in New Issue
Block a user