From 88688431e2d7eb392c79f907fd5a391a56be6aaa Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Mon, 23 Dec 2019 12:14:34 -0600 Subject: [PATCH] make directories on write --- dotfiles/kakoune.nix | 5 +++++ nix/sources.json | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/dotfiles/kakoune.nix b/dotfiles/kakoune.nix index 4aaae4a..fd65ee4 100644 --- a/dotfiles/kakoune.nix +++ b/dotfiles/kakoune.nix @@ -68,6 +68,11 @@ in { name = "WinCreate"; option = ".*"; } + { + commands = "mkdir-buffer"; + name = "BufWritePre"; + option = ".*"; + } ]; }; }; diff --git a/nix/sources.json b/nix/sources.json index be5302f..3c86c33 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -180,6 +180,19 @@ "url_template": "https://github.com///archive/.tar.gz", "vim": "true" }, + "mkdir.kak": { + "branch": "master", + "description": "mkdir integration for Kakoune", + "homepage": "https://kakoune.org", + "kakoune": "plugin", + "owner": "alexherbo2", + "repo": "mkdir.kak", + "rev": "fed14455f2b48586f630e1f8cc0efc48278dd2fe", + "sha256": "19c1jsg90dwmq86mc3rk0pnsj5fa5x5lfk6jk6jrmih6h0kavr37", + "type": "tarball", + "url": "https://github.com/alexherbo2/mkdir.kak/archive/fed14455f2b48586f630e1f8cc0efc48278dd2fe.tar.gz", + "url_template": "https://github.com///archive/.tar.gz" + }, "neco-syntax": { "branch": "master", "description": "Syntax source for neocomplete/deoplete/ncm",