mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 16:39:04 +02:00
update
This commit is contained in:
parent
4898634bfc
commit
f9ed77e425
4 changed files with 37 additions and 25 deletions
|
@ -1,21 +1,21 @@
|
|||
vim.g.codeium_disable_bindings = 1
|
||||
return {
|
||||
"Exafunction/codeium.vim",
|
||||
enabled = true,
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
-- Change '<C-g>' here to any keycode you like.
|
||||
vim.keymap.set("i", "<C-g>", function()
|
||||
return vim.fn["codeium#Accept"]()
|
||||
end, { expr = true })
|
||||
vim.keymap.set("i", "<c-;>", function()
|
||||
return vim.fn["codeium#CycleCompletions"](1)
|
||||
end, { expr = true })
|
||||
vim.keymap.set("i", "<c-,>", function()
|
||||
return vim.fn["codeium#CycleCompletions"](-1)
|
||||
end, { expr = true })
|
||||
vim.keymap.set("i", "<c-x>", function()
|
||||
return vim.fn["codeium#Clear"]()
|
||||
end, { expr = true })
|
||||
end,
|
||||
-- "Exafunction/codeium.vim",
|
||||
-- enabled = true,
|
||||
-- event = "InsertEnter",
|
||||
-- config = function()
|
||||
-- -- Change '<C-g>' here to any keycode you like.
|
||||
-- vim.keymap.set("i", "<C-g>", function()
|
||||
-- return vim.fn["codeium#Accept"]()
|
||||
-- end, { expr = true })
|
||||
-- vim.keymap.set("i", "<c-;>", function()
|
||||
-- return vim.fn["codeium#CycleCompletions"](1)
|
||||
-- end, { expr = true })
|
||||
-- vim.keymap.set("i", "<c-,>", function()
|
||||
-- return vim.fn["codeium#CycleCompletions"](-1)
|
||||
-- end, { expr = true })
|
||||
-- vim.keymap.set("i", "<c-x>", function()
|
||||
-- return vim.fn["codeium#Clear"]()
|
||||
-- end, { expr = true })
|
||||
-- end,
|
||||
}
|
||||
|
|
|
@ -31,12 +31,17 @@ bufferline.setup({
|
|||
options = {
|
||||
color_icons = true,
|
||||
numbers = "none", -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
|
||||
close_command = function(bufnum)
|
||||
require("bufdelete").bufdelete(bufnum, true)
|
||||
end,
|
||||
right_mouse_command = function(bufnum)
|
||||
require("bufdelete").bufdelete(bufnum, true)
|
||||
end,
|
||||
-- close_command = function(bufnum)
|
||||
-- require("bufdelete").bufdelete(bufnum, true)
|
||||
-- end,
|
||||
-- right_mouse_command = function(bufnum)
|
||||
-- require("bufdelete").bufdelete(bufnum, true)
|
||||
-- end,
|
||||
close_command = "bdelete! %d",
|
||||
right_mouse_command = "bdelete! %d",
|
||||
left_mouse_command = "buffer %d",
|
||||
middle_mouse_command = nil,
|
||||
|
||||
indicator_icon = nil,
|
||||
indicator = { style = "icon", icon = "▎" },
|
||||
buffer_close_icon = icons.ui.Close,
|
||||
|
|
|
@ -6,7 +6,8 @@ end
|
|||
local rfile = {
|
||||
java = "cd $dir && javac $fileName && java $fileNameWithoutExt",
|
||||
python = "python3 -u",
|
||||
typescript = "deno run",
|
||||
--typescript = "deno run",
|
||||
typescript = "ts-node $dir/$fileName", -- npm install -g ts-node
|
||||
rust = "cd $dir && rustc $fileName && $dir/$fileNameWithoutExt",
|
||||
-- cpp="gcc $fileName -lstdc++ -o $fileNameWithoutExt && $fileNameWithoutExt"
|
||||
cpp = "g++ $fileName -o $fileNameWithoutExt && $dir/$fileNameWithoutExt",
|
||||
|
|
|
@ -15,6 +15,12 @@ material_icon.setup({
|
|||
cterm_color = "220",
|
||||
name = "Mjs",
|
||||
},
|
||||
["ts"] = {
|
||||
icon = "",
|
||||
color = "#30A2FF",
|
||||
cterm_color = "220",
|
||||
name = "ts",
|
||||
},
|
||||
},
|
||||
color_icons = true,
|
||||
default = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue