496 Commits

Author SHA1 Message Date
22b969c989 Add README file 2020-06-04 17:36:18 +01:00
158a6f5585 Don't let vim-matchup overwrite statusline 2020-05-14 12:53:21 +01:00
3ffda34a29 Remove Markdown todo highlights 2020-04-07 13:23:16 +01:00
3e639c4936 Remove extra HTML syntax todo highlights 2020-04-07 13:22:35 +01:00
b40a9abb59 Only load YouCompleteMe when :TermDebug isn't 2020-04-02 12:14:13 +01:00
8fac5fb74f Add OSC 52 escape sequence yank
If the `tmux` `set-clipboard` option is set to `on` add the `osc52yank`
plugin and change `<leader>y` mapping to use it.
2020-04-02 12:12:57 +01:00
72316785d5 Add CMake reStructuredText block snippet 2020-04-02 12:11:46 +01:00
b3a2208b42 Don't gate Python plugins on has('python') 2020-01-28 10:48:28 +00:00
a93489efe9 Add console filetype for Markdown/RST code blocks 2020-01-28 10:48:22 +00:00
489e6db231 Use tip YouCompleteMe from ycm-core org
Update to latest, community maintained, YouCompleteMe version and use
the same version on all platforms.
2020-01-16 23:27:15 +00:00
2bef425dee Enable fzf plugins on Windows 2020-01-14 10:41:49 +00:00
7e79b97933 Add POC sanitizer filetype 2019-12-10 13:28:06 +00:00
aa3ae7df35 Don't use clangd with YouCompleteMe 2019-11-07 20:43:05 +00:00
7fb1352108 Improve C++ template snippet 2019-11-07 20:43:05 +00:00
23b9bf1f1b Limit rst code block highlighting 2019-11-05 16:19:31 +00:00
cdcbab062e Fix Doxygen retval highlights 2019-10-14 22:45:35 +01:00
3bbbbe2a63 Enable reStructuredText style option 2019-10-14 21:49:38 +01:00
b69f2d889d Allow white space in cmake region matches 2019-10-09 16:53:41 +01:00
65d3e645b1 Add cmakecache filetype for CMakeCache.txt files 2019-10-04 20:30:04 +01:00
0d0e69a2ec Add ANTLR filetype syntax 2019-09-08 17:09:59 +01:00
2ee41bb80f Don't use array syntax in C main snippet 2019-09-07 23:41:05 +01:00
57257c1c9a Add generic admonition snippet for rst files 2019-09-05 11:17:25 +01:00
c1d167f2e3 Add rst code-block snippet 2019-08-29 14:58:21 +01:00
92d88b623d Disable airline word-count
When editing `rst` filetypes for longer periods airline started
producing errors when attempting to count the number of words in the
document, so disable this feature.
2019-08-29 14:57:11 +01:00
f85d59197a Add reStructuredText admonition snippets 2019-08-26 15:22:00 +01:00
27c77881a3 Silent call tmux navigation flag functions 2019-08-21 14:57:43 +01:00
28804faf21 Add todo highlights to llvm syntax 2019-08-21 10:08:22 +01:00
e2e2be6e44 Don't syntax highlight text after #{warning,error} 2019-08-17 15:00:27 +01:00
7af8660355 Also set tmux navigation flag on FocusGained
Make using the `@vim$TMUX_PANE` window flag much more robust by
unsetting it every time the zsh prompt is drawn and setting it again
using a `FocusGained` `autocmd` in vim. This removes the need for the
hacky check for zsh in the conditional defined in the `in_vim` variable.
2019-08-16 21:58:38 +01:00
1f07473b57 Use tmux window option for pane change detection
Improve tmux integration when changing buffers or panes when vim was
invoked by another process so that seamless navigation works when the
`vim$TMUX_PANE` window option has been set, not only when the pane's
command matches a simple regex.
2019-08-11 18:58:55 +01:00
10eb5fffea Add TODO highlights to groovy 2019-08-07 15:01:37 +01:00
5f93199735 Improve the list of indent keys for cmake filetype 2019-07-24 13:57:22 +01:00
1e47926465 Don't add conflict marker highlight in help files 2019-07-24 13:57:22 +01:00
6f653e8ad9 Add C comment block snippet 2019-07-14 21:14:43 +01:00
2faa156aae Only add help autocmd's in help buffers 2019-06-10 10:23:34 +01:00
856c66e150 Add :TodoFile command to find TODOs
Find all TODOs in the current file and populate the location list with
the results.
2019-06-05 11:32:59 +01:00
51b95acf90 Improve Python snippets 2019-05-15 11:56:39 +01:00
054507cdff Fix formatting of C/C++ debug snippet 2019-05-03 11:02:05 +01:00
5f7b05aab0 Fix not loading packages from ~/.config/work 2019-05-02 12:01:43 +01:00
bf9276aa1b Customize termdebug highlight groups 2019-04-11 16:11:07 +01:00
ef0f39b780 Make add ! to function PythonIndent 2019-04-05 17:40:07 +01:00
6d2fbc2ac5 Add cmake surround for generator expressions 2019-04-04 17:24:32 +01:00
72fe59ffaa Only invoke last change substitution in help files
Previously the `autocmd` to replace the date on the first line if `Last
change: ` was present resulted in the cursor being moved in non `help`
filetypes due to the substitution failing. Now the substitution is only
attempted if the current file is a `help` file.
2019-04-04 16:53:46 +01:00
bdea77f86a Auto update Last change in vim help files 2019-03-31 23:17:02 +01:00
01b027b5ac Support snippet templates and add help snippets
Add `autocmd` to automatically expand the `_template` snippet on the
`BufNewFile` event, if the expansion fails because the `_template`
snippet does not exist for the current `filetype` undo the changes. Do
the same thing when the `filetype` changes to `help`, since these are
`text` files to begin with the first `autocmd` has no effect.
2019-03-31 15:04:08 +01:00
65c219c98d Add todo.md template 2019-03-30 20:13:28 +00:00
baff9ae3fd Improve global snippets
* `todo`, `note` now do not add comment strings when in a comment line
* `fixme` added to match `todo` and `note
* `date` renamed `datetime` and updated to match the unix `date` command
* `date`, `time` added inserting only the date or time now
* `utc` updated, no longer spitting the timezone offset
2019-03-30 17:07:29 +00:00
9d6a9925e5 Copy default GetPythonIndent 2019-03-28 20:58:39 +00:00
ab0b81b6de Remove .env/.out filetype detection 2019-03-27 14:51:57 +00:00
3576ca02fe Update fresh DiffChange fg color to yellow 2019-03-27 10:23:01 +00:00