diff options
-rwxr-xr-x | bin/.local/bin/keyboard-us | 21 | ||||
-rw-r--r-- | i3/.config/i3/config | 3 | ||||
-rw-r--r-- | vim/.vimrc | 5 |
3 files changed, 27 insertions, 2 deletions
diff --git a/bin/.local/bin/keyboard-us b/bin/.local/bin/keyboard-us new file mode 100755 index 0000000..8f93f66 --- /dev/null +++ b/bin/.local/bin/keyboard-us @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +# Key repeat rate +xset r rate 400 50 + +# Xcape settings +killall -9 xcape + +# Set keyboard to US +setxkbmap us + +# Make Caps_Lock (Control_L, Escape) +xmodmap -e "clear Lock" +xmodmap -e "keysym Caps_Lock = Control_L Control_L" +xmodmap -e "add Control = Control_L" + +# Make space (Super_L, space) +xmodmap -e "keysym space = Super_L" +xmodmap -e "add mod4 = Super_L" +xmodmap -e "keycode any = space" +xcape -e 'Super_L=space' diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 6529f0a..4f26c15 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -200,6 +200,9 @@ bindsym $mod+y exec --no-startup-id "urxvt -e tmuxinator start notes" bindsym $mod+semicolon exec --no-startup-id $HOME/.local/bin/run bindsym $mod+e exec --no-startup-id $HOME/.local/bin/tmux_attach bindsym $mod+o exec --no-startup-id $HOME/.local/bin/references +bindsym $mod+F1 exec --no-startup-id $HOME/.local/bin/keyboard +bindsym $mod+F2 exec --no-startup-id $HOME/.local/bin/keyboard-us + # bindsym $mod+z # bindsym $mod+' @@ -38,7 +38,6 @@ Plug 'lervag/vimtex' Plug 'machakann/vim-highlightedyank' Plug 'majutsushi/tagbar' Plug 'neomake/neomake' -Plug 'KKPMW/sacredforest-vim' Plug 'scrooloose/nerdtree' Plug 'sjl/Gundo.vim', { 'on' : 'GundoToggle' } Plug 'terryma/vim-multiple-cursors' @@ -53,6 +52,7 @@ Plug 'tpope/vim-eunuch' Plug 'tpope/vim-flagship' Plug 'tpope/vim-fugitive' Plug 'tpope/vim-obsession' +Plug 'tpope/vim-projectionist' Plug 'tpope/vim-repeat' Plug 'tpope/vim-rsi' Plug 'tpope/vim-scriptease' @@ -76,12 +76,13 @@ if has("nvim") Plug 'Shougo/deoplete.nvim', { 'do' : ':UpdateRemotePlugins', 'tag' : '4.1' } Plug 'autozimu/LanguageClient-neovim', { 'do': 'bash install.sh', 'branch': 'next' } " Plug 'zchee/deoplete-jedi' - Plug 'hkupty/iron.nvim' + Plug 'hkupty/iron.nvim', { 'branch': 'legacy' } else Plug 'Shougo/neocomplete.vim' endif " Colors +Plug 'KKPMW/sacredforest-vim' Plug 'altercation/vim-colors-solarized' Plug 'arcticicestudio/nord-vim' Plug 'KKPMW/moonshine-vim' |