y Fedora Linux workstation shipped with vi commands. The default vi provides no syntax-highlighting for opened files, by default on Fedora Linux 29. It works like the original vi editor. How do I install an enhanced version of vim that provides syntax-highlighting on Fedora Linux 29?
am a new vim text editor user. I usually load ~/.vimrc using :vs ~/.vimrc
for configuration. Once edited my .vimrc file I need to reload it without having to quit Vim session. How do I edit my .vimrc file and reload it without having to restart Vim on Linux or Unix-like system? Continue reading “How to reload .vimrc file without restarting vim on Linux/Unix”
am a new Vim text editor user. I am writing Python code. Is there is a way to see Python documentation within vim and without visiting the Internet? Say my cursor is under the print Python keyword, and I press F1. I want to look at the help for the print keyword. How do I show python help() inside vim? How do I call pydoc3/pydoc to seek help without leaving vim? Continue reading “How to access/view Python help when using vim”
need of opening necessary files in reading (read-only) mode to avoid accidental editing of files such as /etc/resolv.conf or a large config or programming file on a production server. How do I open files in read-only mode in vim text editor on Linux or Unix-like system?
recently switched from OS X to Ubuntu. When I run the ‘vim file.c’ command at terminal, I see an error message that read as follows:
The program ‘vim’ can be found in the following packages: * vim-tiny
Try: apt-get install <selected package>
How do I fix this problem and why vim is not a default text editor on Ubuntu Linux? How can I install full-fledged vim text editor in Ubuntu Linux?
am a new vi / vim text editor user and I know how to quit without saving
changes. What if I want to wipe out all of the edits I have made in a session and get back to the original file? How do I wipe all changes since opening a file?
ow do I create and edit a file via SSH using a text editor such as vim on a Linux or Unix-like system?