There are many different configuration bundles for Vim, which easy the discovery, installation, configuration, and documentation of different plugins and features of this powerful text editor. SpaceVim is yet another one of these.
If you are new to Vim, or have grown tired of trying to tweak it to your liking, please give it a try. It might just work for all your needs.
It turns out that starting with Vim 7.3 you can preserve the undo history between editing sessions. Which means that you make changes to a file, save it, close it, and when you reopen it later, you can press ‘u’ to undo the changes you’ve done during the last edit.
In order to set this up, you first need to create a folder, where Vim will store the undo history files. For example:
$ mkdir ~/.vim/undodir
Then, you need tell Vim that you want to use persistent undo and where to store the files. Edit the .vimrc file and add the following:
As long as you are using Vim 7.3 or newer and the directory exists, your persistent undo history will work like a charm.
Read the rest of the thread for more tips on how to clean it up periodically, and how to further improve your experience with Vim’s undo, using plugins that help navigate the undo tree.
These days it is a common practices to manage, version, and share configuration files for command line tools (bash, vim, etc) via a GitHub repository. There are plenty of open repositories to study and borrow things from, as well as the tools and scripts to help one with setting things up. Have a look at the awesome-dotfiles – a curated list of dotfiles resources.
Personally, I haven’t heard of rcm until now. My own setup went through several iterations, varying from custom scripts, to Puppet, and now to Ansible. Have a look here. By the way, my dotfiles aren’t only about the command line tools. I also keep my desktop environment configuration in there (MATE + i3).
eDEX-UI is a science fiction terminal that runs on most operating systems. It was heavily inspired by the user interfaces in sci-fi movies, like TRON, Minority Report, and others. While it’s not very practical for the day-to-day use for anyone heavily using command line, it’s a lot of fun to run when there are non-technical people around, staring at your screen.
The installation is pretty simple:
git clone https://github.com/GitSquared/edex-ui.git
npm run install-linux
I think it works even better with a large touch screen, but I don’t have one around to try it on.