summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/.gitconfig18
-rw-r--r--vim/vimrc2
-rw-r--r--xmonad/xmonad.hs4
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
+
+
diff --git a/vim/vimrc b/vim/vimrc
index d3b4d64..d8ec2f8 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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")