diff options
-rwxr-xr-x | .config/bspwm/bspwmrc | 6 | ||||
-rw-r--r-- | .config/nvim/plug-config/floaterm.vim | 2 | ||||
-rw-r--r-- | .config/nvim/plug.vim | 1 | ||||
-rwxr-xr-x | .local/bin/kb | 2 |
4 files changed, 8 insertions, 3 deletions
diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 106cc3a..b1bade9 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -87,7 +87,8 @@ use constant { NEOMUTT_PATH => '/usr/local/bin/neomutt', SCLI_PATH => '/usr/local/bin/scli', VIMPC_PATH => '/usr/local/bin/vimpc', - MPD_NOTIFICATION_PATH => '/usr/local/bin/mpd-notification' + MPD_NOTIFICATION_PATH => '/usr/local/bin/mpd-notification', + XMODMAP_PATH => '/usr/local/bin/xmodmap' }; use constant { BSP_BORDER_WIDTH => 1, @@ -208,7 +209,8 @@ sub run_bg_programs system(XSETROOT_PATH, '-cursor_name', 'left_ptr'); system(XSET_PATH, 'r', 'rate', XSET_R_RATE_DELAY, XSET_R_RATE_RATE); system(SETXKBMAP_PATH, '-layout', 'us,fr', '-option', 'grp:alt_shift_toggle'); - system(XINPUT_PATH, '--set-prop', '12', '273', '-1'); + system(XMODMAP_PATH, '-e', 'keycode 9 = Tab'); + system(XMODMAP_PATH, '-e', 'keycode 23 = Escape'); return; } diff --git a/.config/nvim/plug-config/floaterm.vim b/.config/nvim/plug-config/floaterm.vim index 02dec94..2ac83b9 100644 --- a/.config/nvim/plug-config/floaterm.vim +++ b/.config/nvim/plug-config/floaterm.vim @@ -8,7 +8,7 @@ let g:floaterm_position = 'bottom' let g:floaterm_gitcommit = 'split' let g:floaterm_wintype = 'floating' let g:floaterm_rootmarkers = - \ [ + \ [ \ '.project', \ '.git', \ '.hg', diff --git a/.config/nvim/plug.vim b/.config/nvim/plug.vim index bab7ba3..605fb39 100644 --- a/.config/nvim/plug.vim +++ b/.config/nvim/plug.vim @@ -2,6 +2,7 @@ call plug#begin(system('echo -n "$XDG_DATA_HOME/nvim/plugged"')) Plug 'ap/vim-css-color' Plug 'brglng/vim-sidebar-manager' Plug 'dag/vim-fish' +Plug 'honza/vim-snippets' Plug 'jceb/vim-orgmode' Plug 'jiangmiao/auto-pairs' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } diff --git a/.local/bin/kb b/.local/bin/kb index 778d2d6..1cbfb28 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -2,3 +2,5 @@ xset r rate 200 150 setxkbmap -layout us,fr -option grp:alt_shift_toggle +xmodmap -e "keycode 9 = Tab" +xmodmap -e "keycode 23 = Escape" |