This commit is contained in:
newbie 2023-11-26 18:13:46 +08:00
parent 55009edec1
commit b2e16f4779
2 changed files with 1 additions and 13 deletions

View File

@ -2,14 +2,6 @@ local opt = {noremap = true}
-- base
G.map({
{'n', '<leader>y', '"+y', opt},
{'n', '<leader>p', '"+p', opt},
{'n', '<leader>d', '"+d', opt},
{'v', '<leader>y', '"+y', opt},
{'v', '<leader>p', '"+p', opt},
{'v', '<leader>d', '"+d', opt},
{'n', '<leader>nh', ':nohlsearch<CR>', opt},
{'n', '<leader>rp', ':%s/',opt},
@ -40,7 +32,6 @@ G.map({
{'n', '<c-q>', ':q!<CR>', opt},
{'n', '<leader>y', 'ggyG', opt},
{'n', '<leader>p', 'ggpG', opt},
{'n', '<leader>v', 'ggVG', opt},

View File

@ -1,9 +1,6 @@
return {
'github/copilot.vim', -- github copilot
config = function ()
G.g.copilot_no_tab_map = true
G.map({
{"i", '<c-e>', "copilot#Accept()", {silent = true}},
})
end
}