Fix some vim mappings

This commit is contained in:
2023-03-19 16:03:31 +09:00
parent 41b2bff535
commit d84d1a237e
3 changed files with 7 additions and 4 deletions
+3 -3
View File
@@ -37,7 +37,7 @@ return {
{
"tpope/vim-unimpaired",
init = function()
vim.g.nremap = { ["[x"] = "", ["]x"] = "" }
vim.g.nremap = { ["[x"] = "",["]x"] = "" }
end
},
"tpope/vim-sleuth",
@@ -60,8 +60,8 @@ return {
{
"vim-scripts/ReplaceWithRegister",
keys = {
{ "cr", "<Plug>ReplaceWithRegisterOperator", desc = "Replace with register" },
{ "cR", '"+cr', desc = "Replace with system clipboard" },
{ "cr", "<Plug>ReplaceWithRegisterOperator", desc = "Replace with register" },
{ "cR", '"+<Plug>ReplaceWithRegisterOperator', desc = "Replace with system clipboard" },
},
},
@@ -42,6 +42,9 @@ return {
opts = function()
return {
pre_hook = require('ts_context_commentstring.integrations.comment_nvim').create_pre_hook(),
toggler = {
block = "gC",
},
}
end
},
+1 -1
View File
@@ -32,7 +32,7 @@ function zvm_after_init() {
ZVM_LINE_INIT_MODE=$ZVM_MODE_INSERT
}
export YSU_MESSAGE_FORMAT="Alias: %alias";
export YSU_MESSAGE_FORMAT="Alias: %alias - %command";
export YSU_IGNORED_ALIASES=("g" "-" "~" "/" ".." "..." "...." "....." "md" "rd")
export DIRENV_LOG_FORMAT=
eval "$(atuin init zsh)"