Browse Source

Add code folding and make enter clear search again

master
Taylor Bockman 9 years ago
parent
commit
d923176f22
  1. 11
      dotfiles/config/nvim/init.vim
  2. 24
      npm-debug.log

11
dotfiles/config/nvim/init.vim

@ -138,8 +138,9 @@ nnoremap <silent> <Leader>r :call NumberToggle()<CR>
" This one maps F5 to delete all trailing whitespace " This one maps F5 to delete all trailing whitespace
nnoremap <silent> <F5> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar>:nohl<CR> nnoremap <silent> <F5> :let _s=@/<Bar>:%s/\s\+$//e<Bar>:let @/=_s<Bar>:nohl<CR>
"Bind C-l to clear last search " Pressing enter in command mode clears the current search highlighting until
:noremap <silent> <c-l> :nohls<cr><c-l> " the next search.
nnoremap <silent> <CR> :noh<CR><CR>
" ctrlp hotkeys " ctrlp hotkeys
let g:ctrlp_map='<c-p>' let g:ctrlp_map='<c-p>'
@ -169,6 +170,12 @@ nnoremap <Leader>gd :Gdiff<CR>
nnoremap <Leader>gb :Gblame<CR> nnoremap <Leader>gb :Gblame<CR>
nnoremap <Leader>gc :Gcommit<CR> nnoremap <Leader>gc :Gcommit<CR>
" F9 is bound to fold and unfold in all modes
inoremap <F9> <C-O>za
nnoremap <F9> za
onoremap <F9> <C-C>za
vnoremap <F9> zf
" Line indent guides are defaulted to off " Line indent guides are defaulted to off
let g:indentLine_enabled=0 let g:indentLine_enabled=0

24
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 ]
Loading…
Cancel
Save