From d3ec4e9142742ca77d4ba46b204fd686af5f0491 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Fri, 20 Apr 2018 11:04:40 +0200 Subject: [PATCH 01/18] Alias for nice ascii weather stats --- .config/fish/config.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 7f7db56..ab3d68e 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -98,3 +98,4 @@ alias pypi_sanoma 'python setup.py sdist --formats=zip upload -r sanoma' alias youtube-dl 'youtube-dl -t -f bestvideo+bestaudio/best --merge-output-format mp4' alias weather 'ansiweather' +alias wttr 'curl -s wttr.in/Beverwijk | head -17' From 876d545ab2ad6055cf66f00fa3caf326b439a99c Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 23 Apr 2018 14:51:52 +0200 Subject: [PATCH 02/18] Word --- .vim/spell/nl.utf-8.add | 1 + .vim/spell/nl.utf-8.add.spl | Bin 1107 -> 1122 bytes 2 files changed, 1 insertion(+) diff --git a/.vim/spell/nl.utf-8.add b/.vim/spell/nl.utf-8.add index 8a6bac0..a7e72ea 100644 --- a/.vim/spell/nl.utf-8.add +++ b/.vim/spell/nl.utf-8.add @@ -64,3 +64,4 @@ Vomar weekplanner calzone stoepkrijt +waterballonnen diff --git a/.vim/spell/nl.utf-8.add.spl b/.vim/spell/nl.utf-8.add.spl index 4ddf2d53c826b7a1837357bfdd7fb8ec29bd20a5..1fb0c7863abcea1917104a7e9bae3b1af3bfd8ec 100644 GIT binary patch delta 57 zcmcc2@rZ*j%+t5HAT=k)=syDkv)M+zJ5J Date: Mon, 23 Apr 2018 19:22:34 +0200 Subject: [PATCH 03/18] Enhance the ripgrep awesomeness --- .vimrc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 30ce750..e208041 100644 --- a/.vimrc +++ b/.vimrc @@ -107,11 +107,20 @@ endif " fzf integration for fast fuzzy finding, better and faster than ctrl-p set rtp+=~/workspace/projects/others/fzf Plugin 'junegunn/fzf.vim' + +" :Find term where term is the string you want to search, this will open up a +" window similar to :Files but will only list files that contain the term +" searched +command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape().'| tr -d "\017"', 1, 0) + +" Simply type ; to search through buffers, leader-o to search through file +" names, \t for tags, \c for (Git) commits and \f to search through contents +" of files nmap ; :Buffers -nmap f :Files +nmap o :Files nmap t :Tags nmap c :Commits - +nmap f :Find " Web Development/Filetype icons " Needs a font like found at From 0640a92e6a7a04a30e175dd9c30a53a0559ac341 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 30 Apr 2018 13:59:30 +0200 Subject: [PATCH 04/18] Search in files tryouts --- .vimrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.vimrc b/.vimrc index e208041..e8f8804 100644 --- a/.vimrc +++ b/.vimrc @@ -103,6 +103,9 @@ if executable('ag') "let g:ackprg = 'ag --nogroup --nocolor --column' let g:ackprg = 'ag --vimgrep' endif +if executable('rg') + let g:ackprg = 'rg --vimgrep' +endif " fzf integration for fast fuzzy finding, better and faster than ctrl-p set rtp+=~/workspace/projects/others/fzf @@ -113,6 +116,16 @@ Plugin 'junegunn/fzf.vim' " searched command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape().'| tr -d "\017"', 1, 0) +" Handy search stuff +" https://github.com/BurntSushi/ripgrep/issues/425 +set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case +"nnoremap g :silent lgrep +nnoremap [f :lprevious +nnoremap ]f :lnext + +" F8 search for word under the cursor recursively , :copen , to close -> :ccl +nnoremap :grep! "\<\>" . -r:copen 33 + " Simply type ; to search through buffers, leader-o to search through file " names, \t for tags, \c for (Git) commits and \f to search through contents " of files From 3424ac05f2525bbe53dbfbe081313ed3c7d8f860 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 30 Apr 2018 14:59:55 +0200 Subject: [PATCH 05/18] Not entirely correctly working quick-opener --- .config/fish/config.fish | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index ab3d68e..586f154 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -99,3 +99,11 @@ alias youtube-dl 'youtube-dl -t -f bestvideo+bestaudio/best --merge-output-forma alias weather 'ansiweather' alias wttr 'curl -s wttr.in/Beverwijk | head -17' + +# https://www.reddit.com/r/vim/comments/7axmsb/i_cant_believe_how_good_fzf_is/?st=jgm7kba5&sh=590aa1e0 +function rgvim + set choice (rg -il $argv | fzf -0 -1 --ansi --preview "cat {} | rg $argv --context 3") + if [ $choice ] + vim "+/"(to_lower $argv) $choice + end +end From f621acf675a87679d66798918f84124a3503aecc Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 30 Apr 2018 15:00:06 +0200 Subject: [PATCH 06/18] More search tweaks, colour theme support for fzf --- .vimrc | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/.vimrc b/.vimrc index e8f8804..8c271cf 100644 --- a/.vimrc +++ b/.vimrc @@ -103,29 +103,38 @@ if executable('ag') "let g:ackprg = 'ag --nogroup --nocolor --column' let g:ackprg = 'ag --vimgrep' endif +" https://github.com/BurntSushi/ripgrep/releases if executable('rg') - let g:ackprg = 'rg --vimgrep' +" let g:ackprg = 'rg --vimgrep' + set grepprg=rg\ --vimgrep endif " fzf integration for fast fuzzy finding, better and faster than ctrl-p set rtp+=~/workspace/projects/others/fzf Plugin 'junegunn/fzf.vim' +" Customize fzf colors to match your color scheme +let g:fzf_colors = +\ { 'fg': ['fg', 'Normal'], + \ 'bg': ['bg', 'Normal'], + \ 'hl': ['fg', 'Comment'], + \ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'], + \ 'bg+': ['bg', 'CursorLine', 'CursorColumn'], + \ 'hl+': ['fg', 'Statement'], + \ 'info': ['fg', 'PreProc'], + \ 'border': ['fg', 'Ignore'], + \ 'prompt': ['fg', 'Conditional'], + \ 'pointer': ['fg', 'Exception'], + \ 'marker': ['fg', 'Keyword'], + \ 'spinner': ['fg', 'Label'], + \ 'header': ['fg', 'Comment'] } + " :Find term where term is the string you want to search, this will open up a " window similar to :Files but will only list files that contain the term " searched +" https://medium.com/@crashybang/supercharge-vim-with-fzf-and-ripgrep-d4661fc853d2 command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape().'| tr -d "\017"', 1, 0) -" Handy search stuff -" https://github.com/BurntSushi/ripgrep/issues/425 -set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case -"nnoremap g :silent lgrep -nnoremap [f :lprevious -nnoremap ]f :lnext - -" F8 search for word under the cursor recursively , :copen , to close -> :ccl -nnoremap :grep! "\<\>" . -r:copen 33 - " Simply type ; to search through buffers, leader-o to search through file " names, \t for tags, \c for (Git) commits and \f to search through contents " of files @@ -134,6 +143,10 @@ nmap o :Files nmap t :Tags nmap c :Commits nmap f :Find +nmap l :Lines + +nnoremap [f :lprevious +nnoremap ]f :lnext " Web Development/Filetype icons " Needs a font like found at @@ -449,7 +462,7 @@ iab dayh strftime("== %Y%m%d %A ======") iab timeh strftime("## %Y%m%d %a %H:%M:%S") " Fly through buffers instead of cycling -nnoremap l :ls:b +" nnoremap l :ls:b " Close Location windows, if exist, switch to the previous view buffer, and then close the last switched buffer. nnoremap q :lcloseb#bd # From dfa533e8203dd7fde352049b1b72b44968f89f54 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 1 May 2018 19:53:03 +0200 Subject: [PATCH 07/18] Vocabulary++ --- .vim/spell/nl.utf-8.add | 1 + .vim/spell/nl.utf-8.add.spl | Bin 1122 -> 1139 bytes 2 files changed, 1 insertion(+) diff --git a/.vim/spell/nl.utf-8.add b/.vim/spell/nl.utf-8.add index a7e72ea..22e43d7 100644 --- a/.vim/spell/nl.utf-8.add +++ b/.vim/spell/nl.utf-8.add @@ -65,3 +65,4 @@ weekplanner calzone stoepkrijt waterballonnen +Augustinus diff --git a/.vim/spell/nl.utf-8.add.spl b/.vim/spell/nl.utf-8.add.spl index 1fb0c7863abcea1917104a7e9bae3b1af3bfd8ec..864745e430ed685b426954a33d18885b4879498e 100644 GIT binary patch literal 1139 zcmZuwyN=XA5Oj~1`vVdpvXjt(5CO?a7nngv))&IB*$37wwegcV%n1r01 zKj0TgNeQ5;XE)=lJA5N)l zCh4RQC%pujWRwBFL}oDym?ynffbe9@11m}Ltn^_tc`r4ry})uah!t-V99P%Uh(~A# z&Ox0HcL#8fcOx5|fy;vIIC?g7q?OgHwe# zkJ_!YY9nKRF6)?9VFI?(HfZ-im$1b68d$Kg7q6fRi3w+7(lSXeYdj7fiz4Zt@e4?- zxEr);+zAHO5@CcRbk!(!HQ%V995d>oamL@0%0MLu;{0-Wv+pecBIUc}zB&TM&Q z>2iy0aTH-N$}C@~zzA(B#yrttK6e0gc<3u2JC{J$prkl6?6LR#RSwSYu4(;f%3wUD zXF;$5v?XP^Lq9DNun}?ASg#Cl{bJ@QMiphqYQU&1pufu~$em+Ir<%wWH-SqFz|W9! z%O+$RU}4E|+_Llr{@YDZ{sugkImh9``L#(Mf&+x;Si}XycFBeEzEPAK&qW4q?5sXn zo;USm;oYG&W~W5*$wA@Dgb_{0?i@6XI~hO#NWn=4v*xZaFT0b({Gi|*fO(l442d5b zM}{Hf*NX5DztvDVsgE~#jd=%{Is_yP3% z1OCAM0a`k0cyBi8h~?Nj^XARWoALeIcSG-*=GEUU%U?gYt77dorQg?@^4Az1$$mYA!Du%q-XeI|2;4Wrt^>fmTB+M6fnyZSdw17eHvGRT~-m zQ&orD#~rYpc0hXox`HLe*T8~}tpo+_keF~LCM}cnvcl!yu_%)M33o(d#a*LQiaV@Q{D`NM7C-U9G5=G?R$G7Ye> zC~NrhG{P&2mra~G^1H@UznHONoIafa1Ov+76wD&_r_6S5^QJg x@b`?p7U!MvJ&07S+d&S>)T+hm*T=RIbIWuSd4Ibs%U;MExs&(*`F7#N?;q2V*suTq From 7ada845a7213378026c0e793f53d190e4b1c0218 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Wed, 2 May 2018 16:36:46 +0200 Subject: [PATCH 08/18] More files to save --- bin/sanomanotes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sanomanotes b/bin/sanomanotes index 7894d98..f265fb2 100755 --- a/bin/sanomanotes +++ b/bin/sanomanotes @@ -2,4 +2,4 @@ cd ~/mydocs/work/sanoma git pull #vim -c ":vsp planning_2015.todo" notes_2015.md notes_2014.md -vim -c "set nofoldenable" planning_2018.todo cs_notes.md cs_howtos.md dcp_notes.md dcp_howtos.md planning_2017.todo +vim -c "set nofoldenable" planning_2018.todo startpagina_notes.md cs_notes.md cs_howtos.md dcp_notes.md dcp_howtos.md planning_2017.todo From 44e41d84b4a0648ce1ad21df35bcacc0174e107c Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 8 May 2018 07:14:50 +0200 Subject: [PATCH 09/18] Trying to debug --- .vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.vimrc b/.vimrc index 8c271cf..1f4a02d 100644 --- a/.vimrc +++ b/.vimrc @@ -383,6 +383,7 @@ Plugin 'ludovicchabant/vim-gutentags' " know when Gutentags is generating tags (prints 'TAGS' in status-line) set statusline+=%{gutentags#statusline()} let g:gutentags_ctags_exclude = ["*.min.js", "*.min.css", "build", "vendor", ".git", "node_modules", "*.vim/bundle/*"] +let g:gutentags_trace = 1 " All of your Plugins must be added before the following line call vundle#end() " required From ea80af82e6c989b1bf0df5cde7c1f8c76766cb26 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 8 May 2018 14:29:36 +0200 Subject: [PATCH 10/18] Done with debugging --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 1f4a02d..e027e25 100644 --- a/.vimrc +++ b/.vimrc @@ -383,7 +383,7 @@ Plugin 'ludovicchabant/vim-gutentags' " know when Gutentags is generating tags (prints 'TAGS' in status-line) set statusline+=%{gutentags#statusline()} let g:gutentags_ctags_exclude = ["*.min.js", "*.min.css", "build", "vendor", ".git", "node_modules", "*.vim/bundle/*"] -let g:gutentags_trace = 1 +"let g:gutentags_trace = 1 " All of your Plugins must be added before the following line call vundle#end() " required From d9a3bb56f0ce0fb041379a93e07155f4ac7bbefc Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 21 May 2018 17:17:37 +0200 Subject: [PATCH 11/18] Dictionary --- .vim/spell/nl.utf-8.add | 1 + .vim/spell/nl.utf-8.add.spl | Bin 1139 -> 1154 bytes 2 files changed, 1 insertion(+) diff --git a/.vim/spell/nl.utf-8.add b/.vim/spell/nl.utf-8.add index 22e43d7..0f80aaf 100644 --- a/.vim/spell/nl.utf-8.add +++ b/.vim/spell/nl.utf-8.add @@ -66,3 +66,4 @@ calzone stoepkrijt waterballonnen Augustinus +fotoboekje diff --git a/.vim/spell/nl.utf-8.add.spl b/.vim/spell/nl.utf-8.add.spl index 864745e430ed685b426954a33d18885b4879498e..43aab03445797d8762cc585127145ced7fd52339 100644 GIT binary patch delta 240 zcmW+wy=nqM5Z-TALWE!`gdha5GFEA>6HF&^Nf*%WPFGH|cPs1JSlZb-k6@8nQsxn? z1Yf}?uoZMphGFL8`CatdjT*TeISimw%flg-Hux!UGUY8i zHe971b{x~k+uqpJ<&=1G3s^BiVQ(-gW`B$Y(tCg)&j)Ja$`^XYiEH{9AqTpSe;(-e zOBjh#PAntwPBB7+4D%x8m;ZD<$TNAuQ|yJXQch?nI%apdY@Hz)D{sz(EW8M Khx7w~l^QqL8#zP( delta 225 zcmZqT{LH}@=IL8pkeZWY^q+x&*?A*hCnFDIK4S@EDkCEUgHF-pEsRBst&`Q6ycw5F zE@pDl-Itn^n_t3|QN)yA%9sOG$jHFBFO@NqF%6_4Ba5+=F_$q3XarC^b@BryEyhoi zxtSFhZ%o!0};QIgn+R%#@nLn9W!KlmzL`V*={+nJmrX$i(z}avX~a E0E>DyN&o-= From c8e69d7d05d24e48a3eb63a02cc73ff2ba37066a Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Wed, 23 May 2018 16:11:52 +0200 Subject: [PATCH 12/18] Add ignore file, for ripgrep (rg) et al --- .ignore | 1 + install.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .ignore diff --git a/.ignore b/.ignore new file mode 100644 index 0000000..6e92f57 --- /dev/null +++ b/.ignore @@ -0,0 +1 @@ +tags diff --git a/install.sh b/install.sh index 0cbb7ec..30bf026 100644 --- a/install.sh +++ b/install.sh @@ -50,7 +50,7 @@ DATETIME=$(date +%Y%m%d_%H%M) cd # Symlink all the things -for TARGET in .bash_aliases .bashrc bin .gitconfig .gitmodules .hgauthors.txt .hgignore .hgrc .screenrc .terminfo .tmux.conf .vim .vimrc install.sh +for TARGET in .bash_aliases .bashrc bin .gitconfig .gitmodules .hgauthors.txt .hgignore .hgrc .ignore .screenrc .terminfo .tmux.conf .vim .vimrc install.sh do cd echo $TARGET From 8d6b2be60d32417d1e48b2fb4825094d47bf12d5 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Wed, 23 May 2018 16:15:54 +0200 Subject: [PATCH 13/18] Better ignoring while opening files: nested .git dirs, vim .swp files --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index e027e25..a2ca405 100644 --- a/.vimrc +++ b/.vimrc @@ -133,7 +133,7 @@ let g:fzf_colors = " window similar to :Files but will only list files that contain the term " searched " https://medium.com/@crashybang/supercharge-vim-with-fzf-and-ripgrep-d4661fc853d2 -command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!.git/*" --color "always" '.shellescape().'| tr -d "\017"', 1, 0) +command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --no-ignore --hidden --follow --glob "!**.git/*" --glob "!*.swp" --color "always" '.shellescape().'| tr -d "\017"', 1, 0) " Simply type ; to search through buffers, leader-o to search through file " names, \t for tags, \c for (Git) commits and \f to search through contents From cec5d15929c787e20c50b5d220ddaae5bf47dcbf Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sun, 27 May 2018 21:09:30 +0200 Subject: [PATCH 14/18] Vocabulary --- .vim/spell/nl.utf-8.add | 2 ++ .vim/spell/nl.utf-8.add.spl | Bin 1154 -> 1208 bytes 2 files changed, 2 insertions(+) diff --git a/.vim/spell/nl.utf-8.add b/.vim/spell/nl.utf-8.add index 0f80aaf..cdac4b7 100644 --- a/.vim/spell/nl.utf-8.add +++ b/.vim/spell/nl.utf-8.add @@ -67,3 +67,5 @@ stoepkrijt waterballonnen Augustinus fotoboekje +varkenshaassaté +sajoerboontjes diff --git a/.vim/spell/nl.utf-8.add.spl b/.vim/spell/nl.utf-8.add.spl index 43aab03445797d8762cc585127145ced7fd52339..8ddc5b9cfb83ef4c6fe2ed1337bf1c40ee20e0c1 100644 GIT binary patch delta 125 zcmZqT+`-8g=IL8pkeZWY^q+x&xn?8ZA|?g)#AHSW#?z@ex%nlGS&aFNsf8!9LJ&p0BnXIW&i*H delta 71 zcmdnN*~G~g=IL8pkeZWY^q+x&*>5A?A|`IOWJU(Y)2TVR`6ZJtFs)}{PR%cxyo9-j bhv`ZlV Date: Mon, 28 May 2018 21:37:36 +0200 Subject: [PATCH 15/18] Slowly expanding zeh vocabularay --- .vim/spell/nl.utf-8.add | 2 ++ .vim/spell/nl.utf-8.add.spl | Bin 1208 -> 1246 bytes 2 files changed, 2 insertions(+) diff --git a/.vim/spell/nl.utf-8.add b/.vim/spell/nl.utf-8.add index cdac4b7..bf63481 100644 --- a/.vim/spell/nl.utf-8.add +++ b/.vim/spell/nl.utf-8.add @@ -69,3 +69,5 @@ Augustinus fotoboekje varkenshaassaté sajoerboontjes +zonneluifel +stellingkast diff --git a/.vim/spell/nl.utf-8.add.spl b/.vim/spell/nl.utf-8.add.spl index 8ddc5b9cfb83ef4c6fe2ed1337bf1c40ee20e0c1..887ed30a6e0c8e282a38eb554e6985743611f8f7 100644 GIT binary patch delta 100 zcmdnNd5@DX%+t5HAT=k)=syDk^Q?`0(##6XiK+RFd5kHHj0}uyrHna1mowZ1*$Ctss^gtoHltXi!uP`^A|S& delta 62 zcmcb|xr380%+t5HAT=k)=syDkbInFRX=Yxg#C*m)#uP?I21d5h$)3!=8JQ-#vP5z* RrZScR1({7!C+}ua1^^n-4~+l- From 2244cb02712f4ee083751b6e0ee1bc1252f37060 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Wed, 30 May 2018 14:42:05 +0200 Subject: [PATCH 16/18] Also recognise .j2 files as jinja2 templates --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index a2ca405..0eda109 100644 --- a/.vimrc +++ b/.vimrc @@ -366,8 +366,9 @@ Plugin 'digitaltoad/vim-pug' " Highlight nginx Plugin 'chr4/nginx.vim' -" Highlight jinja templates +" Highlight jinja templates (e.g., .j2 files) and do proper indenting Plugin 'lepture/vim-jinja' +au BufNewFile,BufRead *.j2 set ft=jinja " CSV filetype plugin "Plugin 'chrisbra/csv.vim' " apparently doesn't work this way ;) From d611c213f7a57c815c74c276c6b65810620892f5 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Fri, 1 Jun 2018 10:24:21 +0200 Subject: [PATCH 17/18] Highlighting of interesting stuff within comments --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 0eda109..b285374 100644 --- a/.vimrc +++ b/.vimrc @@ -370,6 +370,9 @@ Plugin 'chr4/nginx.vim' Plugin 'lepture/vim-jinja' au BufNewFile,BufRead *.j2 set ft=jinja +" Highlight special comments better +Plugin 'jbgutierrez/vim-better-comments' + " CSV filetype plugin "Plugin 'chrisbra/csv.vim' " apparently doesn't work this way ;) From da3e88c1a89cf78709a9ea5a406ea8d79cb33ab6 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sun, 3 Jun 2018 11:03:58 +0200 Subject: [PATCH 18/18] Better/more ctags ignores --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index b285374..444e3d3 100644 --- a/.vimrc +++ b/.vimrc @@ -386,7 +386,7 @@ Plugin 'jbgutierrez/vim-better-comments' Plugin 'ludovicchabant/vim-gutentags' " know when Gutentags is generating tags (prints 'TAGS' in status-line) set statusline+=%{gutentags#statusline()} -let g:gutentags_ctags_exclude = ["*.min.js", "*.min.css", "build", "vendor", ".git", "node_modules", "*.vim/bundle/*"] +let g:gutentags_ctags_exclude = ["*.min.*", "build", ".bundle", ".git", "log", "node_modules", "tmp", "vendor", "*.vim/bundle/*"] "let g:gutentags_trace = 1 " All of your Plugins must be added before the following line