Compare commits
No commits in common. "87c8949ec307d1ccd7b7aaf4356e0279b04687f3" and "768e879e222448acb4e474b2fd52206a93d9fe1d" have entirely different histories.
87c8949ec3
...
768e879e22
@ -1,6 +1,5 @@
|
|||||||
{{- $name := promptStringOnce . "name" "請輸入您的姓名" -}}
|
{{- $name := promptStringOnce . "name" "請輸入您的姓名" -}}
|
||||||
{{- $email := promptStringOnce . "email" "輸入您的Email地址" -}}
|
{{- $email := promptStringOnce . "email" "輸入您的Email地址" -}}
|
||||||
{{- $isServer := promptBoolOnce . "isServer" "Does this machine is Server" -}}
|
|
||||||
{{- $hasGUI := promptBoolOnce . "hasGUI" "Does this machine have a GUI" -}}
|
{{- $hasGUI := promptBoolOnce . "hasGUI" "Does this machine have a GUI" -}}
|
||||||
{{- $enableYcm := promptBoolOnce . "enableYcm" "是否要啟用Vim YCM compatible功能(會佔用2.7GB)" -}}
|
{{- $enableYcm := promptBoolOnce . "enableYcm" "是否要啟用Vim YCM compatible功能(會佔用2.7GB)" -}}
|
||||||
sourceDir = "~/.local/share/chezmoi"
|
sourceDir = "~/.local/share/chezmoi"
|
||||||
@ -8,6 +7,5 @@ sourceDir = "~/.local/share/chezmoi"
|
|||||||
[data]
|
[data]
|
||||||
name = {{ $name | quote }}
|
name = {{ $name | quote }}
|
||||||
email = {{ $email | quote }}
|
email = {{ $email | quote }}
|
||||||
serverStyle = {{ $isServer }}
|
|
||||||
noGUI = {{ not $hasGUI }}
|
noGUI = {{ not $hasGUI }}
|
||||||
enableYcm = {{ $enableYcm }}
|
enableYcm = {{ $enableYcm }}
|
||||||
|
|||||||
1745
.p10k_server.zsh
1745
.p10k_server.zsh
File diff suppressed because it is too large
Load Diff
@ -255,11 +255,6 @@ To shutdown the Watchman server, run:
|
|||||||
watchman shutdown-server
|
watchman shutdown-server
|
||||||
```
|
```
|
||||||
|
|
||||||
或是清除所有的watch
|
|
||||||
```
|
|
||||||
watchman watch-del-all
|
|
||||||
```
|
|
||||||
|
|
||||||
相關工具參考連結
|
相關工具參考連結
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
* <https://www.ditig.com/256-colors-cheat-sheet>
|
* <https://www.ditig.com/256-colors-cheat-sheet>
|
||||||
|
|||||||
@ -1,27 +1,25 @@
|
|||||||
return {
|
return {
|
||||||
{
|
"kdheepak/lazygit.nvim",
|
||||||
"kdheepak/lazygit.nvim",
|
lazy = true,
|
||||||
lazy = true,
|
cmd = {
|
||||||
cmd = {
|
"LazyGit",
|
||||||
"LazyGit",
|
"LazyGitConfig",
|
||||||
"LazyGitConfig",
|
"LazyGitCurrentFile",
|
||||||
"LazyGitCurrentFile",
|
"LazyGitFilter",
|
||||||
"LazyGitFilter",
|
"LazyGitFilterCurrentFile",
|
||||||
"LazyGitFilterCurrentFile",
|
|
||||||
},
|
|
||||||
-- optional for floating window border decoration
|
|
||||||
dependencies = {
|
|
||||||
"nvim-telescope/telescope.nvim",
|
|
||||||
"nvim-lua/plenary.nvim",
|
|
||||||
},
|
|
||||||
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
|
||||||
-- order to load the plugin when the command is run for the first time
|
|
||||||
keys = {
|
|
||||||
{ "<F10>", "<cmd>LazyGit<cr>", desc = "LazyGit" },
|
|
||||||
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require("telescope").load_extension("lazygit")
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
|
-- optional for floating window border decoration
|
||||||
|
dependencies = {
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
},
|
||||||
|
-- setting the keybinding for LazyGit with 'keys' is recommended in
|
||||||
|
-- order to load the plugin when the command is run for the first time
|
||||||
|
keys = {
|
||||||
|
{ "<F10>", "<cmd>LazyGit<cr>", desc = "LazyGit" },
|
||||||
|
{ "<leader>lg", "<cmd>LazyGit<cr>", desc = "LazyGit" },
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require("telescope").load_extension("lazygit")
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,28 +0,0 @@
|
|||||||
return {
|
|
||||||
{ "nvzone/volt" , lazy = true },
|
|
||||||
{
|
|
||||||
"nvzone/menu",
|
|
||||||
dependencies = { "MunifTanjim/nui.nvim" },
|
|
||||||
event = "VeryLazy",
|
|
||||||
config = function()
|
|
||||||
-- Keyboard users
|
|
||||||
vim.keymap.set("n", "<C-t>", function()
|
|
||||||
require("menu").open("default")
|
|
||||||
end, {})
|
|
||||||
|
|
||||||
-- mouse users + nvimtree users!
|
|
||||||
vim.keymap.set({ "n", "v" }, "<RightMouse>", function()
|
|
||||||
require('menu.utils').delete_old_menus()
|
|
||||||
|
|
||||||
vim.cmd.exec '"normal! \\<RightMouse>"'
|
|
||||||
|
|
||||||
-- clicked buf
|
|
||||||
local buf = vim.api.nvim_win_get_buf(vim.fn.getmousepos().winid)
|
|
||||||
local options = vim.bo[buf].ft == "neo-tree" and "neo-tree" or "default"
|
|
||||||
|
|
||||||
require("menu").open(options, { mouse = true })
|
|
||||||
end, {})
|
|
||||||
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@ -34,7 +34,6 @@
|
|||||||
os_icon # os identifier
|
os_icon # os identifier
|
||||||
context # user@hostname
|
context # user@hostname
|
||||||
dir # current directory
|
dir # current directory
|
||||||
dir_writable
|
|
||||||
vcs # git status
|
vcs # git status
|
||||||
# prompt_char # prompt symbol
|
# prompt_char # prompt symbol
|
||||||
)
|
)
|
||||||
@ -1,5 +0,0 @@
|
|||||||
{{- if .serverStyle -}}
|
|
||||||
{{- include ".p10k_server.zsh" -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- include ".p10k.zsh" -}}
|
|
||||||
{{- end -}}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user