The Disputable case of

Text Editors
VS.
The real measure of a
 text editor is how it
  meets your needs.
Identify your inefficiency.
Which Editors will be covered?
Which Editors will be covered?




All of them...
Which Editors will be covered?




All of them..... not really
TextWrangler
Dreamweaver
TextMate
Vim
UltraEdit
Notepad++
Anatomy of
 Common
 Features
Anatomy of
 Common
 Features
    plus
    Vim
  tutorial
Auto Indent
Auto Indent




:set autoindent
:set ts=n
:set tw=n
Auto Indent
Multi-line
Indent
Auto Indent
Multi-line
Indent




[visual mode] >>
Auto Indent
Multi-line
Indent
Syntax Highlight
Auto Indent
Multi-line
Indent
Syntax Highlight




:syntax on
:set syntax=lang
Auto Indent
Multi-line
Indent
Syntax Highlight
Line Numbers
Auto Indent
Multi-line
Indent
Syntax Highlight
Line Numbers




:set number
Auto Indent
Multi-line
Indent
Syntax Highlight
Line Numbers
Text Completion
Auto Indent
Multi-line
Indent
Syntax Highlight
Line Numbers
Text Completion




CTR-N/CTR-P
Auto Indent
Multi-line
Indent
Syntax Highlight
Line Numbers
Text Completion
Auto Close
Auto Indent
Multi-line
Indent
Syntax Highlight
Line Numbers
Text Completion
Auto Close




*Requires macro*
Auto Indent
Multi-line
Indent
Syntax Highlight
Line Numbers
Text Completion
Auto Close
Block Folding
Auto Indent
Multi-line
Indent
Syntax Highlight
Line Numbers
Text Completion
Auto Close
Block Folding




zf{lines}
zo
Auto Indent
Multi-line
Indent
Syntax Highlight
Line Numbers
Text Completion
Auto Close
Block Folding
A fair comparison.
Notepad features:
Notepad features:
  •Word Wrap
Notepad features:
  •Word Wrap
  •Find
Notepad features:
  •Word Wrap
  •Find
  •Find again?
Find/Replace
Find/Replace
•find across multiple files
Find/Replace
•find across multiple files
•count occurrences
Find/Replace
•find across multiple files
•count occurrences
•highlight matches
Find/Replace
•find across multiple files
•count occurrences
•highlight matches
•regular expressions
Find/Replace
•find across multiple files
•count occurrences
•highlight matches
•regular expressions
•replace all
Find/Replace
•find across multiple files
•count occurrences
•highlight matches
•regular expressions
•replace all
Find/Replace
   •find across multiple files
   •count occurrences
   •highlight matches
   •regular expressions
   •replace ...
Project Management
Project Management
•File hierarchy at a glance
Project Management
•File hierarchy at a glance
•remembers open documents
Project Management
•File hierarchy at a glance
•remembers open documents
•filesystem integration
Project Management
•File hierarchy at a glance
•remembers open documents
•filesystem integration
•indicates pending files fo...
FTP/SSH
FTP/SSH
•Work on remote files
FTP/SSH
•Work on remote files
•Avoid manual uploading/syncing
FTP/SSH
•Work on remote files
•Avoid manual uploading/syncing



          Get it.
FTP/SSH
•Work on remote files
•Avoid manual uploading/syncing



          Get it.


          Don’t.
For the work around..


Connect to the
server manually


 Using the OS
Using Windows


Start ➧ My Network Places ➧ Add A Network Place
  Choose FTP network location
      server: ftp://ftp.serv...
Using Mac


Finder ➧ Go ➧ Connect to server (cmd+k)
     server: ftp://username@ftp.server.com
     Authenticate with pass...
External Applications
External Applications

ftp:
External Applications

ftp:


ssh:
External Applications

       ftp:


      ssh:


     multi-
clipboard:
External Applications

        ftp:


       ssh:


      multi-
 clipboard:


community:
Plugins:
Plugins:
•enhances functionality
Plugins:
•enhances functionality
•open-source community driven (usually)
Plugins:
•enhances functionality
•open-source community driven (usually)
•consolidates multiple applications
Plugins:
•enhances functionality
•open-source community driven (usually)
•consolidates multiple applications
•strengthens ...
Plugins:
•enhances functionality
•open-source community driven (usually)
•consolidates multiple applications
•strengthens ...
Plugins:
•enhances functionality
•open-source community driven (usually)
•consolidates multiple applications
•strengthens ...
Extensions
Bundles
Macros & Code Snippets:
Macros & Code Snippets:
   •code faster
Macros & Code Snippets:
   •code faster
   •reference less
Macros & Code Snippets:
   •code faster
   •reference less
   •library of reusable code
Macros & Code Snippets:
   •code faster
   •reference less
   •library of reusable code
   •Avoid typos
