Shell Commands For The Kakoune Editor
:mv [target]
- Move the current file and rename the buffer
:rename [target]
- Rename the current file (keeping it in the same directory)
:cp [target]
- Copy the current file
:mkdir
- Make directories for the current buffer
:chmod [mode]
- Change file modes or Access Control Lists
:rm
- Remove the current file and buffer
plug "matthias-margush/tug"
Connect.kak Integration
bin/tmv
- Move files, also renaming associated buffers in the connected editor
To install, add tmv
to your PATH:
export PATH="$PATH:${XDG_CONFIG_HOME:-$HOME/.config}/kak/plugins/tug/bin"
nnn Integration
ln -s ~/.config/kak/plugins/tug/config/nnn/plugins/tmv ~/.config/nnn/plugins/tmv
export NNN_PLUG='m:tmv'