summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/.vimrc b/.vimrc
index 70183be..8e1e7c7 100644
--- a/.vimrc
+++ b/.vimrc
@@ -41,8 +41,11 @@ set autoindent
" noremap <M-v> :!cscope -1 <cword>
" noremap <M-a> :!cscope -0 <cword>
" noremap <M-f> :!cscope -7 <cfile>
-noremap f !}fmt
-noremap F !}fmt -c -w 2048
+
+" Paragraph format / unformat
+noremap <leader>f !}fmt
+noremap <leader>F !}fmt -c -w 2048
+
" noremap <buffer> K :s,^,//,
" noremap <buffer> <C-K> :s,^//,,
noremap <buffer> # :s,^,#,