Macros & Code Snippets:
   •code faster
   •reference less
   •library of reusable code
   •Avoid typos


        Demo
Debuggers
Debuggers
Debuggers
Debuggers

•offline html validator
Debuggers

•offline html validator
•offline css validator
Debuggers

•offline html validator
•offline css validator
•syntax highlighting
Debuggers

        •offline html validator
        •offline css validator
        •syntax highlighting

•live html code rend...
Debuggers

        •offline html validator
        •offline css validator
        •syntax highlighting

•live html code rend...
Debuggers

        •offline html validator
        •offline css validator
        •syntax highlighting

•live html code rend...
Additional Resources
Efficient Editing with Vim
http://jmcpherson.org/editing.html
Efficient Editing with Vim
http://jmcpherson.org/editing.html
AutoClose: matching bracket
http://www.vim.org/scripts/script...
Hacking Vim
http://www.packtpub.com/Vim/book
Regular Expression Cheat Sheet
http://www.addedbytes.com/
cheat-sheets/regular-expressions-
cheat-sheet/
Typography of Code
http://blog.hamstu.com/
2008/02/03/the-typography-of-
code/
TextMate Screencasts
http://macromates.com/
screencasts
UltraEdit Product Tour
http://www.ultraedit.com/products/
ultraedit/ultraedit_tour.html
E-TextEditor
http://www.e-texteditor.com/
Life Hacker - Best Text Editors
http://lifehacker.com/385929/best-
text-editors#viewcomments
Discovering your own workspace
Thanks.
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
The Disputable Case of Text Editors
Upcoming SlideShare
Loading in …5
×

The Disputable Case of Text Editors

2,547 views

Published on

Having great tools and knowing how to use them effectively is an important factor towards the success of any project; choosing the best software there is to offer will certainly give you a heads up in the game. Although, when it comes to text editors, everyone's got an opinion. Nonetheless, this slide explores some of the basic and advanced features you would expect in text editors, some productivity tips with using macros and managing code snippets, useful integrated tools that help with your workflow, and adding more functionality with plugins.

