diff options
| author | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
|---|---|---|
| committer | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
| commit | 8a830941a9567f43bb0df9d93d124c1457760b24 (patch) | |
| tree | 065a442f33915d9b58dcc8edd6c3fa2e9eeaa2e3 /.config/nvim/lua | |
| parent | a9543507cd947954a28e68d967f981cf389f4ee9 (diff) | |
Update
Diffstat (limited to '.config/nvim/lua')
| -rw-r--r-- | .config/nvim/lua/map.lua | 4 | ||||
| -rw-r--r-- | .config/nvim/lua/plugin/setup.lua | 45 |
2 files changed, 47 insertions, 2 deletions
diff --git a/.config/nvim/lua/map.lua b/.config/nvim/lua/map.lua index ced64d7..a627bb5 100644 --- a/.config/nvim/lua/map.lua +++ b/.config/nvim/lua/map.lua @@ -61,8 +61,8 @@ vim.keymap.set("n", "dc", "cc<ESC>", {}) vim.keymap.set({"n", "v", "o"}, "+", "$", {}) -- Allow yanking to system clipboard -vim.keymap.set(nv, "<C-c>", "\"+y", {}) -vim.keymap.set(nv, "<C-v>", "\"+p", {}) +vim.keymap.set(nv, "<leader>y", "\"+y", {}) +vim.keymap.set(nv, "<leader>p", "\"+p", {}) -- Commands vim.keymap.set(nv, "<leader>c", "<CMD>set invhlsearch<CR>", {silent=true}) diff --git a/.config/nvim/lua/plugin/setup.lua b/.config/nvim/lua/plugin/setup.lua index b2fe8f7..47bd447 100644 --- a/.config/nvim/lua/plugin/setup.lua +++ b/.config/nvim/lua/plugin/setup.lua @@ -10,8 +10,53 @@ require("oil").setup { }, } +vim.cmd.colorscheme("mine") + +local colors = { + white = "#FFFFFF", + pink = "#FF4499", + dark_pink = "#D8225F", + green = "#22CC55", + bg = "#222222", + bg_alt = "#333333", +} + +local theme = { + normal = { + a = {bg = colors.pink, fg = colors.white, gui = 'bold,italic'}, + b = {bg = colors.bg, fg = colors.white}, + c = {bg = colors.bg, fg = colors.white} + }, + insert = { + a = {bg = colors.dark_pink, fg = colors.white, gui = 'bold,italic'}, + b = {bg = colors.bg, fg = colors.white}, + c = {bg = colors.bg, fg = colors.white} + }, + visual = { + a = {bg = colors.green, fg = colors.white, gui = 'bold,italic'}, + b = {bg = colors.lightgray, fg = colors.white}, + c = {bg = colors.lightgray, fg = colors.white} + }, + replace = { + a = {bg = colors.pink, fg = colors.whtie, gui = 'bold,italic'}, + b = {bg = colors.bg, fg = colors.white}, + c = {bg = colors.bg, fg = colors.white} + }, + command = { + a = {bg = colors.bg_alt, fg = colors.black, gui = 'bold,italic'}, + b = {bg = colors.bg, fg = colors.white}, + c = {bg = colors.bg, fg = colors.white} + }, + inactive = { + a = {bg = colors.pink, fg = colors.white, gui = 'bold,italic'}, + b = {bg = colors.bg, fg = colors.white}, + c = {bg = colors.bg, fg = colors.white} + } +} + require("lualine").setup { options = { + theme = theme, component_separators = { left = "", right = "" }, section_separators = { left = "", right = "" }, }, |
