You might know that prefixing a file or a directory with . makes it ‘hidden’ in unix-based systems – i.e. they won’t show up when you run ls and they won’t show up in your file browser (e.g. Finder).
However, did you know that MacOS lets you hide any directory in Finder – even if it’s not .hidden – using chflags?
$ chflags hidden dir1 dir2 dir3 I use the above to hide directories in my home directory, that I can’t remove (MacOS regenerates them automatically):
Vim is highly customisable, and I recommend everyone tailor their config according to their own preferences. That being said, here are some bits I think people may want to steal from my .vimrc. I tried to avoid the more common options you’d find in similar articles written by others, such as enabling line numbers, tpope’s surround plugin, or sane backspacing, and focus on the lesser-known tricks and settings.
General settings Highlight the current column Immediately find exactly where your cursor is, using set cursorcolumn.