Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using vim for editing bash scripts currently, but i really need to set it up and/or install plugins. Plugin suggestions welcome. Either way i'd like to see which editors/IDEs are there for this job.

share|improve this question
the additional questions in the comments regarding "support docs" is kind of vague. I'm unsure if you're referring to "language documentation support for the user" or "source code project documentation for the developer". – Good Time Tribe Jan 8 '13 at 22:25
up vote 10 down vote accepted

gedit can be a great editor when extended with gedit-plugins


share|improve this answer
does it provide support for docs in any way? – admiral0 Nov 15 '10 at 23:00
used external tools, with a man wrapper for current word. – admiral0 Nov 16 '10 at 0:39
gedit is great! Once you get used to you will fall in love. ;) – B4NZ41 Feb 7 '14 at 16:44

I love Geany

alt text

It's a quick GUI editor that can manage small projects if necessary (it can remember list of files and a few other neat things). It supports many syntax highlighting including Shell scripting.

It supports plug-ins, and I have used the VC (version control) plug-in once, but the basic features of Geany are enough for most of the work I do with it.

share|improve this answer
does it help with shell scripts? (docs, snippets, etc.) – admiral0 Nov 15 '10 at 22:33
It provides some types of auto completion, though it does not always work. I haven't manage to figure out why or when it works. It supports easy identing and commenting of line, compatible with shall scripts. And It offers some template comments. But it does not do a kind of javadoc for scripts, AFAIK. – Huygens Nov 15 '10 at 22:52
Geany does help with shell scripts. Doc 0.21.1 allows you to implement many different documentation sources for lots of different languages, sh is supported and preconfigured for viewing through man, though entirely customizable. Documentation Generator plugin does support shell. macros are saved between sessions. You can configure snippets, but bash snippets dont exist in my config, thanks for asking, now i need to set'm up! so yes, it helps with shell scripts entirely! – Good Time Tribe Jan 8 '13 at 22:19
regarding why autocomplete works sometimes and not others, "autocomplete all words in document" is off by default. you can enable that, and specify the number of characters necessary to trigger autocomplete on the same screen. it's in preferences -> editor [tab on left] -> completions [tab on top] – Good Time Tribe Jan 8 '13 at 22:21

I found this: http://www.vim.org/scripts/script.php?script_id=365

It is really good for bash scripting.

share|improve this answer

Emacs is rather good, there's been a built-in shell scripting mode for some time.

share|improve this answer
A bit of an understatement. Its coming up on twenty years, according to the copywrite in the file. – KeithB May 8 '12 at 21:58
2012 - 1976 != 20. @KeithB ... also, please learn to digest italicized text. There's a whole world of purposeful understatement out there waiting for you to appreciate it. – Slomojo May 9 '12 at 6:45

Another cool editor, though the UI looks a bit old now, is Nedit.

alt text

It is more powerful than Geany as it can support ctags which you can use to navigate through your code (finding the definition of a function or variable, etc.)

It's really light-weight, fast to launch. However, the user experience might not please everyone.

I have been using it for a long period to develop shell and C/C++ code. Though I use more now Geany and Eclipse CDT for these purposes.

share|improve this answer
is it difficult to set up? – admiral0 Nov 15 '10 at 22:44
Do you mean about ctags? I don't have any more the syntax for ctags, but I launched it i a cron hourly, it was indexing in a file my project. I then just point NEdit to this file, there was an option either in the File or Preferences menu. Or you can set it "for ever" and add it to .neditrc It was not that difficult but it is not a great UX. – Huygens Nov 15 '10 at 22:54

I use both BBEdit (Mac text editor) and vi(m).

BBEdit has a command line counterpart which works great for integrating with the underside of the Mac and other CLI tools.

vi(m) is on essentially every *nix system out there.

Knowing vi(m) is beneficial due to its availability.

Hope that helps with your search!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.