Linux command
kak 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Open file
kak [file.txt]
Open multiple files
kak [file1] [file2]
Open at line
kak +[50] [file.txt]
Execute command
kak -e "[command]" [file.txt]
Client-server mode
kak -c [session-name]
Start as server
kak -d -s [session-name]
说明
Kakoune is a modal text editor inspired by Vim. It uses selection-first editing with multiple cursors. The editor provides instant visual feedback. It separates selection from action for intuitive editing.
参数
- +_LINE_
- Go to line number.
- -e _CMD_
- Execute command after startup.
- -c _SESSION_
- Connect to session.
- -d
- Daemon mode.
- -s _NAME_
- Session name.
- --help
- Display help information.
FAQ
What is the kak command used for?
Kakoune is a modal text editor inspired by Vim. It uses selection-first editing with multiple cursors. The editor provides instant visual feedback. It separates selection from action for intuitive editing.
How do I run a basic kak example?
Run `kak [file.txt]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does +_LINE_ do in kak?
Go to line number.