vim:autocmd: Add TODO and wip code for old_cursor

The commented code seem to not work but I want to have the behaviour
when entering the command line too.
This commit is contained in:
2022-11-21 16:36:53 +01:00
parent a0d68f9265
commit 33491571e2

View File

@@ -87,6 +87,11 @@ augroup highlight_old_cursor_pos
au!
au WinLeave * call HighlightOldCursorPos()
au WinEnter * call ClearOldCursorPos()
" TODO: WinLeave is not triggered when entering command line mode and
" CmdlineEnter is triggered **after** entering
" nnoremap : :call HighlightOldCursorPos()<CR>:
" au CmdlineLeave * call ClearOldCursorPos()
augroup END
" Do not mark input from stdin as modified