diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-09-23 21:43:23 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-09-23 21:43:23 -0700 |
commit | 91a254de165ade5f07285101e5adf37fd5ffe99b (patch) | |
tree | 70fd2544184c3a47307870ed45e181cbe6a6d3fc | |
parent | 3702858928fa5ff4fef363f286462114096e0592 (diff) | |
download | mu-91a254de165ade5f07285101e5adf37fd5ffe99b.tar.gz |
6842 - hackily load local Vim settings
I have scripts to load vimrc.vim from the directory of the file being edited. This hack loads vimrc.vim from the top-level mu/ directory when I edit files in some common directories.
-rw-r--r-- | apps/browse/vimrc.vim | 2 | ||||
-rw-r--r-- | apps/tile/vimrc.vim | 2 | ||||
-rw-r--r-- | apps/vimrc.vim | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/apps/browse/vimrc.vim b/apps/browse/vimrc.vim new file mode 100644 index 00000000..348fe364 --- /dev/null +++ b/apps/browse/vimrc.vim @@ -0,0 +1,2 @@ +" when opening files in this directory, load vimrc from cwd (top-level) +source vimrc.vim diff --git a/apps/tile/vimrc.vim b/apps/tile/vimrc.vim new file mode 100644 index 00000000..348fe364 --- /dev/null +++ b/apps/tile/vimrc.vim @@ -0,0 +1,2 @@ +" when opening files in this directory, load vimrc from cwd (top-level) +source vimrc.vim diff --git a/apps/vimrc.vim b/apps/vimrc.vim new file mode 100644 index 00000000..348fe364 --- /dev/null +++ b/apps/vimrc.vim @@ -0,0 +1,2 @@ +" when opening files in this directory, load vimrc from cwd (top-level) +source vimrc.vim |