.vimrc: Add easymotion. .xinitrc: Remove i3 logging

This commit is contained in:
kuben
2019-10-27 13:30:29 +01:00
parent a5157763d7
commit c0f6bb96dd
2 changed files with 14 additions and 1 deletions

12
.vimrc
View File

@@ -126,6 +126,18 @@ endfunction
"
command! Csc cscope find c <cword>
" Easymotion leader
map <Leader><tab> <Plug>(easymotion-prefix)
" Forwards and backwards jump
map <tab> <Plug>(easymotion-s)
" Forwards and backwards word jump
map <Leader>w <Plug>(easymotion-bd-w)
" Easymotion overwin line
nmap <Leader><tab>l <Plug>(easymotion-overwin-line)
" Easymotion search
nmap <S-tab> <Plug>(easymotion-sn)
nmap <S-tab> <Plug>(easymotion-tn)
" Replace the word under cursor
nnoremap <leader>* :%s/\<<c-r><c-w>\>//g<left><left>
" Replace visual selection

View File

@@ -43,7 +43,8 @@ if [ "$WM" = "i3" ]; then
elif [ "`hostname`" = "JakubArch" ] && [ -f ~/.i3/work.config ]; then
cat ~/.i3/work.config >> $i3config
fi
exec i3 -c $i3config -V >> ~/${WM}.log 2>&1
#exec i3 -c $i3config -V >> ~/${WM}.log 2>&1
exec i3 -c $i3config
else
exec $WM >> "~/${WM}.log" 2>&1
fi