From c4f8df5765c37b126d9c3ed464d37742834e420a Mon Sep 17 00:00:00 2001 From: Stefan Liebl Date: Wed, 3 Jun 2020 09:23:13 +0200 Subject: [PATCH] + flog --- .gitmodules | 3 + pack/flog/opt/flog | 1 + vimfiles.stefan/after/ftplugin/floggraph.vim | 7 ++ vimfiles.stefan/after/ftplugin/gitv.vim | 4 - vimfiles.stefan/vimrc | 79 ++++++++++---------- 5 files changed, 51 insertions(+), 43 deletions(-) create mode 160000 pack/flog/opt/flog create mode 100644 vimfiles.stefan/after/ftplugin/floggraph.vim delete mode 100644 vimfiles.stefan/after/ftplugin/gitv.vim diff --git a/.gitmodules b/.gitmodules index fb245bd..612e764 100644 --- a/.gitmodules +++ b/.gitmodules @@ -104,3 +104,6 @@ [submodule "pack/qml/opt/qml"] path = pack/qml/opt/qml url = https://github.com/peterhoeg/vim-qml.git +[submodule "pack/flog/opt/flog"] + path = pack/flog/opt/flog + url = https://github.com/rbong/vim-flog.git diff --git a/pack/flog/opt/flog b/pack/flog/opt/flog new file mode 160000 index 0000000..97c3047 --- /dev/null +++ b/pack/flog/opt/flog @@ -0,0 +1 @@ +Subproject commit 97c3047ebb86fb21283fc88d70186f505bbbcde3 diff --git a/vimfiles.stefan/after/ftplugin/floggraph.vim b/vimfiles.stefan/after/ftplugin/floggraph.vim new file mode 100644 index 0000000..c5cab40 --- /dev/null +++ b/vimfiles.stefan/after/ftplugin/floggraph.vim @@ -0,0 +1,7 @@ +" settings for flog + +nmap rb :call flog#run_command('Git reset %h', 1, 1) +nmap rbh :call flog#run_command('Git reset --hard %h', 1, 1) + +nmap cp :call flog#run_command('Git cherry-pick %h', 1, 1) +"nmap d :call flog#run_command('Git cherry-pick %h', 1, 1) diff --git a/vimfiles.stefan/after/ftplugin/gitv.vim b/vimfiles.stefan/after/ftplugin/gitv.vim deleted file mode 100644 index 4e5634f..0000000 --- a/vimfiles.stefan/after/ftplugin/gitv.vim +++ /dev/null @@ -1,4 +0,0 @@ -" settings for fugitive / gitv - -setlocal encoding=utf-8 -"delcommand Make diff --git a/vimfiles.stefan/vimrc b/vimfiles.stefan/vimrc index 61531c6..a96f306 100644 --- a/vimfiles.stefan/vimrc +++ b/vimfiles.stefan/vimrc @@ -32,6 +32,41 @@ if !exists('nobmsk') execute 'source ' . expand(g:vimfiles . '/vimrc.bmsk') endif +" ------------------ +" packages / plugins +" ------------------ +packadd! asyncrun +packadd! conque +"packadd! diffchar +packadd! dirdiff +packadd! DoxygenToolkit +packadd! flake8 +packadd! flog +packadd! fugitive +"packadd! gdb-from-vim +packadd! gundo +packadd! isort +packadd! linediff +packadd! merginal +"packadd! pyclewn +"packadd! pylint +packadd! python-pep8-indent +packadd! qml +packadd! rtags +packadd! sessionman +packadd! SrchRplcHiGrp +packadd! syntastic +packadd! tagbar +"packadd! tail +packadd! tcomment +packadd! termdebug +packadd! vc +packadd! vimagit +packadd! VisIncr +packadd! xml +packadd! yapf +packadd! YouCompleteMe + " global settings " --------------- set nobackup " keep no backup file @@ -244,11 +279,6 @@ let g:tcomment#options = {'col': 1, 'whitespace': 'no'} " --------- let g:vc_log_name = '~/vc.log' -" ---- -" gitv -" ---- -let g:Gitv_OpenHorizontal = 1 - " ------ " flake8 " ------ @@ -266,40 +296,11 @@ command PyIsort Isort " ---------- let g:ConqueGdb_GdbExe = '/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabi/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/arm-cortexa8-linux-gnueabi-gdb' -" ------------------ -" packages / plugins -" ------------------ -packadd! asyncrun -packadd! conque -"packadd! diffchar -packadd! dirdiff -packadd! DoxygenToolkit -packadd! flake8 -packadd! fugitive -"packadd! gdb-from-vim -packadd! gitv -packadd! gundo -packadd! isort -packadd! linediff -packadd! merginal -"packadd! pyclewn -"packadd! pylint -packadd! python-pep8-indent -packadd! qml -packadd! rtags -packadd! sessionman -packadd! SrchRplcHiGrp -packadd! syntastic -packadd! tagbar -"packadd! tail -packadd! tcomment -packadd! termdebug -packadd! vc -packadd! vimagit -packadd! VisIncr -packadd! xml -packadd! yapf -packadd! YouCompleteMe +" ------------- +" YouCompleteMe +" ------------- +let g:ycm_clangd_binary_path = '/usr/bin/clangd' +"let g:ycm_clangd_binary_path = '/opt/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04/bin/clangd' if exists('g:debug') if (g:debug > 0)