9/20/2023 0 Comments Change tabs to spaces in aquamacsSet selContent to content of selection of thisDoc do shell script "sed 's/^/ /' -THIS THING JUST ADDS A SPACE IN FRONT OF EACH LINE OF INPUT It wouldn't be efficient to make a key binding for this script. Why is this bad? You cannot quickly rerun the script on the same selection. After I run the script, TeXShop deselects the original selection. I have put together some code which will add a single space (or more) in front of an arbitary number of selected lines in TeXShop. The setting in TeXnicle is shown in the following picture: When I think about it, I don't even know how to indent multiple lines of code with tabs! Is there a way to make TeXShop insert an arbitrary number of spaces when I press the tab key instead of inserting a tab? This functionality is in TeXnicle and I really like it, but TeXShop is my favorite editor.Ī related question is how to easily indent multiple lines of code with spaces (not tabs) in TeXShop.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |