Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Configuring Vim Undotree

Vim Tools #Vim #Undotree #Productivity #Configuration #Vimrc

To enable persistent undo and configure the undotree plugin, add the following settings to your vimrc file:

" Save undo trees in files
set undofile
set undodir=~/.vim/undo

" Number of undo levels saved
set undolevels=10000

For more information on intermediate Vim usage, see this guide.