Compare commits

..

319 Commits

Author SHA1 Message Date
72dec6009d Change backgroup highlight of cursor line 2018-08-26 10:51:11 +01:00
10fd48a703 Improve cpp template snippet 2018-08-26 10:51:11 +01:00
3777a990f2 Show cursor line with different highlight group 2018-08-26 10:51:11 +01:00
f7d07f23da Add TODO's for :LStripLines 2018-08-26 10:51:11 +01:00
eabffa9354 Add new C++ feature to syntax highlighting 2018-08-26 10:51:11 +01:00
6cc8627c97 Add a lit named ID match snippet 2018-08-26 10:51:11 +01:00
3757da8e96 Improve vim-spirv ID match highlights 2018-08-26 10:51:11 +01:00
91eeee13bc Add delimiter highlighting to zsh 2018-08-26 10:51:11 +01:00
0db9d470ee Use signcolumn when available 2018-08-26 10:51:11 +01:00
970c674381 Set lit[.local].cfg to Python & disable ALE 2018-08-26 10:51:11 +01:00
1be7ef4250 Don't highlight markdown errors 2018-08-26 10:51:11 +01:00
ab5428e7fa Make .test files llvm filetype 2018-08-26 10:51:11 +01:00
ca84ee59ed Actually enable relative number when available 2018-08-26 10:51:11 +01:00
456e52467a Update C++ namespace snippet to match clang-format
New snippet outputs this

```cpp
namespace {
}  // namespace
```

instead of

```cpp
namespace {
}  // anonymous
```

and this

```cpp
namespace foo {
}  // namespace foo
```

instead of

