Commit 4adff1f
Changed files (1)
vimrc
@@ -218,6 +218,21 @@ augroup filetype_vim
autocmd FileType vim setlocal foldmethod=marker
augroup END
" }}}}
+"
+"" Command-Line Mappings {{{{
+""
+
+" After whitespace, insert the current directory into a command-line path
+cnoremap <expr> <C-P> getcmdline()[getcmdpos()-2] ==# ' ' ? expand('%:p:h') : "\<C-P>"
+
+" Kills Trailing Whitespaces
+command! KillWhitespace :normal :%s/ *$//g<cr><c-o><cr>
+
+command! RAddParameter call AddParameter()
+command! RInlineTemp call InlineTemp()
+command! RExtractLet call ExtractLet()
+
+" }}}
"" General Mappings (Normal, Visual, Operator-pending) {{{{
""
@@ -348,21 +363,6 @@ nnoremap <leader>tb :TagbarToggle<cr>
" }}}}
-"" Command-Line Mappings {{{{
-""
-
-" After whitespace, insert the current directory into a command-line path
-cnoremap <expr> <C-P> getcmdline()[getcmdpos()-2] ==# ' ' ? expand('%:p:h') : "\<C-P>"
-
-" Kills Trailing Whitespaces
-command! KillWhitespace :normal :%s/ *$//g<cr><c-o><cr>
-
-command! RAddParameter call AddParameter()
-command! RInlineTemp call InlineTemp()
-command! RExtractLet call ExtractLet()
-
-" }}}
-
"" Status Line {{{{
""