Skip to content

Instantly share code, notes, and snippets.

@jonsmithers
Last active March 19, 2019 15:09
Show Gist options
  • Save jonsmithers/f6b54f228ef0e2cd973a4f80654ccf21 to your computer and use it in GitHub Desktop.
Save jonsmithers/f6b54f228ef0e2cd973a4f80654ccf21 to your computer and use it in GitHub Desktop.
IntelliJ - Open in Vim
Settings > External Tools > Add
Name: Open in Vim
Program: gvim
Arguments: $FilePath$ "+call cursor($LineNumber$, $ColumnNumber$)" "+set cursorline" "+set lines=100" "+set columns=1000" "+autocmd VimLeavePre * execute '!idea ' . expand('%') . ':' . line('.')"
Working directory: $ProjectFileDir$
Advanced > Open console for tool output: OFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment