Closed reedes closed 10 years ago
For example, whichwrap and virtualedit are globally-scoped settings. Setlocal for these doesn't appear to be working as expected.
Investigate how to automatically set/unset these for the buffers in which a pencil mode is active.
Use BufEnter and BufLeave events to set/restore these global settings.
Protected global settings from ve=onemore, the most disruptive of them.
Others can be similarly protected if needed. Closing for now.
For example, whichwrap and virtualedit are globally-scoped settings. Setlocal for these doesn't appear to be working as expected.
Investigate how to automatically set/unset these for the buffers in which a pencil mode is active.
Use BufEnter and BufLeave events to set/restore these global settings.