Add configurable default vi mode (#660)

- `vi_default_mode` added
- supports `normal` and `insert`
This commit is contained in:
Varun Vasan V authored and GitHub committed 2024-07-27 11:31:55 +02:00
1 parent 2b0301c1d0
commit a939b82179
4 files changed
+13 -1

No files matched your search

+1 -1
View File
@@ -194,7 +194,7 @@ pub fn main() !void {
defer password.deinit();
var active_input = config.default_input;
var insert_mode = !config.vi_mode;
var insert_mode = !config.vi_mode or config.vi_default_mode == .insert;
// Load last saved username and desktop selection, if any
if (config.load) {