▲ | spartanatreyu 2 days ago | |
Sublime text works better on large files (where file sizes are a few gb) compared to VSCode. But, you can go faster depending on your usecase: - If you're trying to manually look through the file, use `less`. You can scroll up and down, go quickly to the top and bottom of the file, and also search the file for strings quickly - If you already know the string in the file that you're looking for, use ripgrep - If you're trying to do a search and replace, and you already know what the strings are, use sed. (macos' built-in sed isn't good, so get the proper gnu coreutills through homebrew, and you can access the good sed through `gsed`) | ||
▲ | hmokiguess 2 days ago | parent [-] | |
Well ripgrep can be just a backend right. Just like your terminal is how you invoke it, you could have your editor do that. In fact, I believe that is what vscode uses. Apparently there’s been a neglected issue about bringing it to Zed. https://github.com/zed-industries/zed/issues/4560 |