From dd347296f838cadaac1f48d563b8df28d6c6bdb0 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Thu, 19 May 2016 11:31:09 -0700 Subject: [PATCH] Add code folding and make enter clear search again --- dotfiles/config/nvim/init.vim | 11 +++++++++-- npm-debug.log | 24 ++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 npm-debug.log diff --git a/dotfiles/config/nvim/init.vim b/dotfiles/config/nvim/init.vim index 39ee40d..30db682 100644 --- a/dotfiles/config/nvim/init.vim +++ b/dotfiles/config/nvim/init.vim @@ -138,8 +138,9 @@ nnoremap r :call NumberToggle() " This one maps F5 to delete all trailing whitespace nnoremap :let _s=@/:%s/\s\+$//e:let @/=_s:nohl -"Bind C-l to clear last search -:noremap :nohls +" Pressing enter in command mode clears the current search highlighting until +" the next search. +nnoremap :noh " ctrlp hotkeys let g:ctrlp_map='' @@ -169,6 +170,12 @@ nnoremap gd :Gdiff nnoremap gb :Gblame nnoremap gc :Gcommit +" F9 is bound to fold and unfold in all modes +inoremap za +nnoremap za +onoremap za +vnoremap zf + " Line indent guides are defaulted to off let g:indentLine_enabled=0 diff --git a/npm-debug.log b/npm-debug.log new file mode 100644 index 0000000..d6a6c6e --- /dev/null +++ b/npm-debug.log @@ -0,0 +1,24 @@ +0 info it worked if it ends with ok +1 verbose cli [ '/usr/local/Cellar/node/5.2.0/bin/node', +1 verbose cli '/Users/tbockman/projects/finechina/node_modules/.bin/npm', +1 verbose cli 'run', +1 verbose cli 'test' ] +2 info using npm@3.8.8 +3 info using node@v5.2.0 +4 verbose config Skipping project config: /Users/tbockman/.npmrc. (matches userconfig) +5 verbose stack Error: ENOENT: no such file or directory, open '/Users/tbockman/package.json' +5 verbose stack at Error (native) +6 verbose cwd /Users/tbockman/essentials +7 error Darwin 14.5.0 +8 error argv "/usr/local/Cellar/node/5.2.0/bin/node" "/Users/tbockman/projects/finechina/node_modules/.bin/npm" "run" "test" +9 error node v5.2.0 +10 error npm v3.8.8 +11 error path /Users/tbockman/package.json +12 error code ENOENT +13 error errno -2 +14 error syscall open +15 error enoent ENOENT: no such file or directory, open '/Users/tbockman/package.json' +16 error enoent ENOENT: no such file or directory, open '/Users/tbockman/package.json' +16 error enoent This is most likely not a problem with npm itself +16 error enoent and is related to npm not being able to find a file. +17 verbose exit [ -2, true ]