This commit is contained in:
Christian Nieves
2023-03-20 15:47:17 -05:00
parent fcbb91f25e
commit 5a14fe163c
5 changed files with 78 additions and 13 deletions

View File

@ -41,8 +41,8 @@ end
local map = require("utils").map
-- here are some mappings you might want:
map('n', '[c', [[<Cmd>GoogleCommentsGotoNextComment<CR>]])
map('n', ']c', [[<Cmd>GoogleCommentsGotoPrevComment<CR>]])
map('n', ']c', [[<Cmd>GoogleCommentsGotoNextComment<CR>]])
map('n', '[c', [[<Cmd>GoogleCommentsGotoPrevComment<CR>]])
map('n', '<Leader>nc', [[<Cmd>GoogleCommentsGotoNextComment<CR>]])
map('n', '<Leader>pc', [[<Cmd>GoogleCommentsGotoPrevComment<CR>]])

View File

@ -1,3 +1,3 @@
local map = require("utils").map
map("n", "<Leader>y", ":OSCYank<CR>", opts)
map("v", "<Leader>y", ":OSCYank<CR>", opts)
vim.keymap.set('n', '<leader>y', require('osc52').copy_operator, {expr = true})
vim.keymap.set('n', '<leader>yy', '<leader>c_', {remap = true})
vim.keymap.set('v', '<leader>y', require('osc52').copy_visual)

View File

@ -1,4 +1,8 @@
local map = require("utils").map
vim.g.signify_vcs_cmds = {
hg = 'hg cat %f -r p4base',
}
map('n', ']d', '<plug>(signify-next-hunk)')
map('n', '[d', '<plug>(signify-prev-hunk)')