diff options
author | Urbain Vaes <urbain@vaes.uk> | 2014-11-05 14:39:53 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2014-11-05 14:39:53 +0000 |
commit | 48340f31f1c8e514fdada7359b8e417455b71d59 (patch) | |
tree | d1e51f3954cb6b879ced79cb3d478df98e2b08dc | |
parent | cce8d35f92752d5fac3e9790a25a7479deb5a59f (diff) |
daily update
-rw-r--r-- | inputrc | 2 | ||||
-rwxr-xr-x | make | 2 | ||||
-rw-r--r-- | vim/vimrc | 3 | ||||
-rw-r--r-- | xmodmap | 3 | ||||
-rw-r--r-- | zshrc | 9 |
5 files changed, 9 insertions, 10 deletions
@@ -0,0 +1,2 @@ +set editing-mode vi +set keymap vi @@ -4,7 +4,7 @@ dir=~/dotfiles olddir=~/dotfiles_old # Files to sync -files="vim mutt vifm bashrc zshrc xmodmap mynotes tmux.conf zathurarc offlineimaprc" +files="vim mutt vifm bashrc zshrc xmodmap mynotes tmux.conf zathurarc offlineimaprc inputrc" rm -rf $olddir mkdir -p $olddir @@ -18,6 +18,7 @@ Plugin 'Tabular' Plugin 'tComment' Plugin 'Gundo' Plugin 'altercation/vim-colors-solarized' +Plugin 'klen/python-mode' Plugin 'honza/vim-snippets' filetype plugin indent on @@ -251,6 +252,6 @@ endfunction "" Autocommands augroup autorelead_vimrc au! - au BufWritePost ~/.vimrc source ~/.vimrc + au BufWritePost ~/.vim/vimrc source ~/.vim/vimrc augroup END @@ -6,7 +6,7 @@ xmodmap -e "clear Lock" xmodmap -e "keycode 66 = Control_L" xmodmap -e "add Control = Control_L" - +# New mode switch xmodmap -e "keycode 94 = Mode_switch" # Numbers @@ -29,3 +29,4 @@ xmodmap -e "keycode 32 = r R 9" xmodmap -e "keycode 47 = s S dollar" /home/urbain/xcape/xcape -e 'Control_L=Escape' +/home/urbain/xcape/xcape -e 'Shift_L=Escape' @@ -105,8 +105,8 @@ alias oconf='vim ~/.offlineimaprc' alias xconf='vim ~/.xmodmap' # Fix smart search history -bindkey "^[[A" history-beginning-search-backward -bindkey "^[[B" history-beginning-search-forward +bindkey -a 'k' history-beginning-search-backward +bindkey -a 'j' history-beginning-search-forward sleep 2 h=`date +%H` @@ -117,8 +117,3 @@ elif [ $h -lt 18 ]; then else xdotool key Alt+t p Down Return fi - -# setxkbmap -option ctrl:swapcaps -# sh ~/.xmodmap -# ~/xcape/xcape -e 'Shift_L=Escape' -# ~/xcape/xcape -e 'Shift_R=Tab' |