Commit Graph

70 Commits

Author SHA1 Message Date
Danielle McLean 7113218dc9
Enable Dash.app integration on Mac 2021-11-15 15:57:54 +11:00
Danielle McLean ad496a7745
Support the XDG_STATE_HOME directory
It's a better place to store most of the stuff Vim wants to store lying
around on the filesystem than XDG_CACHE_HOME, it turns out? I'm still
keeping installed packages primarily in XDG_CACHE_HOME, since if that
directory is blown away then the same packages just get reinstalled
automatically and nothing particularly important is lost, but the other
stuff doesn't really belong in there.

Undo files, viminfo, and so on are definitely a good example of "state
data that should be persisted between (application) restarts, but that
is not important or portable enough to the user that it should be stored
in XDG_DATA_HOME", so XDG_STATE_HOME is a fine place for them.
2021-09-22 10:35:51 +10:00
Danielle McLean 08990a8df5
Only load vim-taskwarrior if Taskwarrior installed 2021-07-16 13:38:36 +10:00
Danielle McLean 294a334634
Add vim-taskwarrior to manage tasks from Vim 2021-07-14 21:56:26 +10:00
Danielle McLean 33e93908c7
Add nette.vim for NEON support 2021-05-31 15:58:58 +10:00
Danielle McLean f82da00be1 fix: set modelines to its default, since some platforms override it to 0 2021-04-26 15:11:12 +10:00
Danielle McLean f80f31025e
Use global to discover whether minpac is installed, rather than checking for minpac#init 2020-10-01 14:00:14 +10:00
Danielle McLean c3f33c1aab
Add support for battery level indicator in airline 2020-09-18 15:52:49 +10:00
Danielle McLean d04144089d
Update minpac integration to match current recommendations (status is automatically handled on update now) 2020-09-03 14:01:05 +10:00
Danielle McLean 585f5d5cc7
Update minpac integration commands to support the new minpac#status 2020-06-13 19:36:24 +10:00
Danielle McLean f12fe814ef
Add factor.vim support, since I feel like playing with Factor 2020-06-01 15:29:13 +10:00
Danielle McLean ae15a682a1
Defer loading of vim-marked to the end, since it needs to run after vim-polyglot 2019-11-10 09:17:53 +11:00
Danielle McLean f010fd4698
Enable handy dandy balloons and jump-to-error bindings for ALE 2019-11-08 09:01:55 +11:00
Danielle McLean bd41b659bb
Switch the Vim plugins for junegunn/fzf over to Vim plugins for lotabout/skim as well 2019-11-04 12:33:20 +11:00
Danielle McLean 5434b45078
Enable ideajoin setting in ideavimrc - makes the J command in IdeaVim use IDE smarts 2019-08-29 11:21:49 +10:00
Danielle McLean 7a2b294a63
Enable support for direnv/direnv in Vim 2018-12-19 13:35:26 +11:00
Danielle McLean 0f0f0d65cc
Add bracketed paste support, install Tabular since vim-markdown depends upon it 2018-11-16 09:19:33 +11:00
Danielle McLean 38dd8f048f
Switch to another plugin for closing XML tags, which doesn't require the HTML ftplugin to extend the XML one 2018-11-16 09:19:10 +11:00
Danielle McLean bd409f4ac0
Add a few more plugins from tpope's gallery
vim-apathy automatically sets Vim's 'path' option for various file
types, which helps a bunch of Vim commands usefully discover included
files (gf, :find, [i, and more).

vim-dadbod provides a :DB command, which can send queries through to a
wide variety of database management systems. This includes Redis, which
is awesome.

vim-eunuch provides Vim commands wrapping various UNIX functionality.
The most exciting are :SudoWrite and :SudoEdit, allowing a privileged
file to be edited and saved without having to 'sudo vim' up front.
2018-10-11 15:42:35 +11:00
Danielle McLean f336258322
Remove compatibility hack from init.vim, since mucomplete and endwise now play nicely without hacks 2018-08-03 15:50:05 +10:00
Danielle McLean f9416095b8
Switch from Django support to Jinja2 support, since I switched from Django templates to Jinja2 ones already 2018-07-30 13:21:59 +10:00
Danielle McLean 60b2f163d6
Add support for jq syntax 2018-06-18 10:43:35 +10:00
Danielle McLean 32f034f58f
termguicolors works properly in Vim 8.1 so let's use it 2018-06-18 10:43:11 +10:00
Danielle McLean 1849c14034
Drop vim-jinja, replace it with a few generic Python plugins and a Django one 2018-04-19 10:28:26 +10:00
Danielle McLean d1f0e233b2
Add tern for smart JavaScript completion and configure mucomplete to work well with it 2018-04-19 09:34:43 +10:00
Danielle McLean 5355b4027b
Only set the 'belloff' option when it exists to avoid a spurious error at launch on older Vims 2018-02-22 10:44:43 +11:00
Danielle McLean 4d8f7fb72d
Fix the wrapper for using vim-plug on old versions of Vim 2018-02-21 15:11:59 +11:00
Danielle McLean 1b532523c5
Handle older Vims that don't have native package support by falling back on junegunn/vim-plug 2018-02-13 17:02:08 +11:00
Danielle McLean 0a105241d5
Switch guifont to Fira Code :3 2018-02-05 12:13:40 +11:00
Danielle McLean 3fa6f409ab
Install the gruvbox colorscheme and use it in Neovim and GVim
gruvbox is updated more often than Inkpot and works better in modern Vim - however, the 'termguicolors' option doesn't quite work correctly in Vim and won't give you a transparent terminal background, so we still use Inkpot in that case.

In Neovim, 'termguicolors' works perfectly - and in GVim it's moot since you're not using a terminal anyway. ;)
2018-01-25 12:07:05 +11:00
Danielle McLean cc1bb88103
Bring back vim-signify, since it all runs async now and won't slow stuff down :3 2018-01-25 12:05:07 +11:00
Danielle McLean f72d5561c8
Switch from Supertab to µcomplete, and also install vitality.vim for smart tmuxing 2018-01-24 17:13:17 +11:00
Danielle McLean a0d68e0a0c
Install a bunch of tpope's plugins - I use Git way more now, so fugitive.vim is a very sensible thing to have for example 2018-01-24 17:02:46 +11:00
Danielle McLean 5198ba5f2e
Rename my actual vimrc file to init.vim, for consistency with Neovim's approach 2018-01-24 16:58:39 +11:00
Danielle McLean 69d3838c58
Always install w0rp/ale, since the whole thing depends on Vim 8 packages anyway 2018-01-24 16:21:48 +11:00
Danielle McLean d380589bb7
Update guifont and remove MacVim transparency setting from .gvimrc 2018-01-24 16:20:00 +11:00
Danielle McLean 2a86a80428
Change Inkpot into an 'opt'ional package, since it's recommend in :he pack-add 2018-01-12 12:41:45 +11:00
Danielle McLean fc62b18488
Change how we decide whether to do an initial PackUpdate - the previous approach worked fine in Vim, but not in Neovim 2018-01-12 12:40:47 +11:00
Danielle McLean 1725d1bc14
Teach Vim to lazily load minpac only when necessary, rather than all the time - it won't even be installed if it isn't needed 2018-01-12 12:23:27 +11:00
Danielle McLean 94c71b0d7d
Patch Neovim's init.vim to support the new minpac-based plugin approach 2018-01-12 12:13:31 +11:00
Danielle McLean f675e39fd5
Make my vimrc re-sourceable - minpac uses this to lazily load itself, although I haven't actually set that feature up yet 2018-01-12 12:13:02 +11:00
Danielle McLean 08a615f546
Switch from vim-plug to minpac, which uses Vim 8.0's native packages and so gives really good startup times 2018-01-12 12:00:06 +11:00
Danielle McLean 4dc1a935a0
Load plugins for supporting Yesod and Shakespearean templates, since my personal site 00dani.me runs on them now 2017-10-06 15:08:06 +11:00
Danielle McLean 8b15560413
Use XDG for swap and backup as well, plus ensure that XDG cache dirs are created 2017-09-11 09:32:55 +10:00
Danielle McLean 405bea7ea4
Slightly simplify bootstrapping in ~/.vimrc 2017-09-11 09:32:17 +10:00
Danielle McLean 7c11e3fc6e
Add editorconfig plugin since work uses it 2017-09-03 15:57:54 +10:00
Danielle McLean eb77c67da2
Add vim-gnupg for transparently editing encrypted files 2017-04-03 10:55:09 +10:00
Danielle McLean fcdfc79cd8
Add init file for neovim which loads the same underlying Vim config 2017-02-04 17:38:39 +11:00
Danielle McLean 69d5decfa7
Use a more reliable check before trying to load ALE 2017-02-04 17:14:23 +11:00
Danielle McLean e37ff3891f
Install plugin for SystemVerilog support 2016-11-16 10:18:16 +11:00