aboutsummaryrefslogtreecommitdiff
path: root/vim/config/format.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/format.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/format.vim')
-rw-r--r--vim/config/format.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/config/format.vim b/vim/config/format.vim
index 35245d0d..b0de7621 100644
--- a/vim/config/format.vim
+++ b/vim/config/format.vim
@@ -38,8 +38,8 @@ if has('eval')
endfunction
" Map leader-letters to corresponding format option flags
- nnoremap <silent> <leader>a :<C-U>call <SID>ToggleFormatFlag('a')<CR>
- nnoremap <silent> <leader>c :<C-U>call <SID>ToggleFormatFlag('c')<CR>
- nnoremap <silent> <leader>t :<C-U>call <SID>ToggleFormatFlag('t')<CR>
+ nnoremap <silent> <Leader>a :<C-U>call <SID>ToggleFormatFlag('a')<CR>
+ nnoremap <silent> <Leader>c :<C-U>call <SID>ToggleFormatFlag('c')<CR>
+ nnoremap <silent> <Leader>t :<C-U>call <SID>ToggleFormatFlag('t')<CR>
endif