Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tuzz committed Dec 15, 2019
1 parent 8f88de0 commit 293cafe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion chef/vim/files/vim_config
Original file line number Diff line number Diff line change
Expand Up @@ -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 <C-j> to move down the completion list
inoremap <expr> <C-j> pumvisible() ? "\<C-n>" : "\<C-j>"
Expand Down

0 comments on commit 293cafe

Please sign in to comment.