thoughtbot / dotfiles

A set of vim, zsh, git, and tmux configuration files.
https://thoughtbot.com
Other
7.99k stars 1.86k forks source link

Vim configuration is opinionated and does not provide any opt-out #690

Open andrewnicols opened 3 years ago

andrewnicols commented 3 years ago

I've been looking to adopt dotfiles for my configurations, and have sadly found that the vim configuration is rather opinionated and to undo those views I have to unmap and then remap a whole host of keys mappings.

In particular, the author has taken the opinion that <space> should be the leader rather than the default (\). To remap this, one must make quite a few changes.

I'd suggest that some way to select your own leader be provided - perhaps a .vimleader file, or similar.

geoffharcourt commented 3 years ago

To opt-out of the Vim configuration but retain everything else (zsh, etc.), you can create your own .vimrc file to block this file from being symlinked. This file could be in your personal dotfiles overrides or could reside in your home directory as a file rather than a symlink.