Thank you John!
:setlocal noswapfile undolevels=-1 :%join! I understand that %join joins all lines, but what does the exclamation mark do ??\ Also, what does " :setlocal noswapfile undolevels=-1 " do ?? Is this necessary ?? I tried just %join on a small file and it seems to do what I want. Finally, this method is still soo slow for my data file! Is there no way to just remove the last character of each line ?? Or even better, to highlight all the \n 's using the visual editor (CTRL + V) and delete them all somehow ?? (I'm able to highlight the \n 's using CTRL+V, but for some reason the command "x" doesn't delete them) Thanks -- View this message in context: http://www.nabble.com/better-way-to-remove-%5Cn-tp24688299p24689742.html Sent from the Vim - General mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
