-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix * Update .config/tmux/tmux.conf Update .config/zsh/defer.zsh Update .config/zsh/.zshrc * Update .config/nvim/lazy-lock.json Add .config/nvim/lazyvim.json Update .config/nvim/lua/core/lazyvim.lua Update .config/nvim/lua/plugins/alpha.lua Update .config/nvim/lua/plugins/noice.lua Update .config/nvim/lua/plugins/telescope.lua Add .config/nvim/lua/plugins/vtls.lua Update .config/typos/typos.toml * Add .config/systemd/user/tmux.service * SSH on WSL2
- Loading branch information
Showing
13 changed files
with
297 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#prefix=${XDG_DATA_HOME}/npm | ||
cache=${XDG_CACHE_HOME}/npm | ||
#tmp=${XDG_RUNTIME_DIR}/npm | ||
init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js | ||
#init-module=${XDG_CONFIG_HOME}/npm/config/npm-init.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,58 @@ | ||
{ | ||
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, | ||
"alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" }, | ||
"barbar.nvim": { "branch": "master", "commit": "79f7d16578a167bdf5355725551ef7d90613a601" }, | ||
"catppuccin": { "branch": "main", "commit": "31fcfb02c47952d5c75aec893b93b2878abe5fbb" }, | ||
"alpha-nvim": { "branch": "main", "commit": "b6f4129302db197a7249e67a90de3f2b676de13e" }, | ||
"barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" }, | ||
"catppuccin": { "branch": "main", "commit": "18bab5ec4c782cdf7d7525dbe89c60bfa02fc195" }, | ||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, | ||
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, | ||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" }, | ||
"fidget.nvim": { "branch": "main", "commit": "0ba1e16d07627532b6cae915cc992ecac249fb97" }, | ||
"flash.nvim": { "branch": "main", "commit": "43f67935d388fbb540f8b40e8cbfd80de54f978a" }, | ||
"gitsigns.nvim": { "branch": "main", "commit": "6b1a14eabcebbcca1b9e9163a26b2f8371364cb7" }, | ||
"go.nvim": { "branch": "master", "commit": "cde0c7a110c0f65b9e4e6baf342654268efff371" }, | ||
"flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" }, | ||
"gitsigns.nvim": { "branch": "main", "commit": "562dc47189ad3c8696dbf460d38603a74d544849" }, | ||
"go.nvim": { "branch": "master", "commit": "e66c3240d26936428cd0f320dc5ffa1eb01538b8" }, | ||
"guihua.lua": { "branch": "master", "commit": "225db770e36aae6a1e9e3a65578095c8eb4038d3" }, | ||
"hlchunk.nvim": { "branch": "main", "commit": "930fe6262f87d66ca0c85dada3bb7c2a8cb6ec3e" }, | ||
"lazy.nvim": { "branch": "main", "commit": "c882227f1fdc4580d14212df8f814a0772951e3d" }, | ||
"hlchunk.nvim": { "branch": "main", "commit": "d49b06762b51209b41577a84dc2925b4969e3954" }, | ||
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, | ||
"lsp-lens.nvim": { "branch": "main", "commit": "48bb1a7e271424c15f3d588d54adc9b7c319d977" }, | ||
"lsp-zero.nvim": { "branch": "v2.x", "commit": "9a686513eaaa13d737d0fec8956a18268ead8b29" }, | ||
"lsp_signature.nvim": { "branch": "master", "commit": "a38da0a61c172bb59e34befc12efe48359884793" }, | ||
"lspsaga.nvim": { "branch": "main", "commit": "6f920cfabddb9b7de5a3a4d0b7cd4f0774ae23e2" }, | ||
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" }, | ||
"mason-lspconfig.nvim": { "branch": "main", "commit": "37a336b653f8594df75c827ed589f1c91d91ff6c" }, | ||
"lspsaga.nvim": { "branch": "main", "commit": "4ce44df854f447cf0a8972e5387b3aeb5efc798b" }, | ||
"lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, | ||
"mason-lspconfig.nvim": { "branch": "main", "commit": "1c55991321d1a861537e32446affc5de5d9a6eaf" }, | ||
"mason-null-ls.nvim": { "branch": "main", "commit": "de19726de7260c68d94691afb057fa73d3cc53e7" }, | ||
"mason.nvim": { "branch": "main", "commit": "0950b15060067f752fde13a779a994f59516ce3d" }, | ||
"none-ls.nvim": { "branch": "main", "commit": "0d1b3fa2ad0b371b94cb4b9a27ba6e5a1a915c91" }, | ||
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" }, | ||
"nvim-cmp": { "branch": "main", "commit": "a110e12d0b58eefcf5b771f533fc2cf3050680ac" }, | ||
"nvim-dap": { "branch": "master", "commit": "6f79b822997f2e8a789c6034e147d42bc6706770" }, | ||
"nvim-dap-ui": { "branch": "master", "commit": "b7267003ba4dd860350be86f75b9d9ea287cedca" }, | ||
"nvim-dap-virtual-text": { "branch": "master", "commit": "d7c695ea39542f6da94ee4d66176f5d660ab0a77" }, | ||
"nvim-lspconfig": { "branch": "master", "commit": "7edfd6692ba17f8d4fe08d84142781898ab0a672" }, | ||
"nvim-nio": { "branch": "master", "commit": "7969e0a8ffabdf210edd7978ec954a47a737bbcc" }, | ||
"nvim-spectre": { "branch": "master", "commit": "49fae98ef2bfa8342522b337892992e3495065d5" }, | ||
"nvim-tree.lua": { "branch": "master", "commit": "8b2c5c678be4b49dff6a2df794877000113fd77b" }, | ||
"nvim-treesitter": { "branch": "master", "commit": "7ff0b8d3d21b15eb7231fcbd2acfded8987f5efd" }, | ||
"nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" }, | ||
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }, | ||
"render-markdown": { "branch": "main", "commit": "0d6ebe032367eb77082d28585c7872e93f88df01" }, | ||
"rustaceanvim": { "branch": "master", "commit": "d6d7620b66d74b3b16defcf85cbef7b3582795b3" }, | ||
"smart-open.nvim": { "branch": "0.2.x", "commit": "87626ee8748b9bba22093adec7bb58c63e7214f0" }, | ||
"mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, | ||
"noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, | ||
"none-ls.nvim": { "branch": "main", "commit": "cfa65d86e21eeb60544d5e823f6db43941322a53" }, | ||
"nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" }, | ||
"nvim-autopairs": { "branch": "master", "commit": "19606af7c039271d5aa96bceff101e7523af3136" }, | ||
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, | ||
"nvim-dap": { "branch": "master", "commit": "281a2e4cd1e7a17cea7ecb1745d84a8ab1249925" }, | ||
"nvim-dap-ui": { "branch": "master", "commit": "a5606bc5958db86f8d92803bea7400ee26a8d7e4" }, | ||
"nvim-dap-virtual-text": { "branch": "master", "commit": "484995d573c0f0563f6a66ebdd6c67b649489615" }, | ||
"nvim-lspconfig": { "branch": "master", "commit": "d4814330b207a4e05ba9515e453b0e87f20357ec" }, | ||
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, | ||
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, | ||
"nvim-spectre": { "branch": "master", "commit": "ba7fb777edff6c1fbbeffd343e113af64c04e90a" }, | ||
"nvim-tree.lua": { "branch": "master", "commit": "ad0b95dee55955817af635fa121f6e2486b10583" }, | ||
"nvim-treesitter": { "branch": "master", "commit": "1e860567fbc19f117a03c0d2c46dcc01325c1b8b" }, | ||
"nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" }, | ||
"plenary.nvim": { "branch": "master", "commit": "ec289423a1693aeae6cd0d503bac2856af74edaa" }, | ||
"render-markdown": { "branch": "main", "commit": "cd0a5ad8c77c3754d02437048bc0bb604a2fe268" }, | ||
"rustaceanvim": { "branch": "master", "commit": "047f9c9d8cd2861745eb9de6c1570ee0875aa795" }, | ||
"sqlite.lua": { "branch": "master", "commit": "d0ffd703b56d090d213b497ed4eb840495f14a11" }, | ||
"ssr.nvim": { "branch": "main", "commit": "bb323ba621ac647b4ac5638b47666e3ef3c279e1" }, | ||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" }, | ||
"telescope-fzy-native.nvim": { "branch": "master", "commit": "282f069504515eec762ab6d6c89903377252bf5b" }, | ||
"telescope.nvim": { "branch": "master", "commit": "7bd2f9b72f8449780b79bcf351534e2cd36ec43a" }, | ||
"todo-comments.nvim": { "branch": "main", "commit": "51e10f838e84b4756c16311d0b1ef0972c6482d2" }, | ||
"toggleterm.nvim": { "branch": "main", "commit": "cd55bf6aab3f88c259fa29ea86bbdcb1a325687d" }, | ||
"telescope-all-recent.nvim": { "branch": "main", "commit": "267e9e5fd13a6e9a4cc6ffe00452d446d040401d" }, | ||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" }, | ||
"telescope.nvim": { "branch": "master", "commit": "5972437de807c3bc101565175da66a1aa4f8707a" }, | ||
"todo-comments.nvim": { "branch": "main", "commit": "8f45f353dc3649cb9b44cecda96827ea88128584" }, | ||
"toggleterm.nvim": { "branch": "main", "commit": "137d06fb103952a0fb567882bb8527e2f92d327d" }, | ||
"translate.nvim": { "branch": "main", "commit": "30cc9e9f339b61e7bd40bc1ba7af73ea193bf589" }, | ||
"treesj": { "branch": "main", "commit": "f98deb33805485b56a8d44d1a27d16874af00d7f" }, | ||
"trouble.nvim": { "branch": "main", "commit": "e5d0e04121c662ce29190a57dd03655d43c59d44" }, | ||
"vim-fugitive": { "branch": "master", "commit": "d0c1a437536778bcc8174b7cb2ffdf98f611e6fe" }, | ||
"treesj": { "branch": "main", "commit": "0d81326b5afd36babe7dd480aabbb0b05f33e688" }, | ||
"trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" }, | ||
"vim-fugitive": { "branch": "master", "commit": "0444df68cd1cdabc7453d6bd84099458327e5513" }, | ||
"vim-maximizer": { "branch": "master", "commit": "2e54952fe91e140a2e69f35f22131219fcd9c5f1" }, | ||
"vim-rhubarb": { "branch": "master", "commit": "ee69335de176d9325267b0fd2597a22901d927b1" }, | ||
"vimdoc-ja": { "branch": "master", "commit": "b12e83eed20547ec0305901bc32a6fe112f833d1" }, | ||
"which-key.nvim": { "branch": "main", "commit": "0099511294f16b81c696004fa6a403b0ae61f7a0" }, | ||
"vimdoc-ja": { "branch": "master", "commit": "777c40362cc6cd443b332c11070ba894de43db99" }, | ||
"which-key.nvim": { "branch": "main", "commit": "6c1584eb76b55629702716995cca4ae2798a9cca" }, | ||
"winresizer": { "branch": "master", "commit": "9bd559a03ccec98a458e60c705547119eb5350f3" } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extras": [ | ||
|
||
], | ||
"news": { | ||
"NEWS.md": "6520" | ||
}, | ||
"version": 6 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,55 @@ | ||
-- Install package manager | ||
-- https://github.com/folke/lazy.nvim | ||
-- `:help lazy.nvim.txt` for more info | ||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" | ||
if not vim.loop.fs_stat(lazypath) then | ||
vim.fn.system({ | ||
"git", | ||
"clone", | ||
"--filter=blob:none", | ||
"https://github.com/folke/lazy.nvim.git", | ||
"--branch=stable", -- latest stable release | ||
lazypath, | ||
}) | ||
if not (vim.uv or vim.loop).fs_stat(lazypath) then | ||
local lazyrepo = "https://github.com/folke/lazy.nvim.git" | ||
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath }) | ||
if vim.v.shell_error ~= 0 then | ||
vim.api.nvim_echo({ | ||
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" }, | ||
{ out, "WarningMsg" }, | ||
{ "\nPress any key to exit..." }, | ||
}, true, {}) | ||
vim.fn.getchar() | ||
os.exit(1) | ||
end | ||
end | ||
vim.opt.rtp:prepend(lazypath) | ||
|
||
local lazyOpts = { | ||
require("lazy").setup({ | ||
spec = { | ||
-- add LazyVim and import its plugins | ||
--{ "LazyVim/LazyVim", import = "lazyvim.plugins" }, | ||
-- import/override with your plugins | ||
{ import = "plugins" }, | ||
}, | ||
|
||
defaults = { | ||
lazy = true, | ||
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup. | ||
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default. | ||
lazy = false, | ||
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning, | ||
-- have outdated releases, which may break your Neovim install. | ||
version = false, -- always use the latest git commit | ||
-- version = "*", -- try installing the latest stable version for plugins that support semver | ||
}, | ||
--install = { colorscheme = { "tokyonight", "habamax" } }, | ||
checker = { | ||
enabled = true, -- check for plugin updates periodically | ||
notify = false, -- notify on update | ||
}, -- automatically check for plugin updates | ||
performance = { | ||
cache = { | ||
enabled = true, | ||
rtp = { | ||
-- disable some rtp plugins | ||
|
||
disabled_plugins = { | ||
"gzip", | ||
-- "matchit", | ||
-- "matchparen", | ||
-- "netrwPlugin", | ||
"tarPlugin", | ||
"tohtml", | ||
"tutor", | ||
"zipPlugin", | ||
}, | ||
}, | ||
}, | ||
change_detection = { | ||
notify = false, | ||
}, | ||
} | ||
|
||
-- Any lua file in ~/.config/nvim/lua/plugins/*.lua will be automatically merged in the main plugin spec | ||
require("lazy").setup("plugins", lazyOpts) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,47 @@ | ||
return { | ||
"folke/noice.nvim", | ||
event = "VeryLazy", | ||
cond = false, | ||
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 | ||
-- "rcarriga/nvim-notify", | ||
}, | ||
config = function() | ||
require("noice").setup({ | ||
lsp = { | ||
-- override markdown rendering so that **cmp** and other plugins use **Treesitter** | ||
override = { | ||
["vim.lsp.util.convert_input_to_markdown_lines"] = true, | ||
["vim.lsp.util.stylize_markdown"] = true, | ||
["cmp.entry.get_documentation"] = true, | ||
}, | ||
}, | ||
cmdline = { | ||
view = "cmdline", | ||
format = { | ||
cmdline = { icon = "|ω·`):" }, | ||
search_down = { icon = "|ω·`)⌄/" }, | ||
search_up = { icon = "|ω·`)⌃?" }, | ||
filter = { icon = "|ω·`)$" }, | ||
lua = { icon = "" }, | ||
help = { icon = "|ω·`)h:" }, | ||
}, | ||
}, | ||
-- you can enable a preset for easier configuration | ||
presets = { | ||
bottom_search = true, -- use a classic bottom cmdline for search | ||
command_palette = true, -- position the cmdline and popupmenu together | ||
long_message_to_split = true, -- long messages will be sent to a split | ||
inc_rename = false, -- enables an input dialog for inc-rename.nvim | ||
lsp_doc_border = false, -- add a border to hover docs and signature help | ||
}, | ||
}) | ||
-- require("notify").setup({ | ||
-- -- background_colour = "NotifyBackground", | ||
-- fps = 30, | ||
-- level = 2, | ||
-- minimum_width = 50, | ||
-- render = "compact", | ||
-- stages = "fade", | ||
-- top_down = true | ||
-- }) | ||
end | ||
"folke/noice.nvim", | ||
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 | ||
"rcarriga/nvim-notify", | ||
}, | ||
config = function() | ||
require("noice").setup({ | ||
--config.lsp.hover.enabled == false | ||
lsp = { | ||
-- override markdown rendering so that **cmp** and other plugins use **Treesitter** | ||
override = { | ||
["vim.lsp.util.convert_input_to_markdown_lines"] = true, | ||
["vim.lsp.util.stylize_markdown"] = true, | ||
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp | ||
--["vim.lsp.handlers[textDocument/hover] =true | ||
}, | ||
signature = { | ||
enabled = false, | ||
}, | ||
hover = { | ||
enabled = false, | ||
}, | ||
}, | ||
-- you can enable a preset for easier configuration | ||
presets = { | ||
bottom_search = true, -- use a classic bottom cmdline for search | ||
command_palette = true, -- position the cmdline and popupmenu together | ||
long_message_to_split = true, -- long messages will be sent to a split | ||
inc_rename = false, -- enables an input dialog for inc-rename.nvim | ||
lsp_doc_border = false, -- add a border to hover docs and signature help | ||
}, | ||
}) | ||
|
||
require("notify").setup({ | ||
background_colour = "#000000", | ||
}) | ||
end, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.