기본 콘텐츠로 건너뛰기

Nano editor shortcut


Command Line Arguments

-A
Makes the Home key behave more intell­igently (moving to beginning of non-wh­ite­space charac­ters, instead of the beginning of the line, as is default.)
-B
Backs up edits to a copy of the file in the current directory with the suffix ~.
-E
Convert typed tabs to spaces.
-L
Don't add newlines to the ends of files.
-N
Disable automatic conversion of files from DOS/Mac format.
-O
Use the blank line below the titlebar as extra editing space.
-S
Enable smooth scrolling. Text will scroll line-b­y-line, instead of the usual chunk-­by-­chunk behavior.
-c
Constantly show the cursor position.
-w
disable wrapping of long lines.
-$
Enable softwrap (wraps lines instead of horizontal scrolling.)

NOTE: Because $ is treated as a variable by many execution enviro­nments, it is advisable to flag this option separately from others you may be using, e.g.: 
nano -ALNc -$ textfi­le.txt
nano [OPTIONS] [[+LIN­E,C­OLUMN] FILE]...




Shortcuts

^G
Display help text.
^O
Write the current file to disk
^X
Exit nano.
^T
Invoke spellc­heck, if installed.
^Y
Next screen.
^V
Previous screen.
^L
Refresh (force redraw) current screen.
^J
Justify current paragraph. (Join together broken lines of text until double newline is encoun­tered.)
^W
Search for a string or regular expres­sion.
^\
Search and replace a string or regular expres­sion.



이 블로그의 인기 게시물

Docker Tutorial (Docker Toolbox)

https://www.docker.com/products/overview 설치파일 다운로드. 내 맥북은 가상화를 지원하지 않는 CPU를 가진 2009년형. 그래서 Docker for Mac 사용불가하여 Docker Toolbox 설치. mkdir yourdockerbuild cd yourdockerbuild touch Dockerfile nano Dockerfile FROM imageNameOnHub:version - 불러올 이미지 RUN *** - 최초 실행할 명령 (설치명령 등. image 안에 설치됨) CMD *** - 이미지가 로딩되면 실행할 명령 docker build -t yourImageName . docker run yourImageName 추가로 hub를 통하지 않고 Image를 이동 하려면 Docker Registry 사용 도커 레지스트리 (Docker Registry) 설치하기 + S3 연동

플래시 빌더 (Flash Builder) 컬러 테마 변경

플래시 빌더 전체 색상은 흰색 위주로 되어 있는데, 오래보기엔 눈이 좀 불편하다. 따로따로 색상을 적용할 순 있지만 너무 번거롭고. 그래서 컬러테마 적용을 검색해봤다. 역시나 좋은 글이 있었다. 에디터 컬러 테마 변경 http://www.robertbak.com/wordpress/2010/04/dark-themes-for-flash-builder/ 위 글을 참고하면 된다. 위 글에서 요점만 요약하면 http://www.eclipsecolorthemes.org  여기서 테마(EPF)를 받은 후, 플래시 빌더 메뉴에서 File -> import -> other 를 선택한 다음, 팝업 메뉴가 뜨면 General에 있는 Preferences 선택 후 다운받은 EPF파일을 선택해주면 된다. 이클립스 안에 있는 마켓에서 eclipse color theme를 검색 해서 설치해도 됨. 인터페이스 색상 변경은 애석하게도 아직 못찾았다.