changed the theme

This commit is contained in:
2023-12-07 08:39:35 +01:00
parent f60a852a6c
commit 3df046fae3
5 changed files with 22 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
function Color(color)
color = color or "rose-pine"
color = color or "tokyonight-moon"
vim.cmd.colorscheme(color)
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })

View File

@@ -5,18 +5,22 @@ return require('packer').startup(function(use)
use 'nvim-lua/plenary.nvim'
use {
'christoomey/vim-tmux-navigator',
lazy = false
}
use {
'nvim-telescope/telescope.nvim', tag = '0.1.4',
requires = { {'nvim-lua/plenary.nvim'} }
}
use({
'rose-pine/neovim',
as = 'rose-pine',
config = function()
vim.cmd('colorscheme rose-pine')
end
})
use {
"folke/tokyonight.nvim",
lazy = false,
priority = 1000,
opts = {},
}
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })

View File

@@ -34,9 +34,6 @@ vim.keymap.set("n", "<leader>j", "<cmd>lprev<CR>zz")
vim.keymap.set("n", "<leader>s", [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left><Left>]])
vim.keymap.set("n", "<leader>x", "<cmd>!chmod +x %<CR>", { silent = true })
vim.keymap.set("n", "<leader>vpp", "<cmd>e ~/.dotfiles/nvim/.config/nvim/lua/theprimeagen/packer.lua<CR>");
vim.keymap.set("n", "<leader>mr", "<cmd>CellularAutomaton make_it_rain<CR>");
vim.keymap.set("n", "<leader><leader>", function()
vim.cmd("so")
end)

View File

@@ -28,6 +28,4 @@ vim.opt.isfname:append('@-@')
vim.opt.updatetime = 50
vim.opt.colorcolumn = '80'
vim.g.mapleader = ' '

View File

@@ -129,17 +129,16 @@ _G.packer_plugins = {
path = "/home/j409/.local/share/nvim/site/pack/packer/start/plenary.nvim",
url = "https://github.com/nvim-lua/plenary.nvim"
},
["rose-pine"] = {
config = { "\27LJ\2\n9\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\26colorscheme rose-pine\bcmd\bvim\0" },
loaded = true,
path = "/home/j409/.local/share/nvim/site/pack/packer/start/rose-pine",
url = "https://github.com/rose-pine/neovim"
},
["telescope.nvim"] = {
loaded = true,
path = "/home/j409/.local/share/nvim/site/pack/packer/start/telescope.nvim",
url = "https://github.com/nvim-telescope/telescope.nvim"
},
["tokyonight.nvim"] = {
loaded = true,
path = "/home/j409/.local/share/nvim/site/pack/packer/start/tokyonight.nvim",
url = "https://github.com/folke/tokyonight.nvim"
},
undotree = {
loaded = true,
path = "/home/j409/.local/share/nvim/site/pack/packer/start/undotree",
@@ -149,14 +148,15 @@ _G.packer_plugins = {
loaded = true,
path = "/home/j409/.local/share/nvim/site/pack/packer/start/vim-fugitive",
url = "https://github.com/tpope/vim-fugitive"
},
["vim-tmux-navigator"] = {
loaded = true,
path = "/home/j409/.local/share/nvim/site/pack/packer/start/vim-tmux-navigator",
url = "https://github.com/christoomey/vim-tmux-navigator"
}
}
time([[Defining packer_plugins]], false)
-- Config for: rose-pine
time([[Config for rose-pine]], true)
try_loadstring("\27LJ\2\n9\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0\26colorscheme rose-pine\bcmd\bvim\0", "config", "rose-pine")
time([[Config for rose-pine]], false)
_G._packer.inside_compile = false
if _G._packer.needs_bufread == true then