mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-27 05:41:45 +00:00
Compare commits
No commits in common. "d0714ea011fe2956d04300746f87231a02df700b" and "ab8ec4096cdf8ba7e09e96275f44016550ba0355" have entirely different histories.
d0714ea011
...
ab8ec4096c
@ -5,9 +5,9 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = vim.g.have_nerd_font,
|
icons_enabled = vim.g.have_nerd_font,
|
||||||
theme = 'catppuccin',
|
theme = 'auto',
|
||||||
section_separators = { left = '', right = '' },
|
component_separators = '|',
|
||||||
component_separators = { left = '', right = '' },
|
section_separators = ' ',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
25
lua/kickstart/plugins/neo-tree.lua
Normal file
25
lua/kickstart/plugins/neo-tree.lua
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
-- Neo-tree is a Neovim plugin to browse the file system
|
||||||
|
-- https://github.com/nvim-neo-tree/neo-tree.nvim
|
||||||
|
|
||||||
|
return {
|
||||||
|
'nvim-neo-tree/neo-tree.nvim',
|
||||||
|
version = '*',
|
||||||
|
dependencies = {
|
||||||
|
'nvim-lua/plenary.nvim',
|
||||||
|
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
|
||||||
|
'MunifTanjim/nui.nvim',
|
||||||
|
},
|
||||||
|
cmd = 'Neotree',
|
||||||
|
keys = {
|
||||||
|
{ '\\', ':Neotree reveal<CR>', { desc = 'NeoTree reveal' } },
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
filesystem = {
|
||||||
|
window = {
|
||||||
|
mappings = {
|
||||||
|
['\\'] = 'close_window',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
@ -4,16 +4,13 @@ return {
|
|||||||
-- change the command in the config to whatever the name of that colorscheme is.
|
-- change the command in the config to whatever the name of that colorscheme is.
|
||||||
--
|
--
|
||||||
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
||||||
'catppuccin/nvim',
|
'folke/tokyonight.nvim',
|
||||||
priority = 1000, -- Make sure to load this before all the other start plugins.
|
priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||||
init = function()
|
init = function()
|
||||||
-- Load the colorscheme here.
|
-- Load the colorscheme here.
|
||||||
vim.cmd.colorscheme 'catppuccin-mocha'
|
-- Like many other themes, this one has different styles, and you could load
|
||||||
|
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
||||||
-- Toggle light/dark mode with mocha/latte
|
vim.cmd.colorscheme 'tokyonight-night'
|
||||||
vim.keymap.set('n', '<leader>tt', function()
|
|
||||||
vim.cmd.colorscheme(vim.o.background == 'dark' and 'catppuccin-latte' or 'catppuccin-mocha')
|
|
||||||
end, { desc = '[T]oggle [T]heme' })
|
|
||||||
|
|
||||||
-- You can configure highlights by doing something like:
|
-- You can configure highlights by doing something like:
|
||||||
vim.cmd.hi 'Comment gui=none'
|
vim.cmd.hi 'Comment gui=none'
|
@ -49,6 +49,8 @@ require('lazy').setup({
|
|||||||
|
|
||||||
require 'kickstart/plugins/cmp',
|
require 'kickstart/plugins/cmp',
|
||||||
|
|
||||||
|
require 'kickstart/plugins/tokyonight',
|
||||||
|
|
||||||
require 'kickstart/plugins/todo-comments',
|
require 'kickstart/plugins/todo-comments',
|
||||||
|
|
||||||
require 'kickstart/plugins/mini',
|
require 'kickstart/plugins/mini',
|
||||||
|
Loading…
Reference in New Issue
Block a user