Skip to content

chau-bao-long/vim-import-kotlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-import-kotlin

Auto detect and import for kotlin/java project

Installation

Dependencies

We need fzf to show dialog and pick the import from available candidates

Plug 'vijaymarupudi/nvim-fzf'

Using vim-plug

Plug 'chau-bao-long/vim-import-kotlin'

Quick Start

Config learn path, which point to your set of source code to learn import lines

let g:learn_path = $HOME . "/all-your-kotlin-projects-folder"

Run LearnImport to build import dictionary cache from library

:LearnImport<cr>

And map key to use it

nnoremap <space>il :KotlinImport<cr>

If you has Comrade setup properly, this command will use import results from intelliJ

nnoremap <space>ia :ComradeImport<cr>

About

Import tool for kotlin and java project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published