dootfiles icon indicating copy to clipboard operation
dootfiles copied to clipboard

too complex

Open gatspy opened this issue 9 years ago • 5 comments
trafficstars

Your dotfiles really complex , after installation , nvim run error in customer_tomorrow.vim Unknown function: colorpal # begin CPHL not command in zplug install script the url should be change.

gatspy avatar Aug 04 '16 09:08 gatspy

Oh, don't install it. It's very specific to my setup. I leave it online as a reference only. CPHL refers to a plugin that's under development: https://github.com/tweekmonster/colorpal.vim

tweekmonster avatar Aug 04 '16 16:08 tweekmonster

If you ran make install or ./install, you should run make clean-links to remove the symlinks it created.

tweekmonster avatar Aug 04 '16 16:08 tweekmonster

you are so cool! your dotfiles so profound, i cannot make heads or tails of it. Why not consider creating a awesome lightweight dotfiles repo.

gatspy avatar Aug 04 '16 16:08 gatspy

Haha, thanks :)

I tried making my dot files simple, but over time they will eventually become one large and unreadable config file. That became frustrating when I wanted to change variables.

I think you're mainly interested in the Vim config, so here's a brief explanation of how it works so it's a little bit easier to understand it:

  • In init.vim, it sets expected directories, then loads configs for all, vim, or nvim.
  • In _source, scripts are named by their purpose and have a number prefixed for the load priority. The number prefix is similar to how Debian names scripts in /etc/rc*.d.
  • Scripts that that start 01- or 02- are always loaded.
  • Scripts that start with 03- and up requires the plugins directory to exist. This allows me to install my dotfiles on a new computer and use Vim without a lot of errors being generated because plugins aren't installed yet.
  • Everything under after is for settings that only matter to certain file types.

tweekmonster avatar Aug 04 '16 17:08 tweekmonster

yeah, i just stay at the level of use. your way is suitable for study and research, is too esoteric.

gatspy avatar Aug 04 '16 18:08 gatspy