summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 83d9bcd..19365a6 100644
--- a/.vimrc
+++ b/.vimrc
@@ -164,6 +164,7 @@ autocmd BufNewFile,BufRead *.json.jbuilder set filetype=ruby " for ruby json tem
autocmd BufRead,BufNewFile *.md setlocal spell " spell check md files
autocmd BufRead,BufNewFile *.markdown setlocal spell " spell check md files
autocmd FileType gitcommit setlocal spell " spell check commits
+autocmd FileType gitcommit set complete+=k " allow spell autocompletion using CTRL-N
autocmd FileType javascript noremap <buffer> <c-f> :call JsBeautify()<cr>
autocmd FileType json noremap <buffer> <c-f> :call JsonBeautify()<cr>
autocmd FileType html noremap <buffer> <c-f> :call HtmlBeautify()<cr>
@@ -199,7 +200,7 @@ let NERDSpaceDelims = 1 " add a space after comment delimiter
"BufExp"
"======
let g:bufExplorerShowRelativePath=1 " Show relative paths.
-let g:bufExplorerSortBy='name' " Sort by file name.
+let g:bufExplorerSortBy='fullpath' " Sort by file path.
"Vim-airline
"===========