nvim: treesitter add blade
This commit is contained in:
parent
882210acb5
commit
ad2443fc7c
@ -3,6 +3,11 @@
|
|||||||
local map = vim.keymap.set
|
local map = vim.keymap.set
|
||||||
local neomap = vim.api.nvim_set_keymap
|
local neomap = vim.api.nvim_set_keymap
|
||||||
|
|
||||||
|
vim.keymap.set("n", "c", [["_c]], { noremap = true })
|
||||||
|
vim.keymap.set("n", "C", [["_C]], { noremap = true })
|
||||||
|
vim.keymap.set("n", "d", [["_d]], { noremap = true })
|
||||||
|
vim.keymap.set("n", "x", [["_x]], { noremap = true })
|
||||||
|
|
||||||
-- 處理剪貼簿習慣對應(在Insert模式可使用慣用的快速鍵)
|
-- 處理剪貼簿習慣對應(在Insert模式可使用慣用的快速鍵)
|
||||||
vim.opt.keymodel = "startsel" -- 啟用 Shift + 方向鍵選取功能
|
vim.opt.keymodel = "startsel" -- 啟用 Shift + 方向鍵選取功能
|
||||||
neomap('n', '<C-a>', 'ggVG', { noremap = true, silent = true })
|
neomap('n', '<C-a>', 'ggVG', { noremap = true, silent = true })
|
||||||
|
@ -22,6 +22,7 @@ return {
|
|||||||
"regex",
|
"regex",
|
||||||
"bash",
|
"bash",
|
||||||
"html",
|
"html",
|
||||||
|
"blade",
|
||||||
"javascript",
|
"javascript",
|
||||||
"json",
|
"json",
|
||||||
"lua",
|
"lua",
|
||||||
@ -30,7 +31,6 @@ return {
|
|||||||
"python",
|
"python",
|
||||||
"php",
|
"php",
|
||||||
"go",
|
"go",
|
||||||
"html",
|
|
||||||
"css",
|
"css",
|
||||||
},
|
},
|
||||||
highlight = {
|
highlight = {
|
||||||
|
@ -49,8 +49,9 @@ zinit snippet OMZ::lib/history.zsh
|
|||||||
zinit snippet OMZP::vscode
|
zinit snippet OMZP::vscode
|
||||||
zinit snippet OMZ::lib/key-bindings.zsh
|
zinit snippet OMZ::lib/key-bindings.zsh
|
||||||
zinit snippet OMZ::lib/completion.zsh
|
zinit snippet OMZ::lib/completion.zsh
|
||||||
zinit snippet OMZ::plugins/sudo/sudo.plugin.zsh
|
zinit snippet OMZP::sudo
|
||||||
zinit snippet OMZ::lib/theme-and-appearance.zsh
|
zinit snippet OMZ::lib/theme-and-appearance.zsh
|
||||||
|
zinit snippet OMZP::laravel
|
||||||
|
|
||||||
#zinit wait="1" lucid for \
|
#zinit wait="1" lucid for \
|
||||||
# OMZL::clipboard.zsh \
|
# OMZL::clipboard.zsh \
|
||||||
@ -154,6 +155,7 @@ bindkey '^P' my_paste_from_clipboard # 例如 Ctrl+P
|
|||||||
# SSH 自動補齊
|
# SSH 自動補齊
|
||||||
zinit light sunlei/zsh-ssh
|
zinit light sunlei/zsh-ssh
|
||||||
|
|
||||||
|
|
||||||
# overwrite ls
|
# overwrite ls
|
||||||
if command -v colorls &> /dev/null; then
|
if command -v colorls &> /dev/null; then
|
||||||
alias ls='colorls'
|
alias ls='colorls'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user