Compare commits
5 Commits
768e879e22
...
87c8949ec3
| Author | SHA1 | Date | |
|---|---|---|---|
| 87c8949ec3 | |||
| 82aa90f70a | |||
| ffd36e6859 | |||
| 7dec36dfeb | |||
| db517f1bcf |
@ -1,5 +1,6 @@
|
||||
{{- $name := promptStringOnce . "name" "請輸入您的姓名" -}}
|
||||
{{- $email := promptStringOnce . "email" "輸入您的Email地址" -}}
|
||||
{{- $isServer := promptBoolOnce . "isServer" "Does this machine is Server" -}}
|
||||
{{- $hasGUI := promptBoolOnce . "hasGUI" "Does this machine have a GUI" -}}
|
||||
{{- $enableYcm := promptBoolOnce . "enableYcm" "是否要啟用Vim YCM compatible功能(會佔用2.7GB)" -}}
|
||||
sourceDir = "~/.local/share/chezmoi"
|
||||
@ -7,5 +8,6 @@ sourceDir = "~/.local/share/chezmoi"
|
||||
[data]
|
||||
name = {{ $name | quote }}
|
||||
email = {{ $email | quote }}
|
||||
serverStyle = {{ $isServer }}
|
||||
noGUI = {{ not $hasGUI }}
|
||||
enableYcm = {{ $enableYcm }}
|
||||
|
||||
@ -34,6 +34,7 @@
|
||||
os_icon # os identifier
|
||||
context # user@hostname
|
||||
dir # current directory
|
||||
dir_writable
|
||||
vcs # git status
|
||||
# prompt_char # prompt symbol
|
||||
)
|
||||
1745
.p10k_server.zsh
Normal file
1745
.p10k_server.zsh
Normal file
File diff suppressed because it is too large
Load Diff
@ -255,6 +255,11 @@ To shutdown the Watchman server, run:
|
||||
watchman shutdown-server
|
||||
```
|
||||
|
||||
或是清除所有的watch
|
||||
```
|
||||
watchman watch-del-all
|
||||
```
|
||||
|
||||
相關工具參考連結
|
||||
--------------------------------------------------------------------------------
|
||||
* <https://www.ditig.com/256-colors-cheat-sheet>
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
return {
|
||||
{
|
||||
"kdheepak/lazygit.nvim",
|
||||
lazy = true,
|
||||
cmd = {
|
||||
@ -22,4 +23,5 @@ return {
|
||||
config = function()
|
||||
require("telescope").load_extension("lazygit")
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
@ -0,0 +1,28 @@
|
||||
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,
|
||||
},
|
||||
}
|
||||
5
dot_p10k.zsh.tmpl
Normal file
5
dot_p10k.zsh.tmpl
Normal file
@ -0,0 +1,5 @@
|
||||
{{- if .serverStyle -}}
|
||||
{{- include ".p10k_server.zsh" -}}
|
||||
{{- else -}}
|
||||
{{- include ".p10k.zsh" -}}
|
||||
{{- end -}}
|
||||
Loading…
x
Reference in New Issue
Block a user