Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • Thanks for your answer, but this won't work for me. The same errors appear. What do the separate '--' stand for? Perhaps the error lies in some settings of my bash environment... Commented Sep 5, 2013 at 9:49
  • Nedit is installed. I wrote a similar function that just opens nedit with the specified file (just to have the '&'), and this works pretty well. But when opening a 500MB text file and nedit saves after every 80 or so strokes, editing can become very annoying. A workaround would be to increase the amount of strokes after nedit autosaves, but this would be a global setting. Commented Sep 5, 2013 at 10:17
  • 1
    @SoumVhon - This is sounding more like an XY Problem. What is your real issue, nedit slows down when -autosave is enabled after some period of time? Commented Sep 5, 2013 at 10:41
  • I see what you try pointing to. But there is no problem with nedit's autosave capability nor it's speed (which is, when it comes to saving, only limitated by network and/or hard drive speed), I just want to create a program shortcut/alias that uses the -noautosave parameter to disable autosave completely (enabled by default). Only when there is now way of creating such a shortcut (and that seems to be the case on my system, even when I try your suggested solution), I either have to alter nedits configuration to get the behavior I am looking for, or just do it manually every time I need it. Commented Sep 5, 2013 at 12:02
  • Oh, just in case, I don't want to switch off autosave completely, just sometimes when I have to handle big files. If there is a smarter/easier way to achieve this goal, I would be happy to hear. Commented Sep 5, 2013 at 12:11