Skip to content

Instantly share code, notes, and snippets.

@letientai299
Last active August 27, 2018 05:29
Show Gist options
  • Save letientai299/f8cc3256ce559a035223eaeb5a3d583f to your computer and use it in GitHub Desktop.
Save letientai299/f8cc3256ce559a035223eaeb5a3d583f to your computer and use it in GitHub Desktop.
Neovim tips
#!/bin/bash
git clone https://github.com/fmoralesc/neovim-gnome-terminal-wrapper
cd neovim-gnome-terminal-wrapper
sudo cp nvim-wrapper /usr/bin/nvim-wrapper
sudo cp neovim.desktop /usr/share/applications/neovim.desktop
sudo cp neovim.svg /usr/share/icons/neovim.svg
cd ..
rm -rf neovim-gnome-terminal-wrapper

Config nvim as external tool for Intellij IDAE

curl https://gist.githubusercontent.com/letientai299/f8cc3256ce559a035223eaeb5a3d583f/raw/cae5acf41e1e6a53467f9b17b788d6778f8c90c8/install-nvim-wrapper.sh | bash

Add external tools in intellij

  • Program: /usr/bin/nvim-wrapper
  • Parameters: -c "+cal cursor($LineNumber$,$ColumnNumber$)" $FilePath$
  • Working dir: $ProjectFileDir$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment