0
votes
2answers
28 views

How do I view the content of a very large file at position in Linux?

I've got a file containing JSON data that is about 90MB of size and has one line. I need to go to position 99376229. Unfortunately vim and less both crash when I try moving to that column. How can I ...
1
vote
2answers
152 views

How to use my vim configuration in less?

Quite some programs have commands that output with less(e.g. git blame filename). I would like to use my vim configuration(e.g. <C-j> instead of using Pg Down to go down a page) whenever less is ...
2
votes
1answer
139 views

vim doesn't display first line?

when I use vim to open some php files, it starts with line 2, other files display fine. When I view the file with less I have the same issue. however when I edit it with nano I can see that line's in ...
1
vote
1answer
145 views

vim -R /dev/random

I am on the verge of doing alias less='vim -R' for the convenience of being able to scroll with my multitouchpad. However, I like that less -f can view even files like /dev/random that are not ...
1
vote
1answer
391 views

Avoiding newlines when copying wrapped text in Terminal.app

I have text files with lines that of length greater than my terminal width. I generally use less to view these files and often want to copy something that wraps from one line to the next. I've found ...