๐Ÿ“ฆ sameoldlab / .dotfiles

๐Ÿ“„ config.yml ยท 66 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66modmap: 
  - name: WM
    remap: 
      CapsLock: 
        held: LeftCtrl
        alone: Esc
        alone_timeout_millis: 300
      # a+j:
      #   alone: a
      #   held: LeftMeta
      #   alone_timeout_millis: 800
      # s:
      #   alone: s
      #   held: LeftAlt
      #   alone_timeout_millis: 800
      # d:
      #   alone: d
      #   held: LeftShift
      #   alone_timeout_millis: 800
      # f:
      #   alone: f
      #   held: LeftCtrl
      #   alone_timeout_millis: 800
      # semicolon:
      #   alone: semicolon
      #   held: LeftMeta
      #   alone_timeout_millis: 800
      # l:
      #   alone: l
      #   held: LeftAlt
      #   alone_timeout_millis: 800
      # k:
      #   alone: k
      #   held: LeftShift
      #   alone_timeout_millis: 800
      # j:
      #   alone: j
      #   held: LeftCtrl
      #   alone_timeout_millis: 800
         
keymap: 
  - name: default
    remap:
      super-x:
        remap:
          b: [launch: ["firefox"]]
          e: [launch: ["nemo"]]
          c: [launch: ["code"]]
          t: [launch: ["foot"]]
          z: [launch: ["Zed"]]
          h: [launch: ["helix"]]
          
  
  - name: Default Mode
    remap:
      super-s: {set_mode: resize}
    mode: default

  - name: Resize Mode
    remap: 
      super-s: {set_mode: default}
      esc: {set_mode: default}
      enter: {set_mode: default}
      #left: {} #shrink current window
    mode: resize