summary refs log tree commit diff
path: root/.vim/after/ftplugin/diff.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/ftplugin/diff.vim')
-rw-r--r--.vim/after/ftplugin/diff.vim33
1 files changed, 0 insertions, 33 deletions
diff --git a/.vim/after/ftplugin/diff.vim b/.vim/after/ftplugin/diff.vim
deleted file mode 100644
index 49974ec..0000000
--- a/.vim/after/ftplugin/diff.vim
+++ /dev/null
@@ -1,33 +0,0 @@
-" disable annoying plugins
-let b:coc_enabled = 0
-silent NeomakeDisable
-
-command! FindMergeMarker execute 'normal /^<<<<<<</<CR>'
-
-" shortcuts for 3-way merges
-command! DiffGetLocal :diffget LOCAL
-command! DiffGetRemote :diffget REMOTE
-" quicksave
-command! DiffSave :wqa
-
-cnoreabbrev fmm FindMergeMarker
-cnoreabbrev dgl DiffGetLocal
-cnoreabbrev dgr DiffGetRemote
-cnoreabbrev ds DiffSave
-
-
-let s:markers = {
-      \ 'ours': '^<<<<<<< ',
-      \ 'theirs': '^>>>>>>> ',
-      \ 'base': '^||||||| ',
-      \ 'delimiter': '^=======\r\?$',
-      \ }
-
-if &diff
-    " set custom ctags in diff mode
-
-    let _ft=&filetype
-    let g:vista_ctags_cmd = {
-    \ _ft: 'ctags --format=2 --excmd=pattern --fields=nksSaf --file-scope=yes --sort=no --append=no --output-format=json --fields=-PF -f-',
-    \ }
-endif