```cpp
namespace foo {
}  // foo
```
2018-08-26 10:51:11 +01:00
e7c20a3cc5 Add vim-projectionist plugin 2018-08-26 10:51:11 +01:00
7ace086458 Don't match non conflict markers 2018-08-26 10:51:11 +01:00
5391645629 Use own fork for vim-cmake-completion 2018-08-26 10:51:11 +01:00
fe197a4c76 Add conflict marker highlights as TODO's
For all filetype's highlight conflict markers with the Todo highlight
group and leave trailing text as before. This makes conflict markers
very obvious, in C/C++ where I have operator highlighting conflict
markers are not longer highlighted as operators.
2018-08-26 10:51:11 +01:00
5380ea7c78 Remove relativenumber autocmds
These kept disabling relativenumber when editing which was annoying.
2018-08-26 10:51:11 +01:00
1c114b7135 Improve Jenkins groovy syntax highlights 2018-08-26 10:51:11 +01:00
2c842cea09 Add Doxygen @retval snippet & other improvements 2018-08-26 10:51:11 +01:00
83114d25a9 Add extern "C" block snippet 2018-08-26 10:51:11 +01:00
287e52fb2a Add bool to C string snippet 2018-08-26 10:51:11 +01:00
f4915efffd Add string_view c++ printf snippet 2018-08-26 10:51:11 +01:00
1d3d06bf0d Cleanup vim dictionary syntax 2018-08-26 10:51:11 +01:00
d225180985 Change netrw highlight group 2018-08-26 10:51:11 +01:00
3f36156521 Always load vim-cmake-syntax
Avoid the cmake syntax highlighting being different when a file is
loaded and when it is reloaded. This was cause by the plugin not being
enabled until after a buffer with the cmake filetype was loaded
causing the builtin cmake syntax highlighting to show on initial load
then the plugins syntax highlighting to show on reload.
2018-08-26 10:51:11 +01:00
a2c59d8ca3 Add the linter code to ale messages 2018-08-26 10:51:11 +01:00
02370ce6e7 Add TODO for Python syntax folding bug 2018-08-26 10:51:11 +01:00
0fe8e5dfed Add improved sentence text object 2018-08-26 10:51:11 +01:00
d13bf0bd81 Disable airline git integration 2018-08-26 10:51:11 +01:00
b3ba84fa4c Replace matchit.vim with vim-matchup 2018-08-26 10:51:11 +01:00
bc014309ef Remove vim-sensible
vim-sensible includes and old matchit.vim which interfears with
vim-matchup and sets some defaults which are then overridden in
plugins/settings.vim. Remove vim-sensible and document the retained
settings.
2018-08-26 10:51:11 +01:00
0416a42e08 Support changing cursor shape for iTerm2 in tmux 2018-08-26 10:51:11 +01:00
ec0ad0ae00 Add another variant of GitHub checkbox snip 2018-08-26 10:51:11 +01:00
f75b723ec6 Add make filetype config 2018-08-26 10:51:11 +01:00
ce97e935a8 Add more intuitive GitHub checkbox snippet 2018-08-26 10:51:11 +01:00
3dedbaf1c4 Set commentstring for OpenCL files 2018-08-26 10:51:11 +01:00
6b6b44e43d Clean up documentation 2018-08-26 10:51:11 +01:00
eebe101050 Fix vim cursor shape after tmux terminal-overrides 2018-08-26 10:51:11 +01:00
d8ad04297b Use tmux terminal-override for cursor shape on VTE 2018-08-26 10:51:11 +01:00
47bc7f0eb3 Use 4 space tabs in YAML files 2018-08-26 10:51:11 +01:00
d4239e2dc3 Add more Doxygen snippets for C/C++ 2018-08-26 10:51:09 +01:00
87d78f9c7a Move relevant settings closer together 2018-08-26 10:50:08 +01:00
1db9ea30ee Enable cursor shape changes by default 2018-08-26 10:50:08 +01:00
4c2d9b8089 Add do#cursor_escape_sequences()
Control the cursor shape based on the current mode.
2018-08-26 10:50:08 +01:00
603ed76994 Move mouse setting 2018-08-26 10:50:08 +01:00
b46d172e02 Extend enabled listchars, enable showbreak 2018-08-26 10:50:08 +01:00
1ace437587 Guard relativenumber setting 2018-08-26 10:50:08 +01:00
e32c6824f6 Remove cruft and add TODO's 2018-08-26 10:50:08 +01:00
4040dc7508 Move rarely used functions to autoload 2018-08-26 10:50:08 +01:00
e292b937d0 Enable visual highlight of trail spaces and tabs 2018-08-26 10:50:08 +01:00
e049445284 Remove autocmd to right string white space 2018-08-26 10:50:08 +01:00
d494a0f543 Add highlight group for SpecialKey 2018-08-26 10:50:08 +01:00
5f2c083d7b Fix Markdown fenced code block snippet 2018-08-26 10:50:08 +01:00
b059c48b2f Add groovy syntax support for keyword args 2018-08-26 10:50:08 +01:00
07c093e9e0 Add python snippet to insert ipdb breakpoint 2018-08-26 10:50:08 +01:00
08f3f8d38f Add CMake debug snippet 2018-08-26 10:50:08 +01:00
0f852b0518 Add fprintf debug snippet for C/C++ files 2018-08-26 10:50:08 +01:00
2dea77ba81 Add asciidoc refpage snippet 2018-08-26 10:50:08 +01:00
946c5bc252 Enable spelling for asciidoc filetype 2018-08-26 10:50:08 +01:00
981cb46c7c Add :ISort vim command 2018-08-26 10:50:08 +01:00
c2799dd5de Add vim command snippet 2018-08-26 10:50:08 +01:00
0e419ee514 Add .env/.out filetype autocmds 2018-08-26 10:50:08 +01:00
aecdb9a11a Add augroup vim snippet 2018-08-26 10:50:08 +01:00
e8a6098bd6 Update gitconfig filetype to use tabstop=8 2018-08-26 10:50:08 +01:00
f9115f0495 Remove lexima because it broke vim-endwise
Also change to fork of vim-endwise with CMake support
2018-08-26 10:50:08 +01:00
3b528fcb19 Only match = default when ends on word boundary 2018-08-26 10:50:08 +01:00
ac0f5b0b93 Add GitGutter next/prev hunk mappings 2018-08-26 10:50:07 +01:00
67257ebb98 Use global setting for Python highlights 2018-08-26 10:50:07 +01:00
5f08372d83 Obey cpp options in c syntax file 2018-08-26 10:50:07 +01:00
4f232a0f2d Add cpp explicit function template highlight 2018-08-26 10:50:07 +01:00
e032ced9f4 Add more vim colorschemes 2018-08-26 10:50:07 +01:00
bd2301e3e8 Add main Python snippet 2018-08-26 10:50:07 +01:00
87d9693973 Add mapping for :Ag <cword> 2018-08-26 10:50:07 +01:00
3dd8259c01 Add missing zsh option keyword to vim syntax 2018-08-26 10:50:07 +01:00
b5f51c0542 Add function folding to zsh filetype 2018-08-26 10:50:07 +01:00
c4dcb5668d Make fresh colors less garish
Make SpellBad and Underlined readable and make SpellCap purple.
2018-08-26 10:50:07 +01:00
f90b63d30d Add % and . to llvm iskeyword list 2018-08-26 10:50:07 +01:00
fbba77dede Use default tab width in markdown
Also check if +syntax is available before enabling spell.
2018-08-26 10:50:07 +01:00
c2040731f2 Add zsh snippets 2018-08-26 10:50:07 +01:00
60664eaa16 Add std::printf and std::fprintf snippets 2018-08-26 10:50:07 +01:00
ccc214436c Improve groovy syntax highlighting 2018-08-26 10:50:07 +01:00
7f63041695 Enable folding is sh filetype 2018-08-26 10:50:07 +01:00
939e5e0599 Don't set global settings in ftplugin 2018-08-26 10:50:07 +01:00
be47e8ec7b Update vim-plug 2018-08-26 10:50:07 +01:00
c953ae7dbf Fix vint warning and errors in functions.vim 2018-08-26 10:50:07 +01:00
384a4dc236 Update mappings to {i,n,v}noremap 2018-08-26 10:50:07 +01:00
0d66f1acec Use existing windows/tabs when jumping to errors 2018-08-26 10:50:07 +01:00
c28e93210e Check features are available before using them 2018-08-26 10:50:07 +01:00
df48f1f607 Add syntax folding for cmake 2018-08-26 10:50:07 +01:00
7df1cb7b26 Document indent options & check they exist 2018-08-26 10:50:07 +01:00
22a36a177a Add vim-khr plugin 2018-08-26 10:50:07 +01:00
c3bca15641 Add comment text object plugin 2018-08-26 10:50:07 +01:00
06633f3394 Add ; to do/while snippet 2018-08-26 10:50:07 +01:00
e2be2de00b Use setlocal in TabWidth command 2018-08-26 10:50:07 +01:00
f6892126df Add URI text object plugin 2018-08-26 10:50:07 +01:00
c727e7647a Allow C++ lambda snippet to be inline 2018-08-26 10:50:07 +01:00
919c3e6b88 Tweet json filetype & syntax settings 2018-08-26 10:50:07 +01:00
aac31f7831 Add preview window mappings 2018-08-26 10:50:07 +01:00
12755c630b Add C inline comment surround mapping 2018-08-26 10:50:07 +01:00
13acc08b4f Fix vint warnings in vimrc 2018-08-26 10:50:07 +01:00
b0c7eafb4a Use '' not "" in fresh colorscheme 2018-08-26 10:50:07 +01:00
090ffcbcc8 Override groovy syntax 2018-08-26 10:50:07 +01:00
a2c1476bba Enable clang-tidy ale checker 2018-08-26 10:50:07 +01:00
dcea5ede4a Revert to default json syntax 2018-08-26 10:50:07 +01:00
bef689ae13 Improve ale echo message 2018-08-26 10:50:07 +01:00
cea38efd76 Make YCM goto buffer command split horizontally 2018-08-26 10:50:07 +01:00
07764831ba Remove dev hack for format.vim loading 2018-08-26 10:50:07 +01:00
607157b004 Load local plugins first 2018-08-26 10:50:07 +01:00
4038e95d4f Replace syntastic with ale 2018-08-26 10:50:07 +01:00
eeca17ad49 Add LLVM IR syntax 2018-08-26 10:50:07 +01:00
62380deefc Move plugins to .vim/bundle 2018-08-26 10:50:07 +01:00
5651bb8b03 Simplify xterm256-color detection 2018-08-26 10:50:07 +01:00
f19f507833 Add missing <CR> from :lfirst mapping 2018-08-26 10:50:07 +01:00
b5772a3821 Change markdown comment string to html 2018-08-26 10:50:07 +01:00
53b0bfb646 Conceal on cursor hover normal mode for markdown 2018-08-26 10:50:07 +01:00
6736b8d8a3 Improve doxygen header snippet 2018-08-26 10:50:05 +01:00
e48cd16f23 Remove vim-instant-markdown 2018-08-26 10:49:14 +01:00
c6d13d85f6 Enable folding in xml 2018-08-26 10:49:14 +01:00
d02030b9af Improve fzf mappings 2018-08-26 10:49:14 +01:00
504b7f110f Namespace syntax match 2018-08-26 10:49:14 +01:00
e635d62e0c Change relativenumber behaviour 2018-08-26 10:49:14 +01:00
8355c9e571 Match operator on word boundary only 2018-08-26 10:49:14 +01:00
a8c012881a Update vim TERM checks 2018-08-26 10:49:14 +01:00
1059eb7259 Increase syntax syn minlines to 500 2018-08-26 10:49:14 +01:00
03de858c9b Only flip relativenumber for cpp files 2018-08-26 10:49:14 +01:00
ab8e113145 Enabling folding in javascript files 2018-08-26 10:49:14 +01:00
8185da77a6 Add vim Caddyfile syntax 2018-08-26 10:49:14 +01:00
27110ff0ea Change markdown fenced code block snippet trigger 2018-08-26 10:49:14 +01:00
53782a0213 Add markdown frontmatter snippet 2018-08-26 10:49:14 +01:00
b6ae985dd2 Add markdown link snippet 2018-08-26 10:49:14 +01:00
c513b908dc Add utc date time snippet 2018-08-26 10:49:14 +01:00
6cd3e58b14 Make json syntax embed aware 2018-08-26 10:49:14 +01:00
b27cee4756 Change div snippet, add nav snippet for html 2018-08-26 10:49:14 +01:00
5f5ecde607 Extend html, css, and javascript syntaxes 2018-08-26 10:49:14 +01:00
c0a2bb9bb2 Add yaml frontmatter support to markdown 2018-08-26 10:49:14 +01:00
f851feb40d Add javascript function snippet 2018-08-26 10:49:14 +01:00
a97e9a4589 Fix C ternary operator match 2018-08-26 10:49:14 +01:00
5076be4792 Customize json syntax highlights 2018-08-26 10:49:14 +01:00
54ce7c0767 More cleanup let statements 2018-08-26 10:49:14 +01:00
9c5b193efd Swap autopairs.vim for leima.vim 2018-08-26 10:49:14 +01:00
0ac64c7215 Change setting leader 2018-08-26 10:49:14 +01:00
3651e021a5 Cleanup C/C++ syntax files 2018-08-26 10:49:14 +01:00
a8a1666ff0 Improve markdown GitHub checkbox highlights 2018-08-26 10:49:14 +01:00
ff6d949028 Fix cpp syntax match 2018-08-26 10:49:14 +01:00
a9ad1f0543 Fix end of multi-line doxygen highlight 2018-08-26 10:49:14 +01:00
567b93b256 Enable Doxygen mapping only for c, cpp filetypes 2018-08-26 10:49:14 +01:00
bd7dcb738f Add :Syntack command to view syntax group stack 2018-08-26 10:49:14 +01:00
9fbe25fee7 Add function to clone highlight groups with attrs 2018-08-26 10:49:14 +01:00
dda5ee4e8b Change name of checkbox toggle functionality 2018-08-26 10:49:14 +01:00
41aa424a57 Simplify fold text 2018-08-26 10:49:14 +01:00
80f6215530 Remap <C-L> to <C-W>L to get redraw back 2018-08-26 10:49:14 +01:00
3d43c5460c Refactor and optimize C/C++ syntax highlights 2018-08-26 10:49:14 +01:00
ddc24d7fda Change show highlight mapping to use <leader> 2018-08-26 10:49:14 +01:00
4ac2924f7b Improve GitHub checkbox highlighting 2018-08-26 10:49:14 +01:00
e8af28bc59 Set all.snippets to -1 priority 2018-08-26 10:49:14 +01:00
1a2f732259 Add std::enable_if snippet 2018-08-26 10:49:14 +01:00
927889ce74 Remove macro_mode functions, use vim-replace 2018-08-26 10:49:14 +01:00
a78356bdb4 Add vim-endwise 2018-08-26 10:49:14 +01:00
dd257d069d Add doxygen @see snippet 2018-08-26 10:49:13 +01:00
d730b5b7d9 Default to a space in * [ ] snippet 2018-08-26 10:48:16 +01:00
239ffea954 Move json highlight overrides to after/syntax 2018-08-26 10:48:16 +01:00
b0b66de642 Add vim replay plugin for easy macro replay 2018-08-26 10:48:16 +01:00
ee1b482762 Improve doxygen markdown highlighting 2018-08-26 10:48:16 +01:00
7623fc8706 Improve YouCompleteMe/syntastic error/warning symbols 2018-08-26 10:48:16 +01:00
f6302d03bd Move .local_plugins.vim to .vim/local.vim 2018-08-26 10:48:16 +01:00
9e1b0c9ddd Add vim-spirv plugin 2018-08-26 10:48:16 +01:00
80b16bfb41 Replace vim-notes with note.vim 2018-08-26 10:48:16 +01:00
98708c1ee4 Add vim colorscheme morning-white for presentations 2018-08-26 10:48:16 +01:00
6b0bb3e128 Update syntastic URL 2018-08-26 10:48:16 +01:00
4e8d2294f7 Make sign column color match number column 2018-08-26 10:48:16 +01:00
804c05e3e1 Improve some CMake snippets 2018-08-26 10:48:16 +01:00
93c8302e99 Add vim-gitgutter plugin 2018-08-26 10:48:16 +01:00
2c0d66ffe1 Add CMake generator expression snippet 2018-08-26 10:48:16 +01:00
54a85a5911 Improve GitHub markdown checkbox snippet 2018-08-26 10:48:16 +01:00
d0019fdc0d Improve C++ namespace snippet 2018-08-26 10:48:16 +01:00
7c9b97ef82 Improve Doxygen snippets 2018-08-26 10:48:14 +01:00
11b71bc1e0 De-noise c pre-processor snippets 2018-08-26 10:46:20 +01:00
23b7aeb64d Add asciidoc filetype plugin 2018-08-26 10:45:25 +01:00
bcd7877df0 Add TODO surround mapping for C/C++ 2018-08-26 10:45:25 +01:00
e4a8ba61b1 Improve XML attribute snippet, add XML comment snippet 2018-08-26 10:45:25 +01:00
4297e753eb Add todo's to investigate interesting vim settings 2018-08-26 10:45:25 +01:00
9a07c179fa Improve support for GitHub style checkboxes 2018-08-26 10:45:25 +01:00
4a9d8df177 Add highlighting of ternary operator in C/C++ 2018-08-26 10:45:25 +01:00
20ca44e2ff Add GitHub check box to markdown syntax 2018-08-26 10:45:25 +01:00
d9374ba8ac Add Google Test snippets 2018-08-26 10:45:25 +01:00
d1fc400a90 Move doxygen snippets to separate file 2018-08-26 10:45:20 +01:00
dab43be08c Add noisy struct snippet 2018-08-26 10:42:42 +01:00
c63b47517d Change diff highlight groups 2018-08-26 10:42:42 +01:00
cc04761f21 Add googletest snippets 2018-08-26 10:42:42 +01:00
aaf73e3988 Allow C++ casts to be substring 2018-08-26 10:42:42 +01:00
b2f9c43e6a Change template snippet to use class not typename 2018-08-26 10:42:42 +01:00
277210751c Improve C main snippet 2018-08-26 10:42:42 +01:00
1c08e92063 Improve C++ for loop snippet 2018-08-26 10:42:42 +01:00
4af3c4acd5 Improve doxygen param snippet at brief snippet 2018-08-26 10:42:42 +01:00
b297bb2491 Update todo snippet 2018-08-26 10:42:42 +01:00
69b97dc3d8 Add static_assert snippet 2018-08-26 10:42:41 +01:00
ce1d85c7b4 Add macro mode helpers
* Easily {un}map <CR> to @@
* Add macro_mode#{en,dis}able autoload functions
* Add MacroMode{En,Dis}able commands
2018-08-26 10:42:41 +01:00
4fafc13487 Switch to vim-table-mode from Tabular 2018-08-26 10:42:41 +01:00
d67e7cd062 Use <Space> in mappings instead of exec 2018-08-26 10:42:41 +01:00
1c9dae7b20 Add comprehensive mappings for QuickFix and Location lists 2018-08-26 10:42:41 +01:00
48d3f26a8a Move mapping into mappings.vim 2018-08-26 10:42:41 +01:00
fc9af59d2b Add statement highlight for = delete in C/C++ 2018-08-26 10:42:41 +01:00
ca656087ed Fix bug in Doxygen highlighting 2018-08-26 10:42:41 +01:00
e9ef5c3138 Add image link snippet for markdown 2018-08-26 10:42:41 +01:00
f5afcc4cc2 Change highlight group of nested name specifiers 2018-08-26 10:42:41 +01:00
d080f003d4 Highlight new/delete as operators 2018-08-26 10:42:41 +01:00
f86447e378 Conditionally enable plugins on Windows 2018-08-26 10:42:41 +01:00
f68769accf Add ignore file 2018-08-26 10:42:41 +01:00
0aa63ffb34 Improve C Doxygen highlights 2018-08-26 10:42:41 +01:00
659bcc73e8 Disabled annoying airline features 2018-08-26 10:42:41 +01:00
7202a5c6a9 Don't show mode in command line 2018-08-26 10:42:41 +01:00
48e53ccd0c Fix Python tab error highlighting 2018-08-26 10:42:41 +01:00
2a159c8f5b Swap <C-f>c from :Commits to :Colors 2018-08-26 10:42:41 +01:00
4adb4d22fe Use K for YouCompleteMe GetDoc in C/C++ files 2018-08-26 10:42:41 +01:00
d3ee7b2c73 Document weird behaviour in gitcommit files 2018-08-26 10:42:41 +01:00
c7eea18cf4 Override groovy syntax file 2018-08-26 10:42:41 +01:00
4180ce4d69 Change Folded foreground highlight 2018-08-26 10:42:41 +01:00
99f64f8a47 Add support for folding python blocks in vim files 2018-08-26 10:42:41 +01:00
6c95bd94ee Move notes highlight overrides to ftplugin 2018-08-26 10:42:41 +01:00
7bfa6da603 Add custom fold functions for json 2018-08-26 10:42:41 +01:00
5dda38ebeb Remove {{{ markers }}} from vimrc 2018-08-26 10:42:41 +01:00
972cc60236 Remove vim-flake8 plugin 2018-08-26 10:42:41 +01:00
8b29d0bebb Rename options.vim to settings.vim 2018-08-26 10:42:41 +01:00
6156a95cc4 Reorder fileformats 2018-08-26 10:42:41 +01:00
baac442996 Remove groovy.vim plugin 2018-08-26 10:42:41 +01:00
4bb91a7cb2 Only load vim-cmake-completion for cmake files 2018-08-26 10:42:41 +01:00
641d3a514a Improve custom vim fold expression 2018-08-26 10:42:41 +01:00
e5b886be58 Improve Python folding behaviour 2018-08-26 10:42:41 +01:00
d6fafcf4c2 Simplify C/C++ {} matching 2018-08-26 10:42:41 +01:00
39d8230c75 Improve DiffText highlight color 2018-08-26 10:42:41 +01:00
a4f997c1e1 Rename option to enable Doxygen comment highlights 2018-08-26 10:42:41 +01:00
657a029acc Enable folding {} in C/C++ & delimiter highlights 2018-08-26 10:42:41 +01:00
0bc30ad5c9 Extend groovy syntax with Jenkins DSL tweeks 2018-08-26 10:42:41 +01:00
2c2ed3c099 Improve markdown folding & syntax highlights 2018-08-26 10:42:41 +01:00
042b8fb304 Simplify C param snippet 2018-08-26 10:42:41 +01:00
b8bd9729d7 Escape - cOperator match 2018-08-26 10:42:41 +01:00
e4cd16ff5b Specialize << and >> highlight matches 2018-08-26 10:42:41 +01:00
d04bb01d16 Add ? to C operator highlighting 2018-08-26 10:42:41 +01:00
8ed09b1597 Add C++ lambda function snippet 2018-08-26 10:42:41 +01:00
ce0402522c Add alignas, alignof, decltype to cppOperator group 2018-08-26 10:42:41 +01:00
d4102cb636 Update fresh colorscheme 2018-08-26 10:42:41 +01:00
a7630ace55 Improve C/C++ syntax highlighting 2018-08-26 10:42:41 +01:00
b1af2d0eff Refactor C/C++ snippets 2018-08-26 10:42:41 +01:00
8fb6507c1c Add C++ cast snippets 2018-08-26 10:42:41 +01:00
02520a6a20 Simplify C++ class snippet 2018-08-26 10:42:41 +01:00
68bf0a0618 Add date snippet to display Month DD, YYYY 2018-08-26 10:42:39 +01:00
3079e450bf Update me snippet to include nickname 2018-08-26 10:40:44 +01:00
47b8b5861b Add improved additional C++ syntax highlighting 2018-08-26 10:40:44 +01:00
b5c24ed587 Remove plugin vim-native-syntax 2018-08-26 10:40:44 +01:00
d54535c639 User nicer blue for Vim Type highlight group 2018-08-26 10:40:44 +01:00
e09f187c82 Make it easier to repeat vim macros 2018-08-26 10:40:44 +01:00
265c851f37 Remove autocmd from custom surround variables 2018-08-26 10:40:44 +01:00
eb3550a197 Add vim-surround cmake mapping to make a variable 2018-08-26 10:40:44 +01:00
ad59766ace Change vim leader key to space 2018-08-26 10:40:44 +01:00
20e4ab57e5 Change surround mapping for creating markdown link 2018-08-26 10:40:44 +01:00
5299184d0b Enable tmux mouse support & add open, urlview 2018-08-26 10:40:44 +01:00
48306a25ed Add K mapping for Python docs 2018-08-26 10:40:44 +01:00
9c4caee646 Customise vim-surround for markdown link syntax 2018-08-26 10:40:44 +01:00
edce545a0e Load local vim plugins from non git file 2018-08-26 10:40:44 +01:00
b4ef88d28c Add syntastic vim plugin 2018-08-26 10:40:44 +01:00
c742b7281f Remove some markers after adding vim foldexpr 2018-08-26 10:40:44 +01:00
a32264fcd8 Improve the vim fold text, line content first 2018-08-26 10:40:44 +01:00
8eb08c17a6 Improve vim script fold with custom foldexpr 2018-08-26 10:40:44 +01:00
61e47dac00 Make K mapping no remap for vim script 2018-08-26 10:40:44 +01:00
af4e0ecd8a Add vim-jdaddy json plugin 2018-08-26 10:40:44 +01:00
2eeab947c8 Optionally load ~/Sandbox/format.vim if available 2018-08-26 10:40:44 +01:00
bcea0d1ffd Improve gitcommit ftplugin settings 2018-08-26 10:40:44 +01:00
d713dd4619 Remove ftdetect/python.vim due to wrong location 2018-08-26 10:40:44 +01:00
4e38d2f43f Remove <tab> from YouCompleteMe menu mappings 2018-08-26 10:40:44 +01:00
ebc5941b52 Improve vmap 0 to play nice with comments 2018-08-26 10:40:44 +01:00
2d90a55ddd Move fzf mappings to plugin/mappings.vim 2018-08-26 10:40:44 +01:00
e26b13c742 Restructure vim config 2018-08-26 10:40:44 +01:00
5465bef85d Remove clang-format.py script 2018-08-26 10:40:44 +01:00
3a63738fa1 Move vim color settings to .vim/plugin/color.vim 2018-08-26 10:40:44 +01:00
c57679dbb7 Move vim GUI options to .vim/gvimrc 2018-08-26 10:40:44 +01:00
5b2a04a499 Change <C-f>l to use :BLines 2018-08-26 10:40:44 +01:00
5b27fcdbb1 Move .vimrc to .vim/vimrc split platform detection 2018-08-26 10:40:44 +01:00
8bde17924c Fix xml snippet for api generator 2018-08-26 10:40:44 +01:00
6a27676b8c Rename and move GitHub style checkboxes snippet 2018-08-26 10:40:44 +01:00
e31952ea5d Update vim WarningMsg highlight group 2018-08-26 10:40:44 +01:00
a72bd9b03e Add get vim function snippet 2018-08-26 10:40:44 +01:00
e233973f4c Add me snippet for my name and email address 2018-08-26 10:40:44 +01:00
46aa25f6be Add vim normal mode filetype mapping K opens help 2018-08-26 10:40:44 +01:00
77735726d9 Add noexpandtag for tags filetype 2018-08-26 10:40:44 +01:00
e8f642dfc0 Add vim-flake8 & don't use textwidth=80 in Python 2018-08-26 10:40:44 +01:00
af6705736c Add vim if snippet 2018-08-26 10:40:44 +01:00
c77fbe9b59 Don't expand tabs in gitconfig files 2018-08-26 10:40:44 +01:00
318de00d36 Add snippet for vim function 2018-08-26 10:40:44 +01:00
b03ff98e4d Improve TODO and NOTE snippets when in comments 2018-08-26 10:40:44 +01:00
02de482df9 Add Error and Question highlights to fresh.vim 2018-08-26 10:40:44 +01:00
3cbbe22ac6 Disable open on left and scroll off for help 2018-08-26 10:40:44 +01:00
60621989e1 Update fresh.vim 2018-08-26 10:40:44 +01:00
91e4ae9983 Add GitHub markdown checklist snippet 2018-08-26 10:40:44 +01:00
b0210e4f5c Add API snippets 2018-08-26 10:40:44 +01:00
4cf7ce0d32 Update vim-plug 2018-08-26 10:40:44 +01:00
e7b011c367 Final tweak vim-airline theme 2018-08-26 10:40:44 +01:00
1a43d6e810 Tweak colors for vim-airline fresh theme 2018-08-26 10:40:44 +01:00
cfec8fd3e6 Add StatusLine & WildMenu highlights 2018-08-26 10:40:44 +01:00
e3ba637473 Add fresh vim-airline theme 2018-08-26 10:40:44 +01:00
9ed2d9cc48 Improve vim python filetype settings 2018-08-26 10:40:44 +01:00
cdd1a8d959 Tweek vim gitcommit settings 2018-08-26 10:40:44 +01:00
be94e9f9db Add more snippets 2018-08-26 10:40:44 +01:00
9ff37a4055 Add generic TODO snippet using commentstring 2018-08-26 10:40:34 +01:00
437476694c Add vim mappings around yapf python formatter 2018-08-26 10:36:10 +01:00
6363c75535 Add python formatting options 2018-08-26 10:36:10 +01:00
e4c2c59a63 Add TODO snippet for CMake 2018-08-26 10:36:10 +01:00
1d80cbb679 Simplify .vimrc layout & folds 2018-08-26 10:36:10 +01:00
277de97a36 Move vim autocommands into ftdetect or ftplugin 2018-08-26 10:36:10 +01:00
3b1d816705 Add vim-plug script & update .vimrc 2018-08-26 10:36:10 +01:00
19aa697862 Remove Vundle submodule 2018-08-26 10:36:10 +01:00
f57e1a9fb7 Complete CMake snippets targeting version 3.0 2018-08-26 10:36:10 +01:00
5a72231b97 Add remaining CMake string() snippets 2018-08-26 10:36:10 +01:00
947a20746b Add more CMake snippets 2018-08-26 10:36:10 +01:00
bef1581105 Add more CMake snippets 2018-08-26 10:36:10 +01:00
371432423e Make TODO and NOTE C snippets more general 2018-08-26 10:36:10 +01:00
837fd5cef3 Updates to fresh.vim colorscheme 2018-08-26 10:36:10 +01:00
9d0a0f85f7 Add UltiSnips snippets 2018-08-26 10:36:05 +01:00
3 changed files with 16 additions and 5 deletions

