diff options
author | DLFW <daniel@llin.info> | 2021-06-09 21:06:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 15:06:02 -0400 |
commit | 00c1c5aa77382e7c3d9c592a281b8da16a66c8c9 (patch) | |
tree | 0291a290aa9f640d7ae193c5cd24fc0c3023e69e /config | |
parent | 254ad21ab883009f7c241ce2a91942ee0c4fe5cb (diff) |
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
Diffstat (limited to 'config')
-rw-r--r-- | config/keymap.toml | 3 |
1 files changed, 3 insertions, 0 deletions
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" |