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) function Color(color)
color = color or "rose-pine" color = color or "tokyonight-moon"
vim.cmd.colorscheme(color) vim.cmd.colorscheme(color)
vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) 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 'nvim-lua/plenary.nvim'
use {
'christoomey/vim-tmux-navigator',
lazy = false
}
use { use {
'nvim-telescope/telescope.nvim', tag = '0.1.4', 'nvim-telescope/telescope.nvim', tag = '0.1.4',
requires = { {'nvim-lua/plenary.nvim'} } requires = { {'nvim-lua/plenary.nvim'} }
} }
use({ use {
'rose-pine/neovim', "folke/tokyonight.nvim",
as = 'rose-pine', lazy = false,
config = function() priority = 1000,
vim.cmd('colorscheme rose-pine') opts = {},
end }
})
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }) 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>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>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.keymap.set("n", "<leader><leader>", function()
vim.cmd("so") vim.cmd("so")
end) end)

View File

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

View File

@@ -129,17 +129,16 @@ _G.packer_plugins = {
path = "/home/j409/.local/share/nvim/site/pack/packer/start/plenary.nvim", path = "/home/j409/.local/share/nvim/site/pack/packer/start/plenary.nvim",
url = "https://github.com/nvim-lua/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"] = { ["telescope.nvim"] = {
loaded = true, loaded = true,
path = "/home/j409/.local/share/nvim/site/pack/packer/start/telescope.nvim", path = "/home/j409/.local/share/nvim/site/pack/packer/start/telescope.nvim",
url = "https://github.com/nvim-telescope/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 = { undotree = {
loaded = true, loaded = true,
path = "/home/j409/.local/share/nvim/site/pack/packer/start/undotree", path = "/home/j409/.local/share/nvim/site/pack/packer/start/undotree",
@@ -149,14 +148,15 @@ _G.packer_plugins = {
loaded = true, loaded = true,
path = "/home/j409/.local/share/nvim/site/pack/packer/start/vim-fugitive", path = "/home/j409/.local/share/nvim/site/pack/packer/start/vim-fugitive",
url = "https://github.com/tpope/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) 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 _G._packer.inside_compile = false
if _G._packer.needs_bufread == true then if _G._packer.needs_bufread == true then