Skip to content

Commit cd919a6

Browse files
committed
Updated README file
1 parent 3178d90 commit cd919a6

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ let g:dbext_default_profile_myPSG='type=pgsql:host=localhost:user=root:dsnname=m
6060
Assuming you work on many different projects, you can automatically have dbext choose the correct database connection profile by adding autocmds that use the filesystem path to choose the correct profile:
6161
```vim
6262
augroup project1
63-
au!
64-
" Automatically choose the correct dbext profile
65-
autocmd BufRead */projectX/sql/* DBSetOption profile=myASA
63+
au!
64+
" Automatically choose the correct dbext profile
65+
autocmd BufRead */projectX/sql/* DBSetOption profile=myASA
6666
augroup end
6767
6868
augroup project2
69-
au!
70-
" Automatically choose the correct dbext profile
71-
autocmd BufRead */projectY/* DBSetOption profile=myORA
69+
au!
70+
" Automatically choose the correct dbext profile
71+
autocmd BufRead */projectY/* DBSetOption profile=myORA
7272
augroup end
7373
```
7474
Or from the menu or the maps created you can choose a profile at any time.
@@ -172,17 +172,17 @@ SELECT s.script, ts.event, t.name , s.script_language, sv.name
172172
```
173173

174174
Benefit:
175-
You did not have to test your SQL by cutting and pasting it into a separate tool and replacing all the object and host variables yourself. Just by visually selecting the string and running the command DBExecSQL (or the default mapping <Leader>se) the SQL statement was executed against the database and allowed to you enter host variables.
175+
You did not have to test your SQL by cutting and pasting it into a separate tool and replacing all the object and host variables yourself. Just by visually selecting the string and running the command `DBExecSQL` (or the default mapping `<Leader>se`) the SQL statement was executed against the database and allowed to you enter host variables.
176176

177177
Additional Commands
178178
---------------------------------
179-
DBExecSQL - Enter any command you want sent to the database
180-
DBExecRangeSQL - Enter any range of statements you want executed
181-
Select - Enter the remainder of a select (ie :Select * from customer)
182-
Call - Call a stored procedure
183-
Update - Enter the remainder of an update
184-
Insert - Enter the remainder of an insert
185-
Delete - Enter the remainder of an delete
186-
Drop - Enter the remainder of a drop
187-
Alter - Enter the remainder of an alter
188-
Create - Enter the remainder of a create
179+
- `DBExecSQL` - Enter any command you want sent to the database
180+
- `DBExecRangeSQL` - Enter any range of statements you want executed
181+
- `Select` - Enter the remainder of a select (ie :Select * from customer)
182+
- `Call` - Call a stored procedure
183+
- `Update` - Enter the remainder of an update
184+
- `Insert` - Enter the remainder of an insert
185+
- `Delete` - Enter the remainder of an delete
186+
- `Drop` - Enter the remainder of a drop
187+
- `Alter` - Enter the remainder of an alter
188+
- `Create` - Enter the remainder of a create

0 commit comments

Comments
 (0)