You are not logged in.
Hello:
Although I have yet to master it, jED is my favourite editor.
Must be my many years under the shadow of MS editors. 8^/
One issue I solved long ago was the line numbering which (for some strange reason) is not set up by default.
Or an option to be quickly configured in a drop down menu.
You just generate a .jedrc file in your /home/user folder with this content:
LINENUMBERS = 2;
public define global_mode_hook (hook_name)
{
set_line_number_mode (1);
}
See: https://travelingfrontiers.wordpress.co … ed-editor/
The problem with this is that it is set up on a user basis and I'd like for this to be the default system-wide setting.
This came up while needing jED with line numbers while working on a VM without sudo.
I had to su or su - and line numbers were not available.
Any idea on how to get that done?
Thanks in advance,
A.
Offline
/etc/jed.d/*.sl
The system wide configuration files (this is a special Debian feature).
Brianna Ghey — Rest In Power
Offline
Hello:
/etc/jed.d/*.sl
The system wide configuration files (this is a special Debian feature).
Yes, that did it.
Thank you very much. 8^)
Edit:
Only problem is that if you configure for line numbers, scraping the content (copy to paste) will do so with both the content and the line numbers.
I think (?) most editors behave in the same manner.
Best,
A.
Last edited by Altoid (2021-12-20 17:48:20)
Offline