diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -156,7 +156,7 @@ vim.api.nvim_set_keymap('n', '<leader>pg', '<cmd>Goyo<cr>', { noremap = true }) vim.api.nvim_set_keymap('n', '<leader>pp', 'vipJVgq', { noremap = true }) -- Add "il" text object to mean "in line" vim.api.nvim_set_keymap('x', 'il', 'g_o^', { noremap = true }) -vim.api.nvim_set_keymap('o', 'il', ':normal vil<cr>', { noremap = true }) +vim.api.nvim_set_keymap('o', 'il', '<cmd>normal vil<cr>', { noremap = true }) -- Build a custom status line local status_line = { @@ -375,7 +375,8 @@ vim.g.ale_fixers = { } -- osc-yank -vim.api.nvim_set_keymap('n', '<leader>y', '<cmd>OSCYankRegister 0<cr>', { noremap = true }) +vim.api.nvim_set_keymap('n', '<leader>yy', '<cmd>OSCYankRegister 0<cr>', { noremap = true }) +vim.api.nvim_set_keymap('n', '<leader>yl', '<cmd>normal mevily`e<space>yy<cr>', { noremap = true }) -- vim-angry-reviewer vim.g.AngryReviewerEnglish = 'american' |