Skip to main content

Timeline for grep in my specific dictionary

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
Feb 14, 2021 at 12:11 comment added Quasímodo @user27145 I don't get exactly what you mean. In the plain shell, does your lines ever wrap if they are too long to fit the terminal? A picture could help and maybe you would like to open another question.
Feb 12, 2021 at 14:53 comment added user27145 I have noticed another small issue with the grep: Whereas it works perfectly in plain shell, its output to the vim's term window appears to split long lines into chunks of about 100 characters long. I wonder whether there is a way to avoid this.
Feb 11, 2021 at 15:06 comment added user27145 Yes, indeed, with set splitbelow it works fine. For the options to be set locally, I found the answer from :h terminal. It is enough to add to .vimrc the line: autocmd TerminalWinOpen * setlocal fdc=0 |setlocal nospell
Feb 11, 2021 at 13:53 comment added Quasímodo @user27145 set splitbelow in .vimrc makes all splits create the new window below the current one. I cannot help you with the second question, though, because I never use spelling and folding.
Feb 11, 2021 at 11:14 comment added user27145 This is a nice solution indeed; I was not aware of the terminal command. I also found in the help I can choose the number of ++rows=<number> to be displayed. Now, I wonder whether it is possible to display the terminal window below the current one, not above as it opens. Also, the terminal window inherits some options from the current window, like foldcolumn=<number> and spell=on, which I would prefer to avoid. Is there a way to change these?
Feb 10, 2021 at 17:21 history answered Quasímodo CC BY-SA 4.0