diff options
| author | 2026-05-06 14:37:07 -0700 | |
|---|---|---|
| committer | 2026-05-06 14:37:07 -0700 | |
| commit | 7526a5d3de84422cdf1489e2ed568b486fcc3a07 (patch) | |
| tree | f454f874c730f386535dce71709eb8ed8dbe7db0 | |
| parent | f1abe67178e2e984127b8d265bd5cd45ddac6eda (diff) | |
| download | new-dotfiles-7526a5d3de84422cdf1489e2ed568b486fcc3a07.tar.gz new-dotfiles-7526a5d3de84422cdf1489e2ed568b486fcc3a07.zip | |
glide: Bind ‘C-n’ and ‘C-p’ in insert mode
I don't want this constantly creating new windows when I don't actually mean to
do that. I could also change this in ‘about:keyboard’
| -rw-r--r-- | glide/.config/glide/glide.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glide/.config/glide/glide.ts b/glide/.config/glide/glide.ts index 9590a36..d508405 100644 --- a/glide/.config/glide/glide.ts +++ b/glide/.config/glide/glide.ts @@ -82,6 +82,9 @@ glide.keymaps.set(['normal', 'insert'], '<A-x>', 'commandline_show'); glide.keymaps.set('normal', 't', 'commandline_show tab_new '); glide.keymaps.del('normal', ':'); +glide.keymaps.set('insert', '<C-n>', async () => await glide.keys.send("<down>")); +glide.keymaps.set('insert', '<C-p>', async () => await glide.keys.send('<up>')); + const keyboard_quit = glide.excmds.create({ name: "keyboard_quit", description: 'Cancel whatever is going on and return to normal', |
