• Home
  • Popular Downloads
  • Contact Us
  • Submit

Softpile

Free Downloads

Main Navigation
  • Home
  • Windows
  • Mac OS X
  • Business
  • Desktop
  • Development
  • Education
  • Games
  • Internet
  • Multimedia
  • Utilities
Home » Linux » mysqlquery

mysqlquery

April 26, 2008
mysqlquery is a simple and easy to use utility for executing MySQL queries in Vim.
Version: 0.1
License: GPL
Operating System: Linux
Homepage: sirex.raguvele.lt
Developed by: Mantas Zimnickas
mysqlquery is a simple and easy to use utility for executing MySQL queries in Vim.

With this script comes only one function ExecMySQL(), so you need to bind a key to this function, for executing queries. For example:

:vmap < F9 > :call ExecMySQL()< CR >
:nmap < F9 > V:call ExecMySQL()< CR >

After that you need to write a SQL query, then select it (or if query consist only of one line, point cursor to it) ant press < F9 >.

Query will be executed and in new buffer you will see result of that query. Results are shown in beautifully aligned table.

Best way to work with this plug-in is separate file for queries. At the beginning of that file, in one of 10 first lines you need to add connection string:

  • - mysql://username:password@hostname/dbname

You can add many connection strings, but only first found string will be used. So if you want to change database, just move connection string at the very top of file.

Use this mapping for better usage:

map < F5 > :b#< CR >

With this mapping, after executing a query, you can easily switch back to query editing, just by pressing < F5 >.
mysql mysql querier query vim vim plugin vim script
Free Download 2K
0
  • Share on:

mysqlquery User Reviews

Sponsored

Categories

  • Linux

Related Downloads

KateBuild
KateBuild is mainly a modification of the make plugin in kdeaddons.
Passepartout
A desktop publishing application.
Wocvim
Wocvim project is a WoC client for Vim.
Faroese Spell Checking Dictionary
Faroese Spell Checking Dictionary is intended to be used with programs like ...
Ganzua
Ganzua is a cryptanalysis tool for monoalphabetic and polyalphabetic ciphers ...
Copyright © 1999-2017 Softpile Free Downloads
  • Contact Us
  • Submit
  • Privacy Policy
  • Disclaimer
  • Terms of Use