J VIM Command
How to use J Command in Linux VIM editor?
J stands for join
This command is used to join the content of next line at the end of current line. You can join 2 consecutive lines using this command.
- Open the file test.txt using the command
$ vim test.txt
- We can notice the text in the file.
- Let us see how to join both the lines. To join two lines together
- The file after joining the lines