13 lines
334 B
Lua
13 lines
334 B
Lua
local M = {
|
|
'kana/vim-smartword',
|
|
}
|
|
|
|
M.config = function()
|
|
vim.keymap.set({ 'n', 'v' }, '<c-right>', '<plug>(smartword-e)')
|
|
vim.keymap.set({ 'n', 'v' }, '<c-left>', '<plug>(smartword-b)')
|
|
vim.keymap.set('i', '<c-right>', '<c-o><plug>(smartword-e)<c-o>a')
|
|
vim.keymap.set('i', '<c-left>', '<c-o><plug>(smartword-b)')
|
|
end
|
|
|
|
return M
|