enc: update patch plugins

This commit is contained in:
Pojok Code 2025-08-02 20:19:38 +07:00
parent b341ee7246
commit 3b30870f04
6 changed files with 24 additions and 29 deletions

View file

@ -0,0 +1 @@
return { "nvzone/showkeys", cmd = "ShowkeysToggle" }

View file

@ -3,13 +3,6 @@ local api = vim.api
-- General Settings
api.nvim_create_augroup("_general_settings", { clear = true })
-- api.nvim_create_autocmd("TextYankPost", {
-- group = "_general_settings",
-- callback = function()
-- require("vim.highlight").on_yank({ higroup = "Visual", timeout = 200 })
-- end,
-- })
api.nvim_create_autocmd("FileType", {
group = "_general_settings",
pattern = "qf",
@ -109,15 +102,6 @@ vim.api.nvim_create_autocmd("ExitPre", {
desc = "Set cursor back to beam when leaving Neovim.",
})
-- Create an autocmd to set keymap for Java files
-- vim.api.nvim_create_augroup("java_gradle_run", { clear = true })
-- vim.api.nvim_create_autocmd("FileType", {
-- pattern = "java",
-- callback = function()
-- vim.api.nvim_set_keymap("n", "<leader>rg", "<cmd>terminal<cr>gradle run<cr>", { noremap = true, silent = true })
-- end,
-- })
-- Extras
local function lsp_status()
local bufnr = vim.api.nvim_get_current_buf()

View file

@ -53,6 +53,7 @@ pcode.extras = {
dressing = true,
telescopediff = false,
cheatsheet = false,
showkeys = true,
}
-- activate config themes
pcode.themes = {

View file

@ -92,8 +92,8 @@ return {
Unit = " 󱜥 ",
Value = "",
-- Variable = " 󰫧 ",
-- Variable = "  ",
Variable = " 󰰬 ",
Variable = "",
-- Variable = " 󰰬 ",
},
git = {
LineAdded = "",

View file

@ -71,3 +71,11 @@ vim.api.nvim_create_autocmd("FileType", {
})
vim.opt.guicursor = "n-v-c-sm:block,i-ci-ve:ver25,r-cr-o:hor20"
local uname = vim.loop.os_uname()
if uname.sysname == "Windows_NT" then
vim.opt.shell = "pwsh"
vim.opt.shellcmdflag = "-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command"
vim.opt.shellquote = ""
vim.opt.shellxquote = ""
end