- Notifications
You must be signed in to change notification settings - Fork750
Ivan Tham edited this pageNov 8, 2020 ·3 revisions
Rust features indentation, inspired by other auto languages in kakoune as well asrust.vim.
Most of the parts will auto-indent on-the-fly.
- 100 rust max width wrap and tabstop, seehttps://github.com/mawww/kakoune/pull/3510
- Continue comments
/// <ret> // trailing whitespace will be removed when leaving insert mode
- Remove comments
///<ret>
- Auto indent
structOption<T>where<ret>// <-- will dedent where
structOption<T>whereT:PartialEq{<ret>// <-- will dedent {
structOption<T>{Some(T),None,}<ret>// <-- will dedent }
- Normal mode commands
- Avoid the escape key
- Implementing user mode (Leader key)
- Kakoune explain
- Kakoune TV