patch-8-27-2024

This commit is contained in:
dover_shen 2024-08-27 22:56:16 +08:00
parent 4b0e638557
commit ea9f710eb5
2 changed files with 66 additions and 3 deletions

View File

@ -738,19 +738,59 @@ require('lazy').setup({
-- 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`.
'sainnhe/everforest', -- 'sainnhe/everforest',
-- 'catppuccin/nvim', -- 'catppuccin/nvim',
'navarasu/onedark.nvim',
-- 'Mofiqul/vscode.nvim',
-- 'folke/tokyonight',
-- 'AlexvZyl/nordic.nvim',
-- 'mhartington/oceanic-next',
-- 'ntk148v/habamax.nvim',
-- 'shaunsingh/nord.nvim',
-- 'fcancelinha/nordern.nvim',
lazy = false,
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.
config = function() config = function()
vim.g.everforest_enable_italic = true -- require('onedark').setup {
-- style = 'dark',
-- }
-- vim.g.everforest_enable_italic = true
-- vim.g.everforest_disable_terminal_colors = false
-- vim.g.everforest_background = 'hard' -- vim.g.everforest_background = 'hard'
-- require('nordic').load()
-- require('lualine').setup {
-- options = {
-- theme = 'nordic',
-- },
-- }
-- local palette = require 'nordic.colors'
-- require('nordic').setup {
-- override = {
-- TelescopePromptTitle = {
-- fg = palette.red.bright,
-- bg = palette.green.base,
-- italic = true,
-- underline = true,
-- sp = palette.yellow.dim,
-- undercurl = false,
-- },
-- },
-- }
end, end,
init = function() init = function()
-- Load the colorscheme here. -- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load -- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
vim.cmd.colorscheme 'everforest' -- vim.cmd.colorscheme 'tokyonight'
-- vim.cmd.colorscheme 'everforest'
-- vim.cmd.colorscheme 'catppuccin-frappe' -- vim.cmd.colorscheme 'catppuccin-frappe'
vim.cmd.colorscheme 'onedark'
-- vim.cmd.colorscheme 'vscode'
-- vim.cmd.colorscheme 'nordic'
-- vim.cmd.colorscheme 'OceanicNext'
-- vim.cmd.colorscheme 'habamax'
-- vim.cmd.colorscheme 'nord'
-- vim.cmd.colorscheme 'nordern'
-- 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'

View File

@ -0,0 +1,23 @@
return {
{
'akinsho/toggleterm.nvim',
version = '*',
config = function()
require('toggleterm').setup {
size = 15,
open_mapping = [[<c-\>]],
}
-- function _G.set_terminal_keymaps()
-- local opts = { buffer = 0 }
-- vim.keymap.set('t', '<esc>', [[<C-\><C-n>]], opts)
-- vim.keymap.set('t', 'jk', [[<C-\><C-n>]], opts)
-- vim.keymap.set('t', '<C-h>', [[<Cmd>wincmd h<CR>]], opts)
-- vim.keymap.set('t', '<C-j>', [[<Cmd>wincmd j<CR>]], opts)
-- vim.keymap.set('t', '<C-k>', [[<Cmd>wincmd k<CR>]], opts)
-- vim.keymap.set('t', '<C-l>', [[<Cmd>wincmd l<CR>]], opts)
-- vim.keymap.set('t', '<C-w>', [[<C-\><C-n><C-w>]], opts)
-- end
-- vim.cmd 'autocmd! TermOpen term://* lua set_terminal_keymaps()'
end,
},
}