summaryrefslogtreecommitdiff
path: root/src/config.nim
diff options
context:
space:
mode:
authorkitty piapiac <kcp@bsd.computer>2020-07-31 04:39:41 -0700
committerkitty piapiac <kcp@bsd.computer>2020-07-31 04:39:41 -0700
commite44f1b2355c61c2c8c7930f5c4b879bf55ec31a3 (patch)
tree65cbc59db9799c9ca2c10627527f73b96cea21d4 /src/config.nim
parent6749e8b5c77cc1f8884dada564d6290e1b9860fd (diff)
(/・・)ノ closes windows
- small bugfix - updated readme.md to include config section - updated .gitignore to ignore config.nim - added config.def.nim
Diffstat (limited to 'src/config.nim')
-rw-r--r--src/config.nim16
1 files changed, 11 insertions, 5 deletions
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