diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-05 00:41:40 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-11-05 00:41:40 +1300 |
commit | 2044d97b03c31083cc0bb47a3f65d729d98f558b (patch) | |
tree | f41874a69203faf1f1e5780925b06e84310a9eeb /vim/ftplugin/vim.vim | |
parent | Merge branch 'release/v0.7.0' (diff) | |
parent | Bump version number to 0.8.0 (diff) | |
download | dotfiles-fdbeadf21f5b934454f33cbf97e05d9d2afe25ea.tar.gz (sig) dotfiles-fdbeadf21f5b934454f33cbf97e05d9d2afe25ea.zip |
Merge branch 'release/v0.8.0'v0.8.0
* 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
Diffstat (limited to 'vim/ftplugin/vim.vim')
-rw-r--r-- | vim/ftplugin/vim.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vim/ftplugin/vim.vim b/vim/ftplugin/vim.vim index e023553e..d4e55ace 100644 --- a/vim/ftplugin/vim.vim +++ b/vim/ftplugin/vim.vim @@ -1,5 +1,6 @@ " Run `vint` over buffer " /dev/stdin is not optimal here; it's widely implemented, but not POSIX. " `vint` does not seem to have another way to parse standard input. -nnoremap <buffer> <silent> <LocalLeader>l - \ :write !vint -s /dev/stdin<CR> +nnoremap <buffer> <silent> + \ <LocalLeader>l + \ :<C-U>write !vint -s /dev/stdin<CR> |