aboutsummaryrefslogtreecommitdiff
path: root/vim/config/spell.vim
Commit message (Collapse)AuthorAgeFilesLines
* Adjust some whitespace and comment layoutTom Ryder2017-11-101-0/+1
|
* Adjust plugin code layout a lotTom Ryder2017-11-041-3/+9
| | | | | | | | | | | | | 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.
* Use <Leader>/<LocalLeader> correctly in Vim configTom Ryder2017-11-031-3/+3
| | | | | | | From ":help <LocalLeader>": > In a global plugin <Leader> should be used and in a filetype plugin > <LocalLeader>. "mapleader" and "maplocalleader" can be equal.
* Show Vim option values after leader-key toggleTom Ryder2017-10-301-3/+3
| | | | | | | | | | | | Using the very weird syntax: :setlocal option! option? We can toggle the option and print its new value in the same line. For the line breaking options, we only show the value of the 'linebreak' option, because otherwise we print three lines of messages, which requires an <Enter> press, even if we put all three `option?` calls on one :setlocal line.
* Move viminfo conf from spell.vim into new subfileTom Ryder2017-10-301-12/+0
| | | | This was mistakenly moved from the monolithic .vimrc file in 07fc8ce.
* Use conventional indent for continued VimL linesTom Ryder2017-10-301-2/+2
| | | | | | | | | | | | | | | I had four spaces, but with a 'shiftwidth' of 2, 6 is the conventional value. From :help ft-vim-indent: >For indenting Vim scripts there is one variable that specifies the >amount of indent for a continuation line, a line that starts with a >backslash: > > :let g:vim_indent_cont = &sw * 3 > >Three times shiftwidth is the default value.
* Move spelling .vimrc config into subfileTom Ryder2017-10-281-0/+26