View File

@ -62,11 +62,6 @@ snippet utc "UTC date time now" i
`!p snip.rv=utc()`
endsnippet
snippet codeplay "Codeplay Software Ltd. copywrite"
`!p snip.rv=commentbefore()`Copyright (C) Codeplay Software Limited. All Rights Reserved.`!p snip.rv=commentafter()`
$0
endsnippet
snippet todo "TODO commment"
`!p snip.rv=commentbefore()`TODO${1/.+/(/}$1${1/.+/)/}: $0`!p snip.rv=commentafter()`
endsnippet

View File

@ -158,6 +158,18 @@ int main(${1:int argc, char **argv}) {
}
endsnippet
snippet "/// p" "Doxygen param tag"
/// @param${1/.+/[/}$1${1/.+/]/} $0
endsnippet
snippet "/// b" "Doxygen brief tag"
/// @brief $0
endsnippet
snippet copydoc "Doxygen copydoc block"
/// @copydoc $0
endsnippet
snippet debug "Debug fprintf"
fprintf(stderr, "%s: %d: %s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__);
endsnippet

View File

@ -27,6 +27,10 @@ snippet "/// n" "Doxygen note block"
/// @note $0
endsnippet
snippet copydoc "Doxygen copydoc block"
/// @copydoc $0
endsnippet
snippet "/// s" "Doxygen see block"
/// @see $0
endsnippet