Email or username:

Password:

Forgot your password?
Top-level
Coding Otaku

@nazokiyoubinbou
This, and Emacs does not overwrite files (at least I couldn't find how). You just need to replace the file you are editing with the newly created one that has the same name with a "~" appended to it.

EDIT: /s

@blogdiva @HunterZ @systemd

3 comments
Nazo

@blogdiva @CodingOtaku @HunterZ @systemd Perhaps you might be interested in this then? github.com/scopatz/nanorc A bunch of autocompletes for syntax highlighting.

Besides the includes that their install script would create, there are some nice extras you can turn on like line numbers and etc. Here's my .nanorc minus all the includes (too long to fit):

set autoindent
unset backup
unset casesensitive
unset historylog
unset noconvert
set smarthome
set tabsize 5
set linenumbers
set titlecolor white,blue
set statuscolor white,blue
set numbercolor white,blue
set keycolor brightwhite,blue
set functioncolor white,blue
set softwrap

Not sure if that suits you or not, but if you use nano a lot it can be a bit nicer with some of these things. (And you can customize to taste naturally.)

@blogdiva @CodingOtaku @HunterZ @systemd Perhaps you might be interested in this then? github.com/scopatz/nanorc A bunch of autocompletes for syntax highlighting.

Besides the includes that their install script would create, there are some nice extras you can turn on like line numbers and etc. Here's my .nanorc minus all the includes (too long to fit):

Ben S.

@CodingOtaku @nazokiyoubinbou @blogdiva @systemd I've somehow managed to never use emacs, but it looks like Ctrl+X then Ctrl+S should work?

...and upon learning that emacs requires keystroke *sequences* to do simple things like this, I'm now even less likely to try it lol

Go Up