From 670db7af07d8a4f497295993921629914b14e826 Mon Sep 17 00:00:00 2001 From: Jose Lemus Date: Wed, 30 Dec 2015 14:31:49 -0500 Subject: [PATCH 1/3] nano: started tldr for nano --- pages/common/nano.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/nano.md diff --git a/pages/common/nano.md b/pages/common/nano.md new file mode 100644 index 000000000..dc06904f5 --- /dev/null +++ b/pages/common/nano.md @@ -0,0 +1,15 @@ +# nano + +> Simple, easy to use editor. An enhanced, free Pico clone. + +- Start nano in terminal with {filename} + +`nano {filename}` + +- Save and then exit nano + +`ctrl-x` + +- Save file without exitting + +`ctrl-o` From 7a75297ca538cb4deecdb155303b6c1f7212971e Mon Sep 17 00:00:00 2001 From: Jose Lemus Date: Wed, 30 Dec 2015 19:01:15 -0500 Subject: [PATCH 2/3] Remove keybindings help. Add some command line options --- pages/common/nano.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/nano.md b/pages/common/nano.md index dc06904f5..44a277ee2 100644 --- a/pages/common/nano.md +++ b/pages/common/nano.md @@ -4,12 +4,12 @@ - Start nano in terminal with {filename} -`nano {filename}` +`nano {{filename}}` -- Save and then exit nano +- Enable smooth scrolling. -`ctrl-x` +`nano -S {{filename}}` -- Save file without exitting +- Indent new lines to the previous lines' indentation -`ctrl-o` +`nano -i {{filename}}` From 45ff694e13946995da68d1d75233a2ce8c8cf8f2 Mon Sep 17 00:00:00 2001 From: Jose Lemus Date: Wed, 30 Dec 2015 19:04:05 -0500 Subject: [PATCH 3/3] nano: Remove keybindings help. Add some command line options --- pages/common/nano.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/nano.md b/pages/common/nano.md index 44a277ee2..97b0dfe25 100644 --- a/pages/common/nano.md +++ b/pages/common/nano.md @@ -10,6 +10,6 @@ `nano -S {{filename}}` -- Indent new lines to the previous lines' indentation +- Indent new lines to the previous lines' indentation. `nano -i {{filename}}`