Tracing the execution of opening a file in cmode via "vile @filters.rc
foo.c" shows that the following files are attempted in order:

  ./.vile.keywords
  ~/.vile.keywords
  ~/.vile/vile.keywords
  /usr/share/vile/vile.keywords
  ./.c.keywords
  ~/.c.keywords
  ~/.vile/c.keywords
  /usr/share/vile/c.keywords

so ~/.vile.keywords should work.  Does it not?
On Wed, 1 Aug 2018 at 11:20, Chris Green <[email protected]> wrote:
>
> Currently I keep a copy of my customised vile.keywords in /usr/share/vile :-
>
>     -rw-r--r-- 1 root root    311 Jun 27 22:15 /usr/share/vile/vile.keywords
>     -rw-r--r-- 1 root root    311 Sep 29  2014 
> /usr/share/vile/vile.keywords.mine
>     -rw-r--r-- 1 root root    328 Sep 29  2014 
> /usr/share/vile/vile.keywords.original
>
> As I have vile installed on half a dozen or more systems it can become
> a bit of a pain repeatedly copying vile.keywords.mine back over
> vile.keywords whenever vile gets updated.
>
> So, is it possible to have a local copy of vile.keywords that will get
> used in preference to the one at /usr/share/vile/vile.keywords?
>
> E.g. if I have ~/.vile/vile.keywords will that get used?  Or maybe
> even ~/.vile.keywords would get used?
>
> --
> Chris Green
>
> _______________________________________________
> vile mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/vile

_______________________________________________
vile mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/vile

Reply via email to