mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-08-06 02:47:07 +02:00
enc: update patch plugins
This commit is contained in:
parent
b341ee7246
commit
3b30870f04
6 changed files with 24 additions and 29 deletions
1
lua/pcode/plugins/extras/showkeys.lua
Normal file
1
lua/pcode/plugins/extras/showkeys.lua
Normal file
|
@ -0,0 +1 @@
|
|||
return { "nvzone/showkeys", cmd = "ShowkeysToggle" }
|
|
@ -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()
|
||||
|
|
|
@ -53,6 +53,7 @@ pcode.extras = {
|
|||
dressing = true,
|
||||
telescopediff = false,
|
||||
cheatsheet = false,
|
||||
showkeys = true,
|
||||
}
|
||||
-- activate config themes
|
||||
pcode.themes = {
|
||||
|
|
|
@ -92,8 +92,8 @@ return {
|
|||
Unit = " ",
|
||||
Value = " ",
|
||||
-- Variable = " ",
|
||||
-- Variable = " ",
|
||||
Variable = " ",
|
||||
Variable = " ",
|
||||
-- Variable = " ",
|
||||
},
|
||||
git = {
|
||||
LineAdded = "",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue