How to use Vim or Neovim for SQL?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • sqls

    Discontinued SQL language server written in Go.

  • Does https://github.com/lighttiger2505/sqls work?

  • vim-dadbod

    dadbod.vim: Modern database interface for Vim

  • Maybe that helps with autocompletion in dadbod: ```lua Plug 'https://github.com/tpope/vim-dadbod.git' Plug 'https://github.com/kristijanhusak/vim-dadbod-ui.git' Plug 'https://github.com/kristijanhusak/vim-dadbod-completion.git'

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • vim-dadbod-ui

    Simple UI for https://github.com/tpope/vim-dadbod

  • Maybe that helps with autocompletion in dadbod: ```lua Plug 'https://github.com/tpope/vim-dadbod.git' Plug 'https://github.com/kristijanhusak/vim-dadbod-ui.git' Plug 'https://github.com/kristijanhusak/vim-dadbod-completion.git'

  • vim-dadbod-completion

    Database autocompletion powered by https://github.com/tpope/vim-dadbod

  • Maybe that helps with autocompletion in dadbod: ```lua Plug 'https://github.com/tpope/vim-dadbod.git' Plug 'https://github.com/kristijanhusak/vim-dadbod-ui.git' Plug 'https://github.com/kristijanhusak/vim-dadbod-completion.git'

  • vim-slime

    A vim plugin to give you some slime. (Emacs)

  • I use https://github.com/jpalardy/vim-slime for a notebook like experience. Maybe not the most feature rich approach but it's very flexible. I configured it to work with tmux. One pane has vim another pane has the SQL engine CLI. I can iterate over queries or commands in vim and send the current vim paragraph to the interpreter using a leader key mapping.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts