From 00c1c5aa77382e7c3d9c592a281b8da16a66c8c9 Mon Sep 17 00:00:00 2001 From: DLFW Date: Wed, 9 Jun 2021 21:06:02 +0200 Subject: Add a "touch" command (#66) * touch existing file works * touch can create files * bind key sequence "ft" to command ":touch " * fix: touch can touch new file in empty directory --- config/keymap.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') diff --git a/config/keymap.toml b/config/keymap.toml index da5aff3..5f80aeb 100644 --- a/config/keymap.toml +++ b/config/keymap.toml @@ -166,6 +166,9 @@ keys = [ "m", "k" ] [[mapcommand]] command = ":rename " keys = [ "c", "w" ] +[[mapcommand]] +command = ":touch" +keys = [ "f", "t" ] [[mapcommand]] command = "sort lexical" -- cgit v1.2.3