Upgrade to Pro — share decks privately, control downloads, hide ads and more …

nano

 nano

Till Klampaeckel

January 19, 2012
Tweet

More Decks by Till Klampaeckel

Other Decks in Programming

Transcript

  1. 2012-01-17
    nano
    The best text editor ever, or maybe not.

    View Slide

  2. Guten Tag
    ✤ My name is Till Klampäckel.
    ✤ I build web applications.
    ✤ I ❤ open source.

    View Slide

  3. I wrote a book.
    CouchDB, NoSQL, in German. (Buy it!)
    Read it! Check out the website at
    http://couchdb-buch.de/

    View Slide

  4. n(ano)

    View Slide

  5. Advantages & Disadvantages
    ✤ no bloat! very lean!
    ✤ pre-installed (Mac, Linux)
    ✤ easy to use
    ✤ customizable
    ✤ not too many features :(
    0
    37.5
    75
    112.5
    150
    Features
    Performance
    Productivity
    Other Text Editors nano :)
    * Numbers may not be accurate. :)

    View Slide

  6. Simple usage!
    ✤ nano Foo.php
    Action Command
    Save Ctrl+o
    Search Ctrl+w
    ... & Replace ..., Ctrl+r
    ... Go to line ..., Ctrl+t
    Paste file into Ctrl+r
    Exit Ctrl+x

    View Slide

  7. Customizations
    ✤ /etc/nanorc
    ✤ ~/.nanorc
    ✤ set|unset foo
    set tabstospaces
    set const
    set tabsize n
    set nowrap
    set autoident
    set nonewlines
    set whitespace
    set nohelp
    set historylog n
    set backup
    set backupdir

    View Slide

  8. Syntax-Highlighting
    ✤ PHP, Ruby, Perl, C, Make, JavaScript, ...

    View Slide

  9. What’s missing?
    ✤ no integration of external tools (except for a spellchecker)
    ✤ no tabs or windows (but my Terminal or screen support these)
    ✤ no auto-completion
    ✤ issues with “larger” files

    View Slide

  10. What makes you productive?
    Resource hungry editors don’t help.
    Copyright Yann Ropars, http://www.flickr.com/photos/frenchista/6322734353/

    View Slide

  11. Fin.

    View Slide