Which Key for TMUX!!
This commit is contained in:
106
nvim/.config/nvim/code-shot.lua
Normal file
106
nvim/.config/nvim/code-shot.lua
Normal file
@ -0,0 +1,106 @@
|
||||
local M = {}
|
||||
|
||||
-- Function to get visual selection
|
||||
local function get_visual_selection()
|
||||
local start_pos = vim.fn.getpos("'<")
|
||||
local end_pos = vim.fn.getpos("'>")
|
||||
local lines = vim.fn.getline(start_pos[2], end_pos[2])
|
||||
|
||||
-- Handle partial line selections
|
||||
if #lines == 1 then
|
||||
lines[1] = string.sub(lines[1], start_pos[3], end_pos[3])
|
||||
else
|
||||
lines[1] = string.sub(lines[1], start_pos[3])
|
||||
lines[#lines] = string.sub(lines[#lines], 1, end_pos[3])
|
||||
end
|
||||
|
||||
return table.concat(lines, '\n')
|
||||
end
|
||||
|
||||
-- Function to create carbon 50<
|
||||
function M.create_screenshot()
|
||||
-- Get the visual selection
|
||||
local code = get_visual_selection()
|
||||
if code == "" then
|
||||
vim.notify("No text selected", vim.log.levels.ERROR)
|
||||
return
|
||||
end
|
||||
|
||||
-- Get file extension for language detection
|
||||
local file_extension = vim.fn.expand('%:e')
|
||||
|
||||
-- Get download directory
|
||||
local download_dir = vim.fn.expand('~/Downloads')
|
||||
local timestamp = os.date("%Y%m%d_%H%M%S")
|
||||
local output_file = string.format("%s/carbon_%s.png", download_dir, timestamp)
|
||||
|
||||
-- Prepare the curl command
|
||||
local carbon_url = "https://carbonara.solopov.dev/api/cook"
|
||||
local json_data = string.format([[{
|
||||
"code": %s,
|
||||
"theme": "one-dark",
|
||||
"language": "%s",
|
||||
"dropShadow": true,
|
||||
"windowControls": true,
|
||||
}]], vim.fn.json_encode(code), file_extension)
|
||||
|
||||
-- Create temporary file for JSON data
|
||||
local temp_json = os.tmpname()
|
||||
local f = io.open(temp_json, "w")
|
||||
f:write(json_data)
|
||||
f:close()
|
||||
|
||||
-- Execute curl command
|
||||
local cmd = string.format(
|
||||
'curl -L %s -X POST -H "Content-Type: application/json" --data %s --output %s',
|
||||
carbon_url,
|
||||
json_data,
|
||||
output_file
|
||||
)
|
||||
vim.print(cmd)
|
||||
-- [[--
|
||||
-- curl -L https://carbonara.solopov.dev/api/cook \
|
||||
-- -X POST \
|
||||
-- -H 'Content-Type: application/json' \
|
||||
-- -d '{
|
||||
-- "code": "export default const sum = (a, b) => a + b",
|
||||
-- "backgroundColor": "#1F816D"
|
||||
-- }' \
|
||||
-- > code.png
|
||||
-- --]]
|
||||
-- Run the command asynchronously
|
||||
vim.fn.jobstart(cmd, {
|
||||
on_exit = function(_, exit_code)
|
||||
-- Clean up temp file
|
||||
-- os.remove(temp_json)
|
||||
os.rename(temp_json, '~/Downloads/temp_json.json')
|
||||
|
||||
if exit_code == 0 then
|
||||
vim.notify(
|
||||
string.format("Screenshot saved to %s", output_file),
|
||||
vim.log.levels.INFO
|
||||
)
|
||||
else
|
||||
vim.notify(
|
||||
"Failed to create screenshot",
|
||||
vim.log.levels.ERROR
|
||||
)
|
||||
end
|
||||
end
|
||||
})
|
||||
end
|
||||
|
||||
-- Set up the plugin
|
||||
function M.setup()
|
||||
-- Create user command
|
||||
vim.api.nvim_create_user_command(
|
||||
'CodeShot',
|
||||
function()
|
||||
M.create_screenshot()
|
||||
end,
|
||||
{ range = true }
|
||||
)
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
23826
nvim/.config/nvim/codeshot.log
Normal file
23826
nvim/.config/nvim/codeshot.log
Normal file
File diff suppressed because it is too large
Load Diff
@ -20,6 +20,8 @@ vim.g.localmapleader = ','
|
||||
vim.opt.colorcolumn = '+2'
|
||||
|
||||
require('lazy').setup('plugins')
|
||||
-- require('code-shot').setup()
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
-- General Neovim settings and configuration
|
||||
|
||||
@ -2,66 +2,67 @@
|
||||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
|
||||
"adjacent.nvim": { "branch": "main", "commit": "a555ab92d61aa6fbbfa1bfaef4633b663563f04e" },
|
||||
"async.vim": { "branch": "master", "commit": "2082d13bb195f3203d41a308b89417426a7deca1" },
|
||||
"avante.nvim": { "branch": "main", "commit": "122bc3287b973154d64e23ec7187e659fc91c8c8" },
|
||||
"avante.nvim": { "branch": "main", "commit": "1726d3277831fb9476ec42b687eef3f54a73b410" },
|
||||
"barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" },
|
||||
"blink.cmp": { "branch": "main", "commit": "1cc3b1a908fbcfd15451c4772759549724f38524" },
|
||||
"blink-emoji.nvim": { "branch": "master", "commit": "81e6c080d1e64c9ef548534c51147fd8063481c8" },
|
||||
"blink.cmp": { "branch": "main", "commit": "b6f11a0aa33e601c469a126e3ed6e35208fe3ea3" },
|
||||
"copilot.lua": { "branch": "master", "commit": "886ee73b6d464b2b3e3e6a7ff55ce87feac423a9" },
|
||||
"dashboard-nvim": { "branch": "master", "commit": "2f641b07a6bc03299c454f7e14177c52ce01a093" },
|
||||
"dashboard-nvim": { "branch": "master", "commit": "000448d837f6e7a47f8f342f29526c4d7e49e9ce" },
|
||||
"deadcolumn.nvim": { "branch": "master", "commit": "897c905aef1a268ce4cc507d5cce048ed808fa7a" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||
"dracula.nvim": { "branch": "main", "commit": "515acae4fd294fcefa5b15237a333c2606e958d1" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "3a45525bb182730fe462325c99395529308f431e" },
|
||||
"dressing.nvim": { "branch": "master", "commit": "56ef6a969a4990d938c5fed40c370f65e125fc97" },
|
||||
"eldritch.nvim": { "branch": "master", "commit": "adedead3423c58cc2e2ebf30001fe4055ad0e416" },
|
||||
"f-string-toggle.nvim": { "branch": "main", "commit": "4e2ad79dfc5122dd65515ebbdd671e8ee01d157e" },
|
||||
"f-string-toggle.nvim": { "branch": "main", "commit": "3566bfc1eb2431e69628f9e21ae9a6ef363414b9" },
|
||||
"fidget.nvim": { "branch": "main", "commit": "a0abbf18084b77d28bc70e24752e4f4fd54aea17" },
|
||||
"friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "0797734e2bf229cc67b05e82a17e22a18f191913" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "9b36d497495436c135659902054ee637e0ba6021" },
|
||||
"headlines.nvim": { "branch": "master", "commit": "bf17c96a836ea27c0a7a2650ba385a7783ed322e" },
|
||||
"hover.nvim": { "branch": "main", "commit": "140c4d0ae9397b76baa46b87c574f5377de09309" },
|
||||
"img-clip.nvim": { "branch": "main", "commit": "5ff183655ad98b5fc50c55c66540375bbd62438c" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "7a698a1d7ed755af9f5a88733b23ca246ce2df28" },
|
||||
"img-clip.nvim": { "branch": "main", "commit": "5ded6f468d633ccfb315905fe8901d6c95ae8f29" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "e10626f7fcd51ccd56d7ffc00883ba7e0aa28f78" },
|
||||
"kanagawa.nvim": { "branch": "master", "commit": "988082eb00b845e4afbcaa4fd8e903da8a3ab3b9" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "d8f26efd456190241afd1b0f5235fe6fdba13d4a" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "7527af40ddd4a93a02911be570b32609b9d4ea53" },
|
||||
"lsp-timeout.nvim": { "branch": "main", "commit": "6325906730330105a9adc41d0ceb8499b3072e2b" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "2a5bae925481f999263d6f5ed8361baef8df4f83" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "e942edf5c85b6a2ab74059ea566cac5b3e1514a4" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "f75e877f5266e87523eb5a18fcde2081820d087b" },
|
||||
"mason-null-ls.nvim": { "branch": "main", "commit": "de19726de7260c68d94691afb057fa73d3cc53e7" },
|
||||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
|
||||
"mini.comment": { "branch": "main", "commit": "03c13e37318bdb18481311c0ac1adc9ed731caf1" },
|
||||
"mini.fuzzy": { "branch": "stable", "commit": "ea9d1380ad925c4d0e890f68dbf830d2b19bae5d" },
|
||||
"mini.hipatterns": { "branch": "main", "commit": "f34975103a38b3f608219a1324cdfc58ea660b8b" },
|
||||
"mini.icons": { "branch": "main", "commit": "910db5df9724d65371182948f921fce23c2c881e" },
|
||||
"mini.move": { "branch": "main", "commit": "4caa1c212f5ca3d1633d21cfb184808090ed74b1" },
|
||||
"mini.pairs": { "branch": "stable", "commit": "e543c760edc5e746e5b6cbd02c066c17ead3ef16" },
|
||||
"mini.surround": { "branch": "main", "commit": "0e67c4bc147f2a15cee94e7c94dcc0e115b9f55e" },
|
||||
"mini.trailspace": { "branch": "main", "commit": "3a328e62559c33014e422fb9ae97afc4208208b1" },
|
||||
"mini.comment": { "branch": "main", "commit": "6e1f9a8ebbf6f693fa3787ceda8ca3bf3cb6aec7" },
|
||||
"mini.fuzzy": { "branch": "stable", "commit": "faa5a6c0d29c28012c90bd011162963a58715428" },
|
||||
"mini.hipatterns": { "branch": "main", "commit": "fbf1e2195fdd65cf1bc970316c28098257728868" },
|
||||
"mini.icons": { "branch": "main", "commit": "ec61af6e606fc89ee3b1d8f2f20166a3ca917a36" },
|
||||
"mini.move": { "branch": "main", "commit": "c8b30e92dd2668dd6e56a9a23cb7d4ee38c2266d" },
|
||||
"mini.pairs": { "branch": "stable", "commit": "7e834c5937d95364cc1740e20d673afe2d034cdb" },
|
||||
"mini.surround": { "branch": "main", "commit": "aa5e245829dd12d8ff0c96ef11da28681d6049aa" },
|
||||
"mini.trailspace": { "branch": "main", "commit": "9bbbf568c06fe424dc21d2c228fa76098008a5f3" },
|
||||
"mkdnflow.nvim": { "branch": "main", "commit": "d459bd7ce68910272038ed037c028180161fd14d" },
|
||||
"morta": { "branch": "main", "commit": "462308c707c0bf0dc1a5e1150ac3aabb544a3820" },
|
||||
"neowarrior.nvim": { "branch": "main", "commit": "197cd4a7a56d07374fcda09b5b56baa433e40549" },
|
||||
"nightfly": { "branch": "master", "commit": "674f38e12ffc251bee6c572cfffbf814c1f116e4" },
|
||||
"nightfly": { "branch": "master", "commit": "58488be269a1f29819ce4b34f319269f11fe86b9" },
|
||||
"nightfox.nvim": { "branch": "main", "commit": "595ffb8f291fc4a9bef3201a28b7c0379a41cdee" },
|
||||
"noice.nvim": { "branch": "main", "commit": "eaed6cc9c06aa2013b5255349e4f26a6b17ab70f" },
|
||||
"noice.nvim": { "branch": "main", "commit": "e3c68a4d2275a01268a52e2931bfccfbfb693d15" },
|
||||
"nui.nvim": { "branch": "main", "commit": "53e907ffe5eedebdca1cd503b00aa8692068ca46" },
|
||||
"null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" },
|
||||
"numb.nvim": { "branch": "master", "commit": "7f564e638d3ba367abf1ec91181965b9882dd509" },
|
||||
"nvim": { "branch": "main", "commit": "f67b886d65a029f12ffa298701fb8f1efd89295d" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "8c82d0bd31299dbff7f8e780f5e06d2283de9678" },
|
||||
"nvim": { "branch": "main", "commit": "4965db2d6155c25db4e8417465fc2703fdf4c2b7" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "12509903a5723a876abd65953109f926f4634c30" },
|
||||
"nvim-http": { "branch": "main", "commit": "9a0e97b639d34af17d06b3421fe633b416dd64ee" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "339ccc81e08793c3af9b83882a6ebd90c9cc0d3b" },
|
||||
"nvim-notify": { "branch": "master", "commit": "a3020c2cf4dfc4c4f390c4a21e84e35e46cf5d17" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "66bc018936c6ff76beb75f89d986af6442db4001" },
|
||||
"nvim-notify": { "branch": "master", "commit": "22f29093eae7785773ee9d543f8750348b1a195c" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "d529a99f88e0dff02e0aa275db2f595cd252a2c8" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "5da195ac3dfafd08d8b10756d975f0e01e1d563a" },
|
||||
"nvim-ufo": { "branch": "main", "commit": "32cb247b893a384f1888b9cd737264159ecf183c" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "aafa5c187a15701a7299a392b907ec15d9a7075f" },
|
||||
"oil.nvim": { "branch": "master", "commit": "09fa1d22f5edf0730824d2b222d726c8c81bbdc9" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "53a6b3993f5803378d4d031bf114c0b125a52ba8" },
|
||||
"nvim-ufo": { "branch": "main", "commit": "81f5ffa6e8ba27c48403cf681d4b383d924e03e4" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "402377242b04be3f4f0f3720bd952df86e946c30" },
|
||||
"oil.nvim": { "branch": "master", "commit": "add50252b5e9147c0a09d36480d418c7e2737472" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "3707cdb1e43f5cea73afb6037e6494e7ce847a66" },
|
||||
"popup.nvim": { "branch": "master", "commit": "b7404d35d5d3548a82149238289fa71f7f6de4ac" },
|
||||
"pulse.nvim": { "branch": "main", "commit": "4026460b12da9abcfe34322db0bdc80e4b0dce3d" },
|
||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "85b80abaa09cbbc039e3095b2f515b3cf8cadd11" },
|
||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "cf0da2516b0684596b09c51dbc93c609cdc2f455" },
|
||||
"rainbow_csv.nvim": { "branch": "main", "commit": "7f3fddfe813641035fac2cdf94c2ff69bb0bf0b9" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "ad055861d17afe058bd835e82292e14a64b51b1d" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "2a9e0ab6043bfb4996ce6a6a35594ab357e5d299" },
|
||||
"semshi": { "branch": "master", "commit": "0182447e2ff4dfa04cd2dfe5f189e012c581ca45" },
|
||||
"solarized-osaka.nvim": { "branch": "main", "commit": "7c63ea4dc3287913e154ce9432c722004bbe9b7e" },
|
||||
"solarized-osaka.nvim": { "branch": "main", "commit": "a655760409ec0e75a0868ca983f6077bf3c230f5" },
|
||||
"telescope-cmdline.nvim": { "branch": "main", "commit": "8b05928ac1b9f2b772cedde891faa6669b0ec59a" },
|
||||
"telescope-file-browser.nvim": { "branch": "master", "commit": "626998e5c1b71c130d8bc6cf7abb6709b98287bb" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "dae2eac9d91464448b584c7949a31df8faefec56" },
|
||||
@ -70,14 +71,14 @@
|
||||
"thethethe.nvim": { "branch": "main", "commit": "357580127cd291c8a813564eeaff07c09303084e" },
|
||||
"tmux.nvim": { "branch": "main", "commit": "307bad95a1274f7288aaee09694c25c8cbcd6f1a" },
|
||||
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "775f82f08a3d1fb55a37fc6d3a4ab10cd7ed8a10" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "50481f414bd3c1a40122c1d759d7e424d5fafe84" },
|
||||
"tokyonight.nvim": { "branch": "main", "commit": "dca4adba7dc5f09302a00b0e76078d54d82d2658" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "6f380b8826fb819c752c8fd7daaee9ef96d4c689" },
|
||||
"vim-arduino": { "branch": "master", "commit": "2ded67cdf09bb07c4805d9e93d478095ed3d8606" },
|
||||
"vim-arsync": { "branch": "master", "commit": "dd5fd93182aafb67ede2ef465f379610980b52d3" },
|
||||
"vim-dadbod": { "branch": "master", "commit": "f740950d0703099e0f172016f10e0e39f50fd0ba" },
|
||||
"vim-dadbod-completion": { "branch": "master", "commit": "95cbcf21ea7a5c8c025f387280c2e261b8cb3a89" },
|
||||
"vim-dadbod-ui": { "branch": "master", "commit": "65454e2011c029922c2c972d63f8bf04282de033" },
|
||||
"vim-wakatime": { "branch": "master", "commit": "cf51327a9e08935569614d1cb24e779ee9f45519" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "1f8d414f61e0b05958c342df9b6a4c89ce268766" },
|
||||
"vim-dadbod": { "branch": "master", "commit": "9f0ca8bcef704659820a95c3bbd2c262583a66a1" },
|
||||
"vim-dadbod-completion": { "branch": "master", "commit": "c7f1be21a08b8fc9d927a19db89a4aa995402787" },
|
||||
"vim-dadbod-ui": { "branch": "master", "commit": "f4d37b7312ae6489e5c04bee654ca521baac188a" },
|
||||
"vim-wakatime": { "branch": "master", "commit": "e46d7c4f98ee0f40782008dd60cb2a79c377fb1d" },
|
||||
"which-key.nvim": { "branch": "main", "commit": "0e76a87ac51772569aec678dc74baa8e2a86100c" },
|
||||
"wtf.nvim": { "branch": "main", "commit": "16eec1f32c3608bd8519e9e520041fe34201abb0" }
|
||||
}
|
||||
|
||||
@ -5,6 +5,7 @@ return {
|
||||
dependencies = {
|
||||
'rafamadriz/friendly-snippets',
|
||||
'L3MON4D3/LuaSnip', version = 'v2.*',
|
||||
"moyiz/blink-emoji.nvim",
|
||||
},
|
||||
opts = {
|
||||
keymap = {
|
||||
@ -52,7 +53,15 @@ return {
|
||||
jump = function(direction) require('luasnip').jump(direction) end,
|
||||
},
|
||||
sources = {
|
||||
default = {'lsp', 'path', 'snippets', 'buffer'},
|
||||
},
|
||||
default = {'lsp', 'path', 'snippets', 'buffer', 'emoji'},
|
||||
providers = {
|
||||
emoji = {
|
||||
module = "blink-emoji",
|
||||
name = "Emoji",
|
||||
score_offset = 15, -- Tune by preference
|
||||
opts = { insert = true }, -- Insert emoji (default) or complete its name
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -51,47 +51,14 @@ return {
|
||||
-- lazy.nvim
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
event = "VeryLazy",
|
||||
-- event = "VeryLazy",
|
||||
opts = {
|
||||
-- add any options here
|
||||
},
|
||||
dependencies = {
|
||||
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- OPTIONAL:
|
||||
-- `nvim-notify` is only needed, if you want to use the notification view.
|
||||
-- If not available, we use `mini` as the fallback
|
||||
-- "MunifTanjim/nui.nvim",
|
||||
"rcarriga/nvim-notify",
|
||||
}
|
||||
},
|
||||
-- {
|
||||
-- "huantrinh1802/m_taskwarrior_d.nvim",
|
||||
-- version = "*",
|
||||
-- dependencies = { "MunifTanjim/nui.nvim" },
|
||||
-- config = function()
|
||||
-- -- Require
|
||||
-- require("m_taskwarrior_d").setup()
|
||||
-- -- Optional
|
||||
-- vim.api.nvim_set_keymap("n", "<leader>te", "<cmd>TWEditTask<cr>", { desc = "TaskWarrior Edit", noremap = true, silent = true })
|
||||
-- vim.api.nvim_set_keymap("n", "<leader>tv", "<cmd>TWView<cr>", { noremap = true, silent = true })
|
||||
-- vim.api.nvim_set_keymap("n", "<leader>tu", "<cmd>TWUpdateCurrent<cr>", { noremap = true, silent = true })
|
||||
-- vim.api.nvim_set_keymap("n", "<leader>ts", "<cmd>TWSyncTasks<cr>", { noremap = true, silent = true })
|
||||
-- vim.api.nvim_set_keymap(
|
||||
-- "n",
|
||||
-- "<c-space>",
|
||||
-- "<cmd>TWToggle<cr>",
|
||||
-- { silent = true }
|
||||
-- )
|
||||
-- -- Be caution: it may be slow to open large files, because it scan the whole buffer
|
||||
-- vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost" }, {
|
||||
-- group = vim.api.nvim_create_augroup("TWTask", { clear = true }),
|
||||
-- pattern = "*.md,*.markdown", -- Pattern to match Markdown files
|
||||
-- callback = function()
|
||||
-- vim.cmd('TWSyncTasks')
|
||||
-- end,
|
||||
-- })
|
||||
-- end,
|
||||
-- },
|
||||
|
||||
-- Neovim statusline
|
||||
{
|
||||
@ -100,7 +67,6 @@ return {
|
||||
config = function() require('lualine').setup({
|
||||
options = {
|
||||
theme = 'nord',
|
||||
-- always_divide_middle = false,
|
||||
},
|
||||
sections = {
|
||||
lualine_x = {
|
||||
@ -237,7 +203,7 @@ return {
|
||||
"rcarriga/nvim-notify",
|
||||
config = function ()
|
||||
require("notify").setup ({
|
||||
timeout = 5000,
|
||||
timeout = 5000,
|
||||
render = "minimal",
|
||||
stages = "fade_in_slide_out",
|
||||
on_open = function(win)
|
||||
@ -248,8 +214,8 @@ return {
|
||||
vim.keymap.set("n", "<Esc>", function()
|
||||
require("notify").dismiss()
|
||||
end, { desc = "dismiss notify popup and clear hlsearch" })
|
||||
-- vim.api.nvim_notify = require('notify')
|
||||
-- vim.notify = require('notify')
|
||||
vim.api.nvim_notify = require('notify')
|
||||
vim.notify = require('notify')
|
||||
end
|
||||
},
|
||||
-- Custom Terminal within Neovim
|
||||
@ -361,20 +327,6 @@ return {
|
||||
-- },
|
||||
-- { "jbyuki/venn.nvim" },
|
||||
|
||||
-- DAP (Debug adaptor Protocol)
|
||||
-- 'mfussenegger/nvim-dap',
|
||||
|
||||
-- {
|
||||
-- 'mfussenegger/nvim-dap-python',
|
||||
-- config = function()
|
||||
-- require('dap-python').setup(
|
||||
-- '~/.virtualenvs/debugpy/bin/python'
|
||||
-- )
|
||||
-- end
|
||||
-- },
|
||||
-- {
|
||||
-- 'rcarriga/nvim-dap-ui', dependencies = {"mfussenegger/nvim-dap"}
|
||||
-- },
|
||||
|
||||
---------------------------------------------------------
|
||||
-- Text, Icons, Symbols
|
||||
|
||||
Reference in New Issue
Block a user