Questions tagged [block-comment]

A multiple-line comment in computer code.

Filter by
Sorted by
Tagged with
10
votes
1answer
1k views

What does (arg: n) in the command prompt mean?

On Codecademy's Command Line Course, when trying to use the keyboard shortcut Alt+Shift+# (which is supposed to comment the current line) in the command prompt, it switches the prompt from $ to (arg: ...
2
votes
0answers
33 views

How to exclude programs from writing to RAM block cache? (e.g. media player)

When playing back huge video files, the media player ravenously consumes disk cache and thus kicks out blocks cached by other programs. Not to confuse with LinuxAteMyRam.com. I would like the media ...
0
votes
1answer
369 views

How to comment out LaTeX code in Gedit? [closed]

I am not sure if it is supported but cannot find it. OS: Debian 8.5
2
votes
2answers
1k views

how to use SED to replace comments within a comments section

Assume that I have a file that starts with the following /********************************************************* blah blah blah blah blah blah blah blah blah *******************...
6
votes
1answer
243 views

Change inside comments with Vim

Is there a way to change inside of a comment with Vim? I know you can change inside brackets and quotes with i] and i". For example, If you are on a quote you can press, ci"my new textESC And this ...
81
votes
6answers
229k views

How to comment multiple lines at once? [duplicate]

How can I select a bunch of text and comment it all out? Currently I go to the first line, go to insert mode then type # left-arrowdown-arrow and then I repeat that sequence, perhaps saving a few ...
11
votes
5answers
21k views

vimrc - how to block comment?

I don't want to comment lines of text in a text file or code. I am looking for inserting block comments in a .vimrc file. To insert a single line comment " is used, for example: " remove spaces and ...