editor abstraction: minor additions

Add any one-off rules covered in the other editor profiles before converting those to the abstraction.
This commit is contained in:
doublez13 2024-05-16 07:29:21 -06:00 committed by Alex
parent f86b305a66
commit 4256e11492

View file

@ -5,8 +5,7 @@
include <abstractions/nameservice-strict>
@{bin}/sensible-editor mr,
@{bin}/vim mrix,
@{bin}/vim.* mrix,
@{bin}/vim{,.*} mrix,
@{sh_path} rix,
@{bin}/which{,.debianutils} rix,
@ -17,12 +16,13 @@
/etc/vim/{,**} r,
owner @{HOME}/.selected_editor r,
owner @{HOME}/.viminfo{,.tmp} rw,
owner @{HOME}/.viminf@{c}{,.tmp} rw,
owner @{HOME}/.vimrc r,
# Vim swap file
owner @{HOME}/ r,
owner @{user_cache_dirs}/ r,
owner @{user_cache_dirs}/vim/** wr,
owner @{user_cache_dirs}/vim/{,**} rw,
owner @{user_config_dirs}/vim/{,**} r,
include if exists <abstractions/app/editor.d>