Task: Use editor abstraction
This commit is contained in:
parent
769b4a7cec
commit
eb32db16c6
1 changed files with 1 additions and 23 deletions
|
|
@ -35,29 +35,7 @@ profile task @{exec_path} {
|
||||||
owner @{HOME}/.task/{,**} rwk,
|
owner @{HOME}/.task/{,**} rwk,
|
||||||
|
|
||||||
profile editor {
|
profile editor {
|
||||||
include <abstractions/base>
|
include <abstractions/editor>
|
||||||
include <abstractions/nameservice-strict>
|
|
||||||
|
|
||||||
@{bin}/sensible-editor mr,
|
|
||||||
@{bin}/vim mrix,
|
|
||||||
@{bin}/vim.* mrix,
|
|
||||||
@{sh_path} rix,
|
|
||||||
@{bin}/which{,.debianutils} rix,
|
|
||||||
|
|
||||||
/usr/share/vim/{,**} r,
|
|
||||||
/usr/share/terminfo/** r,
|
|
||||||
|
|
||||||
/etc/vimrc r,
|
|
||||||
/etc/vim/{,**} r,
|
|
||||||
|
|
||||||
owner @{HOME}/.selected_editor r,
|
|
||||||
owner @{HOME}/.viminfo{,.tmp} rw,
|
|
||||||
owner @{HOME}/.vimrc r,
|
|
||||||
|
|
||||||
# Vim swap file
|
|
||||||
owner @{HOME}/ r,
|
|
||||||
owner @{user_cache_dirs}/ r,
|
|
||||||
owner @{user_cache_dirs}/vim/** wr,
|
|
||||||
|
|
||||||
# Taskwarrior related files
|
# Taskwarrior related files
|
||||||
owner @{HOME}/.task/ r,
|
owner @{HOME}/.task/ r,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue