if exists("g:import_js_loaded") || &cp
  finish
endif
let g:import_js_loaded = 1

command ImportJSImport call importjs#ImportJSImport()
command ImportJSImportAll call importjs#ImportJSImportAll()

if !hasmapto(':ImportJSImport<CR>') && maparg('<Leader>j', 'n') == ''
  silent! nnoremap <unique> <silent> <Leader>j :ImportJSImport<CR>
endif

if exists("g:import_js_loaded") || &cp
  finish
endif
let g:import_js_loaded = 1

command ImportJSImport call importjs#ImportJSImport()
command ImportJSImportAll call importjs#ImportJSImportAll()

if !hasmapto(':ImportJSImport<CR>') && maparg('<Leader>j', 'n') == ''
  silent! nnoremap <unique> <silent> <Leader>j :ImportJSImport<CR>
endif

if !hasmapto(':ImportJSImportAll<CR>') && maparg('<Leader>i', 'n') == ''
  silent! nnoremap <unique> <silent> <Leader>i :ImportJSImportAll<CR>
endif

Add <leader>i shortcut for :ImportJSImportAll
Add <leader>i shortcut for :ImportJSImportAll

Now that I pushed the commit that dedupes modules (26a66cb) and fixed
the ImportJSImportAll command (previous commit), importing multiple
variables at once is more useful again. This commit adds a <leader>i
shortcut to quickly run :ImportJSImportAll.

lencioni/import-js,lencioni/import-js,trotzig/import-js,trotzig/import-js,Galooshi/import-js,trotzig/import-js,lencioni/import-js