From e44f1b2355c61c2c8c7930f5c4b879bf55ec31a3 Mon Sep 17 00:00:00 2001 From: kitty piapiac Date: Fri, 31 Jul 2020 04:39:41 -0700 Subject: =?UTF-8?q?(/=E3=83=BB=E3=83=BB)=E3=83=8E=20=20closes=20windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - small bugfix - updated readme.md to include config section - updated .gitignore to ignore config.nim - added config.def.nim --- src/config.nim | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/config.nim') diff --git a/src/config.nim b/src/config.nim index db02b1f..638b04b 100644 --- a/src/config.nim +++ b/src/config.nim @@ -20,15 +20,21 @@ const # store keybindings here keybindings*: seq[Key] = @[ - closeWindow.initKey( - key = "c", + # alt + shift + q will close the focused window + initKey( + closeWindow, + key = "q", mods = modifier or ShiftMask), - nextWindow.initKey( + # alt + tab will cycle the focus through the windows + initKey( + nextWindow, key = "Tab", mods = modifier), - spawnCustom.initKey( + # alt + return will open st, you can replace this with whatever your preferred terminal is + initKey( + spawnCustom, key = "Return", mods = modifier, - command = "st")] \ No newline at end of file + command = "st")] \ No newline at end of file -- cgit v1.2.3