diff options
author | Adam <adam.moloney.stuck@gmail.com> | 2022-01-01 21:40:27 +0100 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2022-01-01 21:50:47 +0100 |
commit | 324232cf297156b4d8a7aa8ad53209fb7071f7ab (patch) | |
tree | af32525e386ef17bf550a80216482c763773d976 /.config | |
parent | 1a9b45278782dd141128a960b0cfcc9e7bc2eed0 (diff) |
Colemak keymap. Updated binds for i3, zsh, (n)vim
Diffstat (limited to '.config')
-rw-r--r-- | .config/i3/config | 16 | ||||
l--------- | .config/keyd/default.conf | 1 | ||||
-rw-r--r-- | .config/nvim/lua/binds.lua | 2 |
3 files changed, 18 insertions, 1 deletions
diff --git a/.config/i3/config b/.config/i3/config index 0a7e2f6..31671bb 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -34,12 +34,20 @@ bindsym $mod+h focus left bindsym $mod+j focus down bindsym $mod+k focus up bindsym $mod+l focus right +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right # Move focused window bindsym $mod+Shift+h move left bindsym $mod+Shift+j move down bindsym $mod+Shift+k move up bindsym $mod+Shift+l move right +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right # Focus the parent container bindsym $mod+a focus parent # Focus tiled / floating windows @@ -94,11 +102,19 @@ mode "Resize Mode" { bindsym j resize shrink height 6 px or 6 ppt bindsym k resize grow height 6 px or 6 ppt bindsym l resize grow width 6 px or 6 ppt + bindsym Left resize shrink width 6 px or 6 ppt + bindsym Down resize shrink height 6 px or 6 ppt + bindsym Up resize grow height 6 px or 6 ppt + bindsym Right resize grow width 6 px or 6 ppt bindsym Shift+h resize shrink width 12 px or 12 ppt bindsym Shift+j resize shrink height 12 px or 12 ppt bindsym Shift+k resize grow height 12 px or 12 ppt bindsym Shift+l resize grow width 12 px or 12 ppt + bindsym Shift+Left resize shrink width 12 px or 12 ppt + bindsym Shift+Down resize shrink height 12 px or 12 ppt + bindsym Shift+Up resize grow height 12 px or 12 ppt + bindsym Shift+Right resize grow width 12 px or 12 ppt bindsym minus gaps inner current minus 5 bindsym plus gaps inner current plus 5 diff --git a/.config/keyd/default.conf b/.config/keyd/default.conf new file mode 120000 index 0000000..37df45e --- /dev/null +++ b/.config/keyd/default.conf @@ -0,0 +1 @@ +/etc/keyd/default.conf
\ No newline at end of file diff --git a/.config/nvim/lua/binds.lua b/.config/nvim/lua/binds.lua index 2bbaa69..0e7ae96 100644 --- a/.config/nvim/lua/binds.lua +++ b/.config/nvim/lua/binds.lua @@ -8,7 +8,7 @@ map('', 'Y', 'y$', opts) map('n', '<C-L>', ':nohl<CR><C-L>', opts) map('n', 'n', 'nzzzv', opts) map('n', 'N', 'Nzzzv', opts) -map('i', 'kj', '<Esc>', opts) +-- map('i', 'kj', '<Esc>', opts) map('t', 'kj', '<C-\\><C-n>', { noremap = true }) map('i', ',', ',<c-g>u', opts) |