aboutsummaryrefslogtreecommitdiffstats
path: root/glide
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-05-06 14:37:07 -0700
committerGravatar Tom Willemse2026-05-06 14:37:07 -0700
commit7526a5d3de84422cdf1489e2ed568b486fcc3a07 (patch)
treef454f874c730f386535dce71709eb8ed8dbe7db0 /glide
parentf1abe67178e2e984127b8d265bd5cd45ddac6eda (diff)
downloadnew-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’
Diffstat (limited to 'glide')
-rw-r--r--glide/.config/glide/glide.ts3
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',