Skip to content

matthias-margush/tug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tug

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

Installation

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'

(people-clipart png from pngtree.com)

About

Unix commands for the kakoune editor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages