consoildating plugins by function. updated repeat command shortcut
This commit is contained in:
@@ -4,7 +4,7 @@ local nvim_opacity = "0.85"
|
||||
local default_opacity = "0.6"
|
||||
-- Function to talk to Kitty
|
||||
local function set_kitty_opacity(opacity)
|
||||
print("Attempting to set opacity to: " .. opacity)
|
||||
-- print("Attempting to set opacity to: " .. opacity)
|
||||
os.execute("kitty @ set-background-opacity " .. opacity)
|
||||
end
|
||||
-- Set up the autocommands
|
||||
|
||||
@@ -3,6 +3,14 @@ vim.keymap.set('n', '<Tab>', ':bnext<CR>')
|
||||
vim.keymap.set('n', '<S-Tab>', ':bprev<CR>')
|
||||
vim.keymap.set('n', '<leader>x', ':bdelete<CR>')
|
||||
|
||||
-- resizing pains with resize.lua shortcut
|
||||
vim.keymap.set('n', '<M-Left>', "<cmd>lua require('resize').ResizeLeft()<CR>")
|
||||
vim.keymap.set('n', '<M-Right>', "<cmd>lua require('resize').ResizeRight()<CR>")
|
||||
vim.keymap.set('n', '<M-Up>', "<cmd>lua require('resize').ResizeUp()<CR>")
|
||||
vim.keymap.set('n', '<M-Down>', "<cmd>lua require('resize').ResizeDown()<CR>")
|
||||
|
||||
|
||||
|
||||
-- termunal interface shortcuts
|
||||
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
||||
-- Diagnostic keymaps
|
||||
|
||||
@@ -3,24 +3,24 @@
|
||||
function M.setup()
|
||||
require('base16-colorscheme').setup {
|
||||
-- Background tones
|
||||
base00 = '#191724', -- Default Background
|
||||
base01 = '#26233a', -- Lighter Background (status bars)
|
||||
base02 = '#2e2b47', -- Selection Background
|
||||
base03 = '#656182', -- Comments, Invisibles
|
||||
base00 = '#181212', -- Default Background
|
||||
base01 = '#241e1e', -- Lighter Background (status bars)
|
||||
base02 = '#2f2828', -- Selection Background
|
||||
base03 = '#a08c8b', -- Comments, Invisibles
|
||||
-- Foreground tones
|
||||
base04 = '#908caa', -- Dark Foreground (status bars)
|
||||
base05 = '#e0def4', -- Default Foreground
|
||||
base06 = '#e0def4', -- Light Foreground
|
||||
base07 = '#e0def4', -- Lightest Foreground
|
||||
base04 = '#d7c1c1', -- Dark Foreground (status bars)
|
||||
base05 = '#ece0df', -- Default Foreground
|
||||
base06 = '#ece0df', -- Light Foreground
|
||||
base07 = '#ece0df', -- Lightest Foreground
|
||||
-- Accent colors
|
||||
base08 = '#eb6f92', -- Variables, XML Tags, Errors
|
||||
base09 = '#31748f', -- Integers, Constants
|
||||
base0A = '#9ccfd8', -- Classes, Search Background
|
||||
base0B = '#ebbcba', -- Strings, Diff Inserted
|
||||
base0C = '#96d1e9', -- Regex, Escape Chars
|
||||
base0D = '#e99996', -- Functions, Methods
|
||||
base0E = '#96dce9', -- Keywords, Storage
|
||||
base0F = '#a00833', -- Deprecated, Embedded Tags
|
||||
base08 = '#ffb4ab', -- Variables, XML Tags, Errors
|
||||
base09 = '#e4c18d', -- Integers, Constants
|
||||
base0A = '#e6bdbb', -- Classes, Search Background
|
||||
base0B = '#ffb3b2', -- Strings, Diff Inserted
|
||||
base0C = '#e4c18d', -- Regex, Escape Chars
|
||||
base0D = '#ffb3b2', -- Functions, Methods
|
||||
base0E = '#e6bdbb', -- Keywords, Storage
|
||||
base0F = '#93000a', -- Deprecated, Embedded Tags
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
@@ -22,4 +22,9 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim' }, -- if you use the mini.nvim suite
|
||||
---@module 'render-markdown'
|
||||
},
|
||||
}
|
||||
|
||||
@@ -29,8 +29,5 @@ return {
|
||||
|
||||
require('mini.clue').setup()
|
||||
|
||||
require('mini.pairs').setup()
|
||||
|
||||
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
return {
|
||||
'nvim-tree/nvim-tree.lua',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
dependencies = {
|
||||
'nvim-tree/nvim-web-devicons',
|
||||
},
|
||||
config = function()
|
||||
require("nvim-tree").setup({
|
||||
view = {
|
||||
@@ -10,7 +12,7 @@ return {
|
||||
actions = {
|
||||
open_file = {
|
||||
-- This is the "open in adjacent pane" equivalent
|
||||
window_picker = { enable = true },
|
||||
window_picker = { enable = true },
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
return {
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim' }, -- if you use the mini.nvim suite
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins
|
||||
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
|
||||
---@module 'render-markdown'
|
||||
-- ---@type render.md.UserConfig
|
||||
}
|
||||
Reference in New Issue
Block a user