Skip to content

Commit e33d871

Browse files
committed
Open folds cursor line after <C-W><C-E>
1 parent c54a452 commit e33d871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/config/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ vim.api.nvim_create_autocmd('TextYankPost', {
2525
callback = function() vim.hl.on_yank({ timeout = 50 }) end,
2626
})
2727

28-
vim.keymap.set('n', '<C-W><C-E>', 'mz:tabe %<C-M>`zzz')
28+
vim.keymap.set('n', '<C-W><C-E>', 'mz:tabe %<C-M>`zzzzv')
2929

3030
vim.cmd [[
3131
nmap y<C-G> <CMD>call setreg(v:register, exists('*fugitive#Object') ? fugitive#Object(expand('%')) : expand('%'))<CR>

0 commit comments

Comments
 (0)