fresh
This commit is contained in:
1 parent
0cbbf662e3
commit
64c040da7d
26 files changed
+263
-169
No files matched your search
@@ -1,75 +0,0 @@
|
||||
return {
|
||||
"michaelb/sniprun",
|
||||
run = "bash ./install.sh",
|
||||
cmd = { "SnipRun", "SnipInfo", "SnipLive", "SnipClose", "SnipReset", "SnipReplMemoryClean" },
|
||||
opts = {
|
||||
selected_interpreters = {}, --# use those instead of the default for the current filetype
|
||||
repl_enable = { "javascript", "typescript" }, --# enable REPL-like behavior for the given interpreters
|
||||
repl_disable = {}, --# disable REPL-like behavior for the given interpreters
|
||||
|
||||
interpreter_options = {
|
||||
--# interpreter-specific options, see docs / :SnipInfo <name>
|
||||
|
||||
--# use the interpreter name as key
|
||||
GFM_original = {
|
||||
use_on_filetypes = { "markdown.pandoc" }, --# the 'use_on_filetypes' configuration key is
|
||||
--# available for every interpreter
|
||||
},
|
||||
Python3_original = {
|
||||
error_truncate = "auto", --# Truncate runtime errors 'long', 'short' or 'auto'
|
||||
--# the hint is available for every interpreter
|
||||
--# but may not be always respected
|
||||
},
|
||||
},
|
||||
|
||||
--# you can combo different display modes as desired and with the 'Ok' or 'Err' suffix
|
||||
--# to filter only sucessful runs (or errored-out runs respectively)
|
||||
display = {
|
||||
-- "Classic", --# display results in the command-line area
|
||||
-- "VirtualTextOk", --# display ok results as virtual text (multiline is shortened)
|
||||
|
||||
"VirtualText", --# display results as virtual text
|
||||
-- "TempFloatingWindow", --# display results in a floating window
|
||||
-- "LongTempFloatingWindow", --# same as above, but only long results. To use with VirtualText[Ok/Err]
|
||||
-- "Terminal", --# display results in a vertical split
|
||||
-- "TerminalWithCode", --# display results and code history in a vertical split
|
||||
-- "NvimNotify", --# display with the nvim-notify plugin
|
||||
-- "Api" --# return output to a programming interface
|
||||
},
|
||||
|
||||
live_display = { "VirtualTextOk" }, --# display mode used in live_mode
|
||||
|
||||
display_options = {
|
||||
terminal_scrollback = vim.o.scrollback, --# change terminal display scrollback lines
|
||||
terminal_line_number = false, --# whether show line number in terminal window
|
||||
terminal_signcolumn = false, --# whether show signcolumn in terminal window
|
||||
terminal_persistence = true, --# always keep the terminal open (true) or close it at every occasion (false)
|
||||
terminal_width = 45, --# change the terminal display option width
|
||||
notification_timeout = 5, --# timeout for nvim_notify output
|
||||
},
|
||||
|
||||
--# You can use the same keys to customize whether a sniprun producing
|
||||
--# no output should display nothing or '(no output)'
|
||||
show_no_output = {
|
||||
"Classic",
|
||||
"TempFloatingWindow", --# implies LongTempFloatingWindow, which has no effect on its own
|
||||
},
|
||||
|
||||
--# customize highlight groups (setting this overrides colorscheme)
|
||||
-- snipruncolors = {
|
||||
-- SniprunVirtualTextOk = { bg = "#66eeff", fg = "#000000", ctermbg = "Cyan", cterfg = "Black" },
|
||||
-- SniprunFloatingWinOk = { fg = "#66eeff", ctermfg = "Cyan" },
|
||||
-- SniprunVirtualTextErr = { bg = "#881515", fg = "#000000", ctermbg = "DarkRed", cterfg = "Black" },
|
||||
-- SniprunFloatingWinErr = { fg = "#881515", ctermfg = "DarkRed" },
|
||||
-- },
|
||||
|
||||
live_mode_toggle = "off", --# live mode toggle, see Usage - Running for more info
|
||||
|
||||
--# miscellaneous compatibility/adjustement settings
|
||||
inline_messages = false, --# inline_message (0/1) is a one-line way to display messages
|
||||
--# to workaround sniprun not being able to display anything
|
||||
|
||||
borders = "single", --# display borders around floating windows
|
||||
--# possible values are 'none', 'single', 'double', or 'shadow'
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
return {
|
||||
{
|
||||
"michaelb/sniprun",
|
||||
run = "bash ./install.sh",
|
||||
cmd = { "SnipRun", "SnipInfo", "SnipLive", "SnipClose", "SnipReset", "SnipReplMemoryClean" },
|
||||
opts = {
|
||||
selected_interpreters = {}, --# use those instead of the default for the current filetype
|
||||
repl_enable = { "javascript", "typescript" }, --# enable REPL-like behavior for the given interpreters
|
||||
repl_disable = {}, --# disable REPL-like behavior for the given interpreters
|
||||
|
||||
interpreter_options = {
|
||||
GFM_original = {
|
||||
use_on_filetypes = { "markdown.pandoc" }, --# the 'use_on_filetypes' configuration key is
|
||||
},
|
||||
Python3_original = {
|
||||
error_truncate = "auto", --# Truncate runtime errors 'long', 'short' or 'auto'
|
||||
},
|
||||
},
|
||||
|
||||
display = {
|
||||
"VirtualText", --# display results as virtual text
|
||||
},
|
||||
|
||||
live_display = { "VirtualTextOk" }, --# display mode used in live_mode
|
||||
|
||||
display_options = {
|
||||
terminal_scrollback = vim.o.scrollback, --# change terminal display scrollback lines
|
||||
terminal_line_number = false, --# whether show line number in terminal window
|
||||
terminal_signcolumn = false, --# whether show signcolumn in terminal window
|
||||
terminal_persistence = true, --# always keep the terminal open (true) or close it at every occasion (false)
|
||||
terminal_width = 45, --# change the terminal display option width
|
||||
notification_timeout = 5, --# timeout for nvim_notify output
|
||||
},
|
||||
|
||||
--# You can use the same keys to customize whether a sniprun producing
|
||||
--# no output should display nothing or '(no output)'
|
||||
show_no_output = {
|
||||
"Classic",
|
||||
"TempFloatingWindow", --# implies LongTempFloatingWindow, which has no effect on its own
|
||||
},
|
||||
|
||||
live_mode_toggle = "off", --# live mode toggle, see Usage - Running for more info
|
||||
|
||||
inline_messages = false, --# inline_message (0/1) is a one-line way to display messages
|
||||
|
||||
borders = "single", --# display borders around floating windows
|
||||
--# possible values are 'none', 'single', 'double', or 'shadow'
|
||||
},
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "<leader>cur", "<cmd>SnipRun<cr>", desc = "Run" },
|
||||
{ "<F6>", "<cmd>SnipRun<cr>", desc = "Run" },
|
||||
{ "<leader>cur", function() require("sniprun").run("v") end, mode = { "v" }, desc = "Run" },
|
||||
{ "<F6>", function() require("sniprun").run("v") end, mode = { "v" }, desc = "Run" },
|
||||
{ "<leader>cui", function() require("sniprun").info() end, desc = "Info" },
|
||||
{ "<leader>cuR", function() require("sniprun").reset() end, desc = "Reset" },
|
||||
{ "<S-F6>", function() require("sniprun").reset() end, desc = "Reset" },
|
||||
{ "<leader>cul", function() require("sniprun.live_mode").toggle() end, desc = "Live" },
|
||||
},
|
||||
},
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
opts = {
|
||||
defaults = {
|
||||
["<leader>cu"] = { name = "runner" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -3,14 +3,24 @@ return {
|
||||
opts = { useDefaultKeymaps = false },
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{ "im", ft = { "markdown" }, mode = { "o", "x" }, function() require("various-textobjs").mdlink("inner") end, desc = "Markdown Link", },
|
||||
{ "am", ft = { "markdown" }, mode = { "o", "x" }, function() require("various-textobjs").mdlink("outer") end, desc = "Markdown Link", },
|
||||
{ "iC", ft = { "markdown" }, mode = { "o", "x" }, function() require("various-textobjs").mdFencedCodeBlock("inner") end, desc = "CodeBlock", },
|
||||
{ "aC", ft = { "markdown" }, mode = { "o", "x" }, function() require("various-textobjs").mdFencedCodeBlock("outer") end, desc = "CodeBlock", },
|
||||
{ "gd", mode = { "o", "x" }, function() require("various-textobjs").diagnostics() end, desc = "Diagnostics", },
|
||||
{ "iy", ft = { "python" }, mode = { "o", "x" }, function() require("various-textobjs").pyTripleQuotes("inner") end, desc = "Triple Quotes", },
|
||||
{ "ay", ft = { "python" }, mode = { "o", "x" }, function() require("various-textobjs").pyTripleQuotes("outer") end, desc = "Triple Quotes", },
|
||||
{ "iC", ft = { "css", "scss", "less" }, mode = { "o", "x" }, function() require("various-textobjs").cssSelector("inner") end, desc = "CSS Selector", },
|
||||
{ "aC", ft = { "css", "scss", "less" }, mode = { "o", "x" }, function() require("various-textobjs").cssSelector("outer") end, desc = "CSS Selector", },
|
||||
{ "im", ft = { "markdown", "toml" }, mode = { "o", "x" }, function() require("various-textobjs").mdlink("inner") end, desc = "Markdown Link" },
|
||||
{ "am", ft = { "markdown", "toml" }, mode = { "o", "x" }, function() require("various-textobjs").mdlink("outer") end, desc = "Markdown Link" },
|
||||
{ "iC", ft = { "markdown" }, mode = { "o", "x" }, function() require("various-textobjs").mdFencedCodeBlock("inner") end, desc = "CodeBlock" },
|
||||
{ "aC", ft = { "markdown" }, mode = { "o", "x" }, function() require("various-textobjs").mdFencedCodeBlock("outer") end, desc = "CodeBlock" },
|
||||
{ "gd", mode = { "o", "x" }, function() require("various-textobjs").diagnostics() end, desc = "Diagnostics" },
|
||||
{ "iy", ft = { "python" }, mode = { "o", "x" }, function() require("various-textobjs").pyTripleQuotes("inner") end, desc = "Triple Quotes" },
|
||||
{ "ay", ft = { "python" }, mode = { "o", "x" }, function() require("various-textobjs").pyTripleQuotes("outer") end, desc = "Triple Quotes" },
|
||||
{ "iC", ft = { "css", "scss", "less" }, mode = { "o", "x" }, function() require("various-textobjs").cssSelector("inner") end, desc = "CSS Selector" },
|
||||
{ "aC", ft = { "css", "scss", "less" }, mode = { "o", "x" }, function() require("various-textobjs").cssSelector("outer") end, desc = "CSS Selector" },
|
||||
{ "iP", ft = { "sh" }, mode = { "o", "x" }, function() require("various-textobjs").shellPipe("inner") end, desc = "Pipe" },
|
||||
{ "aP", ft = { "sh" }, mode = { "o", "x" }, function() require("various-textobjs").shellPipe("outer") end, desc = "Pipe" },
|
||||
{ "iH", ft = { "html, xml, css, scss, less" }, mode = { "o", "x" }, function() require("various-textobjs").htmlAttribute("inner") end, desc = "HTML Attribute" },
|
||||
{ "iv", mode = { "o", "x" }, function() require("various-textobjs").value("inner") end, desc = "Value" },
|
||||
{ "av", mode = { "o", "x" }, function() require("various-textobjs").value("outer") end, desc = "Value" },
|
||||
{ "ik", mode = { "o", "x" }, function() require("various-textobjs").key("inner") end, desc = "Key" },
|
||||
{ "ak", mode = { "o", "x" }, function() require("various-textobjs").key("outer") end, desc = "Key" },
|
||||
{ "L", mode = { "o", "x" }, function() require("various-textobjs").url() end, desc = "Link" },
|
||||
{ "iN", mode = { "o", "x" }, function() require("various-textobjs").number("inner") end, desc = "Number" },
|
||||
{ "aN", mode = { "o", "x" }, function() require("various-textobjs").number("outer") end, desc = "Number" },
|
||||
},
|
||||
}
|
||||
+15
@@ -16,6 +16,21 @@ return {
|
||||
},
|
||||
{
|
||||
"stevearc/overseer.nvim",
|
||||
cmd = {
|
||||
"OverseerOpen",
|
||||
"OverseerClose",
|
||||
"OverseerToggle",
|
||||
"OverseerSaveBundle",
|
||||
"OverseerLoadBundle",
|
||||
"OverseerDeleteBundle",
|
||||
"OverseerRunCmd",
|
||||
"OverseerRun",
|
||||
"OverseerInfo",
|
||||
"OverseerBuild",
|
||||
"OverseerQuickAction",
|
||||
"OverseerTaskAction ",
|
||||
"OverseerClearCache",
|
||||
},
|
||||
opts = {
|
||||
task_list = {
|
||||
direction = "bottom",
|
||||
@@ -11,7 +11,6 @@ return {
|
||||
{ "<leader>gG", "<cmd>FloatermNew --disposable --name=lazygitbuffer --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<buffer> lazygit<CR>", desc = "Lazygit (cwd)" },
|
||||
{ "<leader>Td", "<cmd>FloatermNew --disposable --name=lazydocker --opener=edit --titleposition=center --height=0.85 --width=0.85 lazydocker<CR>", desc = "Lazydocker" },
|
||||
{ "<leader>Tb", "<cmd>FloatermNew --disposable --name=btop --opener=edit --titleposition=center --height=0.85 --width=0.85 btop<CR>", desc = "Btop" },
|
||||
{ "<leader>fd", "<cmd>FloatermNew --disposable --name=dots --opener=edit --titleposition=center --height=0.85 --width=0.85 dots<CR>", desc = "Dotfiles" },
|
||||
{ "<leader>Tn", "<cmd>FloatermNew --disposable --name=navi --opener=edit --titleposition=center --height=0.85 --width=0.85 pages<CR>", desc = "Navi Pages" },
|
||||
{ "<leader>Tp", "<cmd>FloatermNew --disposable --name=proc --opener=edit --titleposition=center --height=0.85 --width=0.85 proc<CR>", desc = "Systemd Processes" },
|
||||
{ "<leader>TB", "<cmd>FloatermNew --disposable --name=bandwhich --opener=edit --titleposition=center --height=0.85 --width=0.85 bandwhich<CR>", desc = "Bandwidth" },
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"ribru17/bamboo.nvim",
|
||||
name = "bamboo",
|
||||
lazy = false,
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"rockerBOO/boo-colorscheme-nvim",
|
||||
name = "boo",
|
||||
lazy = false,
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
local macchiato = require("catppuccin.palettes").get_palette("macchiato")
|
||||
|
||||
return {
|
||||
{
|
||||
"catppuccin/nvim",
|
||||
lazy = false,
|
||||
name = "catppuccin",
|
||||
opts = {
|
||||
background = {
|
||||
light = "latte",
|
||||
dark = "macchiato",
|
||||
},
|
||||
integrations = {
|
||||
alpha = true,
|
||||
cmp = true,
|
||||
barbecue = {
|
||||
dim_dirname = true, -- directory name is dimmed by default
|
||||
bold_basename = true,
|
||||
dim_context = false,
|
||||
alt_background = false,
|
||||
},
|
||||
dap = true,
|
||||
dap_ui = true,
|
||||
dashboard = true,
|
||||
flash = true,
|
||||
headlines = true,
|
||||
gitsigns = true,
|
||||
harpoon = false,
|
||||
illuminate = true,
|
||||
indent_blankline = {
|
||||
enabled = true,
|
||||
scope_color = "lavender", -- catppuccin color (eg. `lavender`) Default: text
|
||||
colored_indent_levels = false,
|
||||
},
|
||||
mason = true,
|
||||
markdown = true,
|
||||
mini = true,
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
virtual_text = {
|
||||
errors = { "italic" },
|
||||
hints = { "italic" },
|
||||
warnings = { "italic" },
|
||||
information = { "italic" },
|
||||
},
|
||||
underlines = {
|
||||
errors = { "underline" },
|
||||
hints = { "underline" },
|
||||
warnings = { "underline" },
|
||||
information = { "underline" },
|
||||
},
|
||||
inlay_hints = {
|
||||
background = true,
|
||||
},
|
||||
},
|
||||
lsp_trouble = false,
|
||||
navic = { enabled = false, custom_bg = "lualine" },
|
||||
neotest = true,
|
||||
neotree = true,
|
||||
notify = true,
|
||||
noice = true,
|
||||
ufo = true,
|
||||
overseer = false,
|
||||
octo = false,
|
||||
rainbow_delimiters = true,
|
||||
semantic_tokens = true,
|
||||
telescope = {
|
||||
enabled = true,
|
||||
style = "nvchad",
|
||||
},
|
||||
symbols_outline = false,
|
||||
treesitter = true,
|
||||
treesitter_context = false,
|
||||
which_key = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"akinsho/bufferline.nvim",
|
||||
opts = {
|
||||
highlights = require("catppuccin.groups.integrations.bufferline").get({
|
||||
styles = { "italic", "bold" },
|
||||
custom = {
|
||||
all = {
|
||||
fill = { bg = macchiato.mantle },
|
||||
background = { bg = macchiato.mantle },
|
||||
},
|
||||
},
|
||||
}),
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"sainnhe/edge",
|
||||
name = "edge",
|
||||
lazy = false,
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"sainnhe/gruvbox-material",
|
||||
name = "gruvbox-material",
|
||||
lazy = false,
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"ramojus/mellifluous.nvim",
|
||||
name = "mellifluous",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"xero/miasma.nvim",
|
||||
name = "miasma",
|
||||
lazy = false,
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"bluz71/vim-moonfly-colors",
|
||||
name = "moonfly",
|
||||
lazy = false,
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"shaunsingh/moonlight.nvim",
|
||||
name = "moonlight",
|
||||
lazy = false,
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
return {
|
||||
"mhartington/oceanic-next",
|
||||
name = "oceanic-next",
|
||||
lazy = false,
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
return {
|
||||
"mcchrish/zenbones.nvim",
|
||||
name = "zenbones",
|
||||
lazy = false,
|
||||
opts = {},
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
{
|
||||
"mvllow/modes.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {},
|
||||
},
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
optional = true,
|
||||
opts = {
|
||||
triggers_blacklist = {
|
||||
n = { "d", "y" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
return {
|
||||
"m4xshen/hardtime.nvim",
|
||||
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim" },
|
||||
event = "VeryLazy",
|
||||
event = "LazyFile",
|
||||
keys = {
|
||||
{ "<leader>uH", "<cmd>Hardtime toggle<CR>", desc = "Toggle Hardtime" },
|
||||
},
|
||||
@@ -16,6 +16,7 @@ return {
|
||||
"neo-tree",
|
||||
"symbols-outline",
|
||||
"vim-be-good",
|
||||
"oil",
|
||||
},
|
||||
restriction_mode = "hint",
|
||||
restricted_keys = {
|
||||
|
||||
Reference in new issue
Block a user