Map caps to escape for vim
diff --git a/modules/sway.nix b/modules/sway.nix
index b1ec1ee..551161d 100644
--- a/modules/sway.nix
+++ b/modules/sway.nix
@@ -35,6 +35,7 @@
           };
           "type:keyboard" = {
             xkb_layout = "gb";
+            xkb_options = "caps:escape";
           };
           "type:tablet_tool" = {
             map_to_output = "eDP-1";