mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Add configurable default vi mode (#660)
- `vi_default_mode` added - supports `normal` and `insert`
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user