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

Level-Up Your Code-Fu With Chuck Norris (and Re...

Jaime
September 25, 2014

Level-Up Your Code-Fu With Chuck Norris (and ReSharper, VsVim and NCrunch)

Our minds possess an unlimited potential and are, without a doubt, the best tool we have in our software development arsenal. However, the interface between our minds and the computer - hands, keyboard, editors... - is imperfect and inefficient, and prevents us from expressing our thoughts in code freely.

But worry not! Chuck Norris is here to kick some ass and help you improve how well and how fast you express yourself in code. Master tools like ReSharper, VsVim and NCrunch and breach the gap between mind and matter.

Jaime

September 25, 2014
Tweet

More Decks by Jaime

Other Decks in Programming

Transcript

  1. Enthusiastic Software developer! Works at Medius R&D building a SPA...

    ... but also started jaimegonzalezgarcia.com Blogs at barbarianmeetscoding.com likes... fantasy sci-fi drawing Malin ??? @vintharas
  2. CREATE If Chuck Norris hits himself, he'll create an infinite

    loop by countering each blow, a paradox no one can solve. Except Chuck Norris. - Chuck Norris Fact
  3. CTRL+T to find stuff CTRL+- to go back CTRL++ to

    go forward - Alexander Tuttle
  4. Go To Word ReSharper Plugin (CTRL+T x 3 free text

    search) Mnemonics Plugin (1000 live templates) - Roland Wallin
  5. TEXT-EDITING LIKE A JEDI Chuck Norris was in all 6

    star wars films as THE FORCE - Chuck Norris Fact
  6. Edit text at the speed of light Precise like a

    surgeon 100% keyboard driven It’s on every platform Highly configurable Very extensible via plugins Great documentation It’s free Worthwhile long-term investment (since 1991/1976)
  7. Maximize what you can do with as few keystrokes as

    possible It’s all about editing text efficiently VIM Modes By using different modes you avoid the need to use weird combinations
  8. “You spend more time editing and manipulating text than writing

    it in the first place” That’s why the initial mode is the NORMAL mode
  9. The most important things are at the tip of your

    fingers You can move around right from the home row
  10. i -> insert mode, ESC back to normal mode dd

    -> delete current line (and copy) y -> copy character (yank) p -> paste yy -> copy current line hjkl -> mode around (←↓↑→) u -> undo last change (undo) cw -> change word
  11. a -> insert after character (append) w -> go to

    the beginning of next word (word) b -> go to the beginning of last work (back) e -> go to the end of next word (end) dt) -> delete until the parenthesis di” -> delete inside quotes da” -> delete inside quotes and quotes d2/hello -> delete until second occurrence of hello
  12. Vim is design to tackle repetition Use the . command

    to repeat the last change You can use <counter>.
  13. I -> insert at the beginning of the line A

    -> append at the end of the line D -> delete until the end of the line C -> change until the end of the line O -> new line before the current line G -> go to the end of the file J -> append previous line
  14. CTRL+DELETE delete from cursor to the end of the word

    CTR:+BACKSPACE delete from cursor to the beginning of the word - Roland Wallin
  15. PROGRAMMING YOUR IDE Mortal Kombat is not difficult enough for

    Chuck Norris, so he got Immortal Kombat. - Chuck Norris Fact
  16. Use EditBox in Visual Studio ALT+hold mouse to create a

    box and edit a bunch of stuff - Jimmy Esbjörsson
  17. INTERLUDE ReSharper + VsVim ReSharper + VsVim + Meta Create

    Explore Improve Macro Changes Precision Micro changes Extend Adapt Customize
  18. SPECIALIST FLOWs Chuck Norris special orders his pencils without erasers

    because Chuck Norris doesn't make mistakes. - Chuck Norris Fact