colorscheme
This commit is contained in:
parent
c4f4b76230
commit
07e6cb05c6
15
init.lua
15
init.lua
|
@ -1,10 +1,11 @@
|
|||
vim.g.mapleader = ' '
|
||||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
vim.opt.cmdheight = 0
|
||||
|
||||
-- Install package manager
|
||||
-- https://github.com/folke/lazy.nvim
|
||||
-- `:help lazy.nvim.txt` for more info
|
||||
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
|
||||
local lazypath = vim.fn.stdpath 'data' .. '/lazy/lazy.nvim'
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
vim.fn.system {
|
||||
'git',
|
||||
|
@ -113,6 +114,16 @@ require('lazy').setup({
|
|||
icons_enabled = true,
|
||||
component_separators = '|',
|
||||
section_separators = '',
|
||||
always_divide_middle = true,
|
||||
},
|
||||
sections = {
|
||||
lualine_a = { 'mode' },
|
||||
lualine_b = { 'filename' },
|
||||
-- lualine_c = { 'diagnostics' },
|
||||
lualine_c = {},
|
||||
lualine_x = { 'branch', }, --'fileformat', 'filetype' },
|
||||
lualine_y = { 'progress' },
|
||||
lualine_z = { 'location' }
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
@ -5,17 +5,26 @@ return {
|
|||
|
||||
-- [[ Colorscheme ]]
|
||||
{
|
||||
"bluz71/vim-moonfly-colors",
|
||||
name = "moonfly",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
'habamax/vim-alchemist',
|
||||
config = function()
|
||||
vim.cmd [[colorscheme moonfly]]
|
||||
vim.g.moonflytransparent = true
|
||||
vim.g.moonflyItalics = false
|
||||
vim.g.alchemist_transp_bg = true
|
||||
vim.g.alchemist_transp_bg = true
|
||||
vim.cmd [[colorscheme alchemist]]
|
||||
end
|
||||
},
|
||||
-- {
|
||||
--
|
||||
|
||||
-- name = "moonfly",
|
||||
-- lazy = false,
|
||||
-- priority = 1000,
|
||||
-- config = function()
|
||||
-- vim.cmd [[colorscheme moonfly]]
|
||||
-- vim.g.moonflytransparent = true
|
||||
-- vim.g.moonflyItalics = false
|
||||
-- end
|
||||
-- },
|
||||
-- {
|
||||
-- "catppuccin/nvim",
|
||||
-- name = "catppuccin",
|
||||
-- priority = 1000,
|
||||
|
@ -57,6 +66,7 @@ return {
|
|||
-- vim.cmd.colorscheme "catppuccin"
|
||||
-- end
|
||||
-- },
|
||||
--
|
||||
{
|
||||
"folke/trouble.nvim",
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||
|
@ -515,4 +525,3 @@ Filename: {{ filename }}
|
|||
|
||||
--
|
||||
}
|
||||
--
|
||||
|
|
|
@ -32,6 +32,7 @@ vim.opt.showmode = false
|
|||
|
||||
-- Set colorscheme
|
||||
vim.o.termguicolors = true
|
||||
-- vim.cmd([[colorscheme habamax]])
|
||||
|
||||
local map = vim.api.nvim_set_keymap
|
||||
local opts = { noremap = true, silent = true }
|
||||
|
@ -122,7 +123,7 @@ map("n", "<leader>zz", ":ZenMode<CR>", opts)
|
|||
--
|
||||
-- open my main notes file
|
||||
if os == "Windows_NT" then
|
||||
map("n", "<leader>ww", ":e ~/zet/index.md<CR>", opts)
|
||||
map("n", "<leader>ww", ":e ~/zet/index.md<CR> :cd <CR>", opts)
|
||||
map("n", "<leader>ecf", ":e ~/Appdata/Local/nvim/init.lua<CR> :cd<CR>", opts)
|
||||
elseif os == "Linux" then
|
||||
map("n", "<leader>ww", ":e ~/zet/index.md<CR> :cd<CR>", opts)
|
||||
|
|
Loading…
Reference in New Issue