Browse Source

Xmodmap map numbers to more ergonomic position

master
arnaucube 4 years ago
parent
commit
50133535a7
2 changed files with 17 additions and 1 deletions
  1. +16
    -1
      .Xmodmap
  2. +1
    -0
      .vimrc

+ 16
- 1
.Xmodmap

@ -1,9 +1,24 @@
! !
! Swap Caps_Lock and Control_L ! Swap Caps_Lock and Control_L
! !
! to reset to default: setxkbmap -option
!
remove Lock = Caps_Lock remove Lock = Caps_Lock
remove Control = Control_L remove Control = Control_L
keysym Control_L = Caps_Lock
! keysym Control_L = Caps_Lock
keysym Control_L = Mode_switch
keysym Caps_Lock = Control_L keysym Caps_Lock = Control_L
add Lock = Caps_Lock add Lock = Caps_Lock
add Control = Control_L add Control = Control_L
! map numbers to more ergonomic position
keycode 29 = y Y 1
keycode 30 = u U 2
keycode 31 = i I 3
keycode 43 = h H 4
keycode 44 = j J 5
keycode 45 = k K 6
keycode 57 = n N 7
keycode 58 = m M 8
keycode 59 = comma semicolon 9
keycode 60 = period colon 0

+ 1
- 0
.vimrc

@ -8,6 +8,7 @@ call plug#end()
set termguicolors set termguicolors
set term=xterm-256color
colorscheme space-vim-dark colorscheme space-vim-dark
set background=dark set background=dark

Loading…
Cancel
Save