diff options
| author | Miguel <m.i@gmx.at> | 2019-06-09 15:00:23 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2019-06-09 15:00:23 +0200 |
| commit | 5f6d0202ec3250d1fce06f63d7a087e435c0d74c (patch) | |
| tree | 49ba3c3ff9dcec70141181052c298d66679e04a4 | |
| parent | 0dd6902c41db20adcf5e6710c2e44f426d4b9644 (diff) | |
updates
| -rw-r--r-- | git/.gitconfig | 18 | ||||
| -rw-r--r-- | vim/vimrc | 2 | ||||
| -rw-r--r-- | xmonad/xmonad.hs | 4 |
3 files changed, 22 insertions, 2 deletions
diff --git a/git/.gitconfig b/git/.gitconfig index 58dcb03..4d656b1 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -3,3 +3,21 @@ # Please adapt and uncomment the following lines: name = Miguel email = m.i@gmx.at +[merge] + tool = vimdiff + conflictstyle = diff3 + + +[mergetool] + prompt = true + +[mergetool "vimdiff"] + cmd = nvim -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c '$wincmd w' -c '$wincmd w' -c '$wincmd J' + +[difftool] + prompt = false + +[diff] + tool = vimdiff + + @@ -363,7 +363,9 @@ augroup END " }}} " ADDED AT WORK +if has ("nvim") tnoremap <Esc> <C-\><C-n> +endif augroup interoMaps au! diff --git a/xmonad/xmonad.hs b/xmonad/xmonad.hs index 3975878..1574c23 100644 --- a/xmonad/xmonad.hs +++ b/xmonad/xmonad.hs @@ -125,11 +125,11 @@ main = do ((mod4Mask, xK_F1 ), spawn "xterm -e vim ~/.xmonad/xmonad.hs") ,((mod4Mask , xK_b ), sendMessage ToggleStruts) ,((mod4Mask, xK_p ), spawn "dmenu_run -nb '#073642' -nf '#fdf6e3' -sb '#268bd2' -sf '#073642' -fn 'DejaVu Sans-10'") - ,((mod4Mask, xK_l ), spawn "slock") + ,((mod4Mask, xK_x ), spawn "slock") ,((mod4Mask, xK_m ), spawn "xterm -e \"fetchmail&&sleep 2\"") ,((mod4Mask, xK_c ), spawn "xterm -e \"echo clipboard&&xclip -o -selection clipboard&&echo&&echo&&echo primary&&xclip -o -selection p&&echo&&echo&&echo [press enter]&&read\"") ,((mod4Mask, xK_s ), spawn "import /tmp/screen.png && feh -. /tmp/screen.png") - ,((mod4Mask, xK_semicolon ), sendMessage Expand) +-- ,((mod4Mask, xK_l ), sendMessage Expand) -- , ((mod4Mask, xK_m ), spawn "notify-send \"$( fetchmail )\"") --,((mod4Mask .|. shiftMask, xK_x ), spawn "ans=$(zenity --list --text 'wanna restart?' --radiolist --column 'Pick' --column 'Opinion' TRUE '' FALSE 'sudo shutdown -r now' FALSE 'sudo shutdown -h now' ); $ans") |
