From 293cafed2a795ff33ac20303596fd5e0831c02fe Mon Sep 17 00:00:00 2001 From: Chris Patuzzo Date: Sun, 15 Dec 2019 13:06:19 +0000 Subject: [PATCH] WIP --- chef/vim/files/vim_config | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/chef/vim/files/vim_config b/chef/vim/files/vim_config index f2526cf..8b2d0a6 100644 --- a/chef/vim/files/vim_config +++ b/chef/vim/files/vim_config @@ -172,8 +172,14 @@ let g:NERDTreeAutoDeleteBuffer=1 " Set the status line to the name of the root directory let g:NERDTreeStatusline="%=%{split(getcwd(),'/')[-1]}/" +" Use a more sensible ordering for GTD directories, rather than alphabetical. " Move Rust's module/library file to the bottom of directory listings -let g:NERDTreeSortOrder=['\/$', '*', '\.swp$', '\.bak$', '\~$', 'mod.rs', 'lib.rs', 'test.rs'] +let g:NERDTreeSortOrder=[ + \ 'Inbox', 'Next actions', 'Projects', 'Waiting for', 'Someday', 'Calendar', 'Reference', + \ '\/$', '*', '\.swp$', '\.bak$', '\~$', 'mod.rs', 'lib.rs', 'test.rs'] + +" Ignore Dropbox's icon file that keeps being re-added +let NERDTreeIgnore=['Icon\?'] " Bind to move down the completion list inoremap pumvisible() ? "\" : "\"