From d981aaa8c5209454ae0fe5e8d00dad328d91d67b Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Mon, 10 Sep 2018 09:24:24 +0200 Subject: Sort full name and auto complete git messages --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.vimrc') 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 :call JsBeautify() autocmd FileType json noremap :call JsonBeautify() autocmd FileType html noremap :call HtmlBeautify() @@ -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 "=========== -- cgit v1.2.3