| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
* hotfix/v0.8.1:
Actually remove the html5 and targets submodules
Bump version number to 0.8.1
|
| |
| |
| |
| |
| | |
These were removed from .gitmodules in commits 59baf3a and cddacef
respectively, but the directory stub from vim/bundle was not removed.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* release/v0.8.0:
Bump version number to 0.8.0
Use BufReadPost hook for big_file_options.vim
Limit search highlighting hooks to Vim >= 7.1
Add explanatory note for choosing imperfect remap
Set 'guioptions' flag by flag
Use variable setting approach for 'guifont'
Add short-circuit boilerplate to plugins
Simplify shell linting code with single vars
Use spaces around concat dots in VimL consistently
Remove vim/bundle/html5 submodule
Remove vim/bundle/targets submodule
Adjust plugin code layout a lot
|
| | |
|
| |\
| | |
| | |
| | |
| | | |
* feature/vim-bigfile-fix:
Use BufReadPost hook for big_file_options.vim
|
| |/
| |
| |
| |
| |
| |
| | |
Using BufReadPre meant that it was too early to set the 'syntax' option
locally for the buffer. This fixes that, and also works correctly for
cases where the buffer does not necessarily correspond to a file on
disk.
|
| |\
| | |
| | |
| | |
| | |
| | | |
* feature/gvimrc-refactor:
Set 'guioptions' flag by flag
Use variable setting approach for 'guifont'
|
| | |
| | |
| | |
| | |
| | | |
This is a bit easier to read than having the flags meanings in a block
comment above the line.
|
| | |
| | |
| | |
| | | |
A little easier to read.
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* feature/plugin-short-circuit:
Add short-circuit boilerplate to plugins
Simplify shell linting code with single vars
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Set a g:loaded_* flag to prevent repeated reloads, and refuse to load at
all if &compatible is set or if required features are missing.
Some more accommodating plugins avoid the problems 'compatible' causes
by saving its value at startup into a script variable, setting the
option to the Vim default, and then restoring it when the plugin is
done, to prevent any of its flags from interfering in the plugin code:
let s:save_cpo = &cpo
set cpo&vim
...
let &cpo = s:save_cpo
unlet s:save_cpo
I don't want this boilerplate, so I'm going to do what Tim Pope's
modules seem to, and just have the plugin refuse to do a single thing if
'compatible' is set.
|
| | |/
| | |
| | |
| | |
| | | |
Put the entire command line for the determined check and lint into the
variable, so it can just be directly executed.
|
| |\ \
| | |/
| |/|
| | |
| | |
| | | |
* feature/vim61-backport:
Limit search highlighting hooks to Vim >= 7.1
Add explanatory note for choosing imperfect remap
|
| | |
| | |
| | |
| | | |
'InsertEnter' and 'InsertLeave' are not autocmd events in Vim 6.1.
|
| |/
| |
| |
| |
| |
| | |
'vnoremap' also includes select mode, which I very seldom use anyway; in
this context it's not worth breaking compatibility with old Vims to use
the more accurate 'xnoremap'.
|
| |\
| | |
| | |
| | |
| | | |
* feature/space-dots:
Use spaces around concat dots in VimL consistently
|
| |/
|/| |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* release/v0.7.0: (21 commits)
Update dotfiles(7) manual from README.md
Bump version number
Add heading for Vim plugins subsection
Update README to mention Vim plugins
Rename toggle plugin again, use commands not funcs
Add short documentation for new custom plugins
Use same comment boilerplate for custom plugins
Check 'eval' feature for loading command_typos.vim
Wrap detect_background.vim func call in 'silent!'
Rename and refactor option toggle plugin
Don't suggest mappings in Vim plugin comments
Move Vim background detection logic into plugin
Specify an install-vim-autoload target
Spin 'fo' toggle out into new flag toggler plugin
Spin copyable linebreak config into new plugin
Spin stable join config out into new plugin
Use <Plug> prefix, make space strip configurable
Rename a misnamed variable in big_file.vim
Rename bigfile plugin to big_file
Move trailing space strip config into plugin
...
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
* hotfix/v0.6.1:
Check for 'eval' feature before mapleader :let
Bump version number to 0.6.1
|
| | | |\
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* feature/plugin-review:
Remove vim/bundle/html5 submodule
Remove vim/bundle/targets submodule
|
| | | | |
| | | | |
| | | | |
| | | | | |
It's good, but better installed on specific machines.
|
| | | | |
| | | | |
| | | | |
| | | | | |
It looks cool, but I'm not using it.
|
| | | |\ \
| | | | |/
| | | |/|
| | | | |
| | | | | |
* feature/map-plugin-layout:
Adjust plugin code layout a lot
|
| | | |/
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Including renaming big_file.vim and accompanying functions yet again, to
big_file_options.vim.
Trying to keep complex autocmd and mapping definitions on long lines
broken up semantically; definition and options on one line, patterns or
mapping key on the next, and the command to run on the last.
Also trying to make sure that <silent>, <buffer>, and <unique> are
applied in the correct places, and that all mapping commands are using
the :<C-U> idiom for the command prefix.
|
| | | |\
| | | |/
| | |/|
| | | |
| | | |
| | | | |
* release/v0.7.0:
Update dotfiles(7) manual from README.md
Bump version number
|
| | | | |
|
| | |/ |
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
* feature/vim-plugin-readme:
Add heading for Vim plugins subsection
Update README to mention Vim plugins
|
| | | | |
|
| | |/ |
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* feature/spin-vim-plug:
Rename toggle plugin again, use commands not funcs
Add short documentation for new custom plugins
Use same comment boilerplate for custom plugins
Check 'eval' feature for loading command_typos.vim
Wrap detect_background.vim func call in 'silent!'
Rename and refactor option toggle plugin
Don't suggest mappings in Vim plugin comments
Move Vim background detection logic into plugin
Specify an install-vim-autoload target
Spin 'fo' toggle out into new flag toggler plugin
Spin copyable linebreak config into new plugin
Spin stable join config out into new plugin
Use <Plug> prefix, make space strip configurable
Rename a misnamed variable in big_file.vim
Rename bigfile plugin to big_file
Move trailing space strip config into plugin
Separate command typos config to plugin
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This method makes a bit more sense, and amounts to slightly less verbose
mapping commands. It does really on the +user_commands feature being
available, however.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I'm using the plugin_name.txt syntax suggested by the Vim documentation.
That may change in future as I study plugins written by experienced
authors like Tim Pope.
There will almost certainly be a lot more detail to add to each of
these.
|
| | | |
| | | |
| | | |
| | | | |
A brief explanation, an author name, and the license should do fine.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
I strongly suspect the presence of 'user_commands' implies it, but I'm
not sure.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This prevents older versions of Vim like 6.2 from throwing "E1017:
Missing braces" on merely parsing this code, even though they don't
evaluate it.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Renamed to flag_toggle.vim and placed in autoload using the namespaced
autoload function syntax.
I'm not sure this is the right approach yet, but I seem to pretty rarely
use a Vim earlier than 7.1 these days.
|
| | | |
| | | |
| | | |
| | | | |
Pretty useless, really.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We'll use this for defining Vim functions that should be dynamically
loaded when required, rather like how pathogen.vim does it.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is an experimental new plugin that provides a command to toggle
individual single-character flags in an option with a value of a set of
such flags, in my case 'formatoptions'.
A fair bit of evil eval()ing via :execute here, but I've tried to
control it with some strict patern matching.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Calling this one copy_linebreak.vim. Renamed both the internal function
and the plugin key.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Again using the <Plug> mapping abstraction and not defining the mapping
for the user.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This properly abstracts out the StripTrailingWhitespace mapping rather
than forcing it to <leader>x within the plugin itself. A bit nicer this
way.
|
| | | |
| | | |
| | | |
| | | | |
The word "size" was added to this variable's name unnecesarily.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Just for consistency with the other plugins I'm making.
I don't think I really like the cutesy names given to Vim plugins. I
prefer the slightly longer and maybe even namespaced names like Perl
distributions and modules have. Let's see how well this works.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Tentatively named command_typos.vim. I've just moved this as-is for now,
but it will need review, especially the hardcoded mappings.
|
| | |\ \
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
* hotfix/v0.6.1:
Check for 'eval' feature before mapleader :let
Bump version number to 0.6.1
|