aboutsummaryrefslogtreecommitdiff
path: root/vim/config/whitespace.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-03 20:35:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-03 20:35:23 +1300
commit3f586a3d48bb04ef9206a202235b54cfcec38859 (patch)
treea397b67d51b09fb8de35eabe004e2bc22693c207 /vim/config/whitespace.vim
parentMerge branch 'hotfix/v0.4.2' into develop (diff)
downloaddotfiles-3f586a3d48bb04ef9206a202235b54cfcec38859.tar.gz
dotfiles-3f586a3d48bb04ef9206a202235b54cfcec38859.zip
Use <Leader>/<LocalLeader> correctly in Vim config
From ":help <LocalLeader>": > In a global plugin <Leader> should be used and in a filetype plugin > <LocalLeader>. "mapleader" and "maplocalleader" can be equal.
Diffstat (limited to 'vim/config/whitespace.vim')
-rw-r--r--vim/config/whitespace.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/config/whitespace.vim b/vim/config/whitespace.vim
index cc2554bd..bfe2663d 100644
--- a/vim/config/whitespace.vim
+++ b/vim/config/whitespace.vim
@@ -52,6 +52,6 @@ if has('eval')
endfunction
" Map \x to the function just defined
- nnoremap <silent> <leader>x :<C-U>call <SID>StripTrailingWhitespace()<CR>
+ nnoremap <silent> <Leader>x :<C-U>call <SID>StripTrailingWhitespace()<CR>
endif