diff options
-rw-r--r-- | init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -154,6 +154,9 @@ vim.api.nvim_set_keymap('n', '<leader>psl', '<cmd>LanguageToolClear<cr>', { nore vim.api.nvim_set_keymap('n', '<leader>pc', '<cmd>cclose<cr><cmd>lclose<cr>', { noremap = true }) 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 }) -- Build a custom status line local status_line = { |