Solved

How to increase limit of Undo in Vi and make it default for all session?

Posted on 2010-09-03
1
669 Views
Last Modified: 2012-05-10
How to increase limit of Undo in Vi and make it default for all session?
0
Comment
Question by:umesh4exp
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 33595599
Hi,
this is only possible with vim, not with "classic" vi. But maybe your vi is actually a link to vim? ("ls l /usr/bin/vi")
The appropriate command to set "undolevels" is
:set ul=nnnn
The systemwide rc file for vim should be /usr/local/share/vim/vimrc
wmp
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question