diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-06 18:04:42 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-06 18:04:42 +1200 |
commit | 01fd7b30cfcf77982c1b6fa9ba030424173dd744 (patch) | |
tree | bb70b743e029fa151247bf677510665998dfecf5 /vim/config/whitespace.vim | |
parent | Merge branch 'hotfix/v0.47.3' (diff) | |
parent | Rebuild dotfiles(7) manual page (diff) | |
download | dotfiles-01fd7b30cfcf77982c1b6fa9ba030424173dd744.tar.gz dotfiles-01fd7b30cfcf77982c1b6fa9ba030424173dd744.zip |
Merge branch 'release/v0.48.0'v0.48.0
* release/v0.48.0:
Rebuild dotfiles(7) manual page
Bump VERSION
Update README.md's Vim section
Add custom scripts.vim
Factor out password redaction into new plugin
Spacing adjustments
Abbreviate and invert j/gj,k/gk mappings
Refactor vim/vimrc
Consolidate .vimrc and .vim/filetype.vim
Update markdown/autoformat.vim
Correct a path in a VimL comment
Diffstat (limited to 'vim/config/whitespace.vim')
-rw-r--r-- | vim/config/whitespace.vim | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/vim/config/whitespace.vim b/vim/config/whitespace.vim deleted file mode 100644 index fd20e7e5..00000000 --- a/vim/config/whitespace.vim +++ /dev/null @@ -1,27 +0,0 @@ -" Adopt the indent of the last line on new lines -set autoindent - -" Use spaces instead of tabs -set expandtab - -" Indent with four spaces when an indent operation is used -set shiftwidth=4 - -" Insert four spaces when Tab is pressed -set softtabstop=4 - -" When indenting lines with < or >, round the indent to a multiple of -" 'shiftwidth', so even if the line is indented by one space it will indent -" up to 4 and down to 0, for example -set shiftround - -" Don't join lines with two spaces at the end of sentences; I don't two-space, -" despite the noble Steve Losh's exhortations -set nojoinspaces - -" \x strips trailing whitespace via a custom plugin -nmap <Leader>x <Plug>StripTrailingWhitespace - -" Insert blank lines above and below via a custom plugin -nmap [<Space> <Plug>PutBlankLinesAbove -nmap ]<Space> <Plug>PutBlankLinesBelow |