Published in: Education, Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,547
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
49
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide























































































































  • The Disputable Case of Text Editors

    1. 1. The Disputable case of Text Editors
    2. 2. VS.
    3. 3. The real measure of a text editor is how it meets your needs.
    4. 4. Identify your inefficiency.
    5. 5. Which Editors will be covered?
    6. 6. Which Editors will be covered? All of them...
    7. 7. Which Editors will be covered? All of them..... not really
    8. 8. TextWrangler
    9. 9. Dreamweaver
    10. 10. TextMate
    11. 11. Vim
    12. 12. UltraEdit
    13. 13. Notepad++
    14. 14. Anatomy of Common Features
    15. 15. Anatomy of Common Features plus Vim tutorial
    16. 16. Auto Indent
    17. 17. Auto Indent :set autoindent :set ts=n :set tw=n
    18. 18. Auto Indent Multi-line Indent
    19. 19. Auto Indent Multi-line Indent [visual mode] >>
    20. 20. Auto Indent Multi-line Indent Syntax Highlight
    21. 21. Auto Indent Multi-line Indent Syntax Highlight :syntax on :set syntax=lang
    22. 22. Auto Indent Multi-line Indent Syntax Highlight Line Numbers
    23. 23. Auto Indent Multi-line Indent Syntax Highlight Line Numbers :set number
    24. 24. Auto Indent Multi-line Indent Syntax Highlight Line Numbers Text Completion
    25. 25. Auto Indent Multi-line Indent Syntax Highlight Line Numbers Text Completion CTR-N/CTR-P
    26. 26. Auto Indent Multi-line Indent Syntax Highlight Line Numbers Text Completion Auto Close
    27. 27. Auto Indent Multi-line Indent Syntax Highlight Line Numbers Text Completion Auto Close *Requires macro*
    28. 28. Auto Indent Multi-line Indent Syntax Highlight Line Numbers Text Completion Auto Close Block Folding
    29. 29. Auto Indent Multi-line Indent Syntax Highlight Line Numbers Text Completion Auto Close Block Folding zf{lines} zo
    30. 30. Auto Indent Multi-line Indent Syntax Highlight Line Numbers Text Completion Auto Close Block Folding
    31. 31. A fair comparison.
    32. 32. Notepad features:
    33. 33. Notepad features: •Word Wrap
    34. 34. Notepad features: •Word Wrap •Find
    35. 35. Notepad features: •Word Wrap •Find •Find again?
    36. 36. Find/Replace
    37. 37. Find/Replace •find across multiple files
    38. 38. Find/Replace •find across multiple files •count occurrences
    39. 39. Find/Replace •find across multiple files •count occurrences •highlight matches
    40. 40. Find/Replace •find across multiple files •count occurrences •highlight matches •regular expressions
    41. 41. Find/Replace •find across multiple files •count occurrences •highlight matches •regular expressions •replace all
    42. 42. Find/Replace •find across multiple files •count occurrences •highlight matches •regular expressions •replace all
    43. 43. Find/Replace •find across multiple files •count occurrences •highlight matches •regular expressions •replace all :vimgrep {pattern} {files} :set hlsearch :nohl /search-forwards ?search-backwards :%s/search/replace/g :%s/query//gn
    44. 44. Project Management
    45. 45. Project Management •File hierarchy at a glance
    46. 46. Project Management •File hierarchy at a glance •remembers open documents
    47. 47. Project Management •File hierarchy at a glance •remembers open documents •filesystem integration
    48. 48. Project Management •File hierarchy at a glance •remembers open documents •filesystem integration •indicates pending files for (*)
    49. 49. FTP/SSH
    50. 50. FTP/SSH •Work on remote files
    51. 51. FTP/SSH •Work on remote files •Avoid manual uploading/syncing
    52. 52. FTP/SSH •Work on remote files •Avoid manual uploading/syncing Get it.
    53. 53. FTP/SSH •Work on remote files •Avoid manual uploading/syncing Get it. Don’t.
    54. 54. For the work around.. Connect to the server manually Using the OS
    55. 55. Using Windows Start ➧ My Network Places ➧ Add A Network Place Choose FTP network location server: ftp://ftp.server.com user: username Choose a name for that network connection
    56. 56. Using Mac Finder ➧ Go ➧ Connect to server (cmd+k) server: ftp://username@ftp.server.com Authenticate with password
    57. 57. External Applications
    58. 58. External Applications ftp:
    59. 59. External Applications ftp: ssh:
    60. 60. External Applications ftp: ssh: multi- clipboard:
    61. 61. External Applications ftp: ssh: multi- clipboard: community:
    62. 62. Plugins:
    63. 63. Plugins: •enhances functionality
    64. 64. Plugins: •enhances functionality •open-source community driven (usually)
    65. 65. Plugins: •enhances functionality •open-source community driven (usually) •consolidates multiple applications
    66. 66. Plugins: •enhances functionality •open-source community driven (usually) •consolidates multiple applications •strengthens workflow
    67. 67. Plugins: •enhances functionality •open-source community driven (usually) •consolidates multiple applications •strengthens workflow
    68. 68. Plugins: •enhances functionality •open-source community driven (usually) •consolidates multiple applications •strengthens workflow Demo
    69. 69. Extensions
    70. 70. Bundles
    71. 71. Macros & Code Snippets:
    72. 72. Macros & Code Snippets: •code faster
    73. 73. Macros & Code Snippets: •code faster •reference less
    74. 74. Macros & Code Snippets: •code faster •reference less •library of reusable code
    75. 75. Macros & Code Snippets: •code faster •reference less •library of reusable code •Avoid typos
    76. 76. Macros & Code Snippets: •code faster •reference less •library of reusable code •Avoid typos Demo
    77. 77. Debuggers
    78. 78. Debuggers
    79. 79. Debuggers
    80. 80. Debuggers •offline html validator
    81. 81. Debuggers •offline html validator •offline css validator
    82. 82. Debuggers •offline html validator •offline css validator •syntax highlighting
    83. 83. Debuggers •offline html validator •offline css validator •syntax highlighting •live html code rendering
    84. 84. Debuggers •offline html validator •offline css validator •syntax highlighting •live html code rendering •javascript console
    85. 85. Debuggers •offline html validator •offline css validator •syntax highlighting •live html code rendering •javascript console •javascript error reports
    86. 86. Additional Resources
    87. 87. Efficient Editing with Vim http://jmcpherson.org/editing.html
    88. 88. Efficient Editing with Vim http://jmcpherson.org/editing.html AutoClose: matching bracket http://www.vim.org/scripts/script.php? script_id=1849
    89. 89. Hacking Vim http://www.packtpub.com/Vim/book
    90. 90. Regular Expression Cheat Sheet http://www.addedbytes.com/ cheat-sheets/regular-expressions- cheat-sheet/
    91. 91. Typography of Code http://blog.hamstu.com/ 2008/02/03/the-typography-of- code/
    92. 92. TextMate Screencasts http://macromates.com/ screencasts
    93. 93. UltraEdit Product Tour http://www.ultraedit.com/products/ ultraedit/ultraedit_tour.html
    94. 94. E-TextEditor http://www.e-texteditor.com/
    95. 95. Life Hacker - Best Text Editors http://lifehacker.com/385929/best- text-editors#viewcomments
    96. 96. Discovering your own workspace
    97. 97. Thanks.

    ×