.vimrc: Add easymotion. .xinitrc: Remove i3 logging
This commit is contained in:
12
.vimrc
12
.vimrc
@@ -126,6 +126,18 @@ endfunction
|
|||||||
"
|
"
|
||||||
command! Csc cscope find c <cword>
|
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
|
" Replace the word under cursor
|
||||||
nnoremap <leader>* :%s/\<<c-r><c-w>\>//g<left><left>
|
nnoremap <leader>* :%s/\<<c-r><c-w>\>//g<left><left>
|
||||||
" Replace visual selection
|
" Replace visual selection
|
||||||
|
|||||||
3
.xinitrc
3
.xinitrc
@@ -43,7 +43,8 @@ if [ "$WM" = "i3" ]; then
|
|||||||
elif [ "`hostname`" = "JakubArch" ] && [ -f ~/.i3/work.config ]; then
|
elif [ "`hostname`" = "JakubArch" ] && [ -f ~/.i3/work.config ]; then
|
||||||
cat ~/.i3/work.config >> $i3config
|
cat ~/.i3/work.config >> $i3config
|
||||||
fi
|
fi
|
||||||
exec i3 -c $i3config -V >> ~/${WM}.log 2>&1
|
#exec i3 -c $i3config -V >> ~/${WM}.log 2>&1
|
||||||
|
exec i3 -c $i3config
|
||||||
else
|
else
|
||||||
exec $WM >> "~/${WM}.log" 2>&1
|
exec $WM >> "~/${WM}.log" 2>&1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user