David Blume commited on 2021-09-26 21:42:33
Showing 1 changed files, with 18 additions and 0 deletions.
| ... | ... |
@@ -21,6 +21,24 @@ You can clone from the origin with: |
| 21 | 21 |
This project has example Visual Studio Code, PyCharm, Atom, and |
| 22 | 22 |
Sublime Text 3 projects. |
| 23 | 23 |
|
| 24 |
+### tmux vim entr |
|
| 25 |
+ |
|
| 26 |
+The best IDE of all, for those who live on the CLI. Create two panes in tmux, |
|
| 27 |
+run vim in one, and run entr in the other with a command like: |
|
| 28 |
+ |
|
| 29 |
+ find . -type f -name \*.py | entr -c sh -c 'ctags -R *; ./testpython.py' |
|
| 30 |
+ |
|
| 31 |
+or run in pdb: |
|
| 32 |
+ |
|
| 33 |
+ find . -type f -name \*.py | entr -c sh -c 'ctags -R *; python3 -m pdb testpython.py' |
|
| 34 |
+ |
|
| 35 |
+Tip: In vim you can do a multi-file grep and use the QuickFix window with commands like... |
|
| 36 |
+ |
|
| 37 |
+ :grep -rI searchterm . |
|
| 38 |
+ :cw |
|
| 39 |
+ |
|
| 40 |
+See [this QuickFix tip for sorting results by filename](http://git.dlma.com/dotfiles.git/commit/0cb566c53caf931c8b3f423dcfded4660b220cbb). |
|
| 41 |
+ |
|
| 24 | 42 |
### Visual Studio Code |
| 25 | 43 |
|
| 26 | 44 |
Download Microsoft's Visual Studio Code from |
| 27 | 45 |