@janahrens This is the same: =5j</code>
=5j</code>
There was vimcast about it: http://vimcasts.org/episodes/show-invisibles/
For git in vim: https://github.com/tpope/vim-fugitive
git
vim
Similar: http://ideone.com/
@design48
:set modifiable
The number doesn't have to be under the cursor. C^a, C^x work also on the first number on the right.
It's calles text objects:
ci{ ci[ ci" ci' ci` cit - tag cip - paragraph ciw - word cis - sentence di( - stays in normal mode (di[, di{, di" etc) ca( - deletes also () </code></pre>
This will open at the end of the file:
vim + file.js</pre></code>
I prefer to use ZZ (2 keystrokes) instead of :wq enter (4 keystrokes)
@s1na Yes, this is different. :retab converts tabs to spaces, or spaces to tabs gg=G fixes indentation level
This is even shorter (you don't need to go to visual mode)
gg=G</code></pre>
Not only under the cursor, it works on first occurence of the number in the current line from the cursor.
Add ".", ":", "|", "/", "\", "*" to text objects: http://codepad.org/TNVK7vO4
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
@janahrens This is the same:
=5j</code>
There was vimcast about it:
http://vimcasts.org/episodes/show-invisibles/
For
git
invim
: https://github.com/tpope/vim-fugitiveSimilar: http://ideone.com/
@design48
The number doesn't have to be under the cursor. C^a, C^x work also on the first number on the right.
It's calles text objects:
This will open at the end of the file:
I prefer to use ZZ (2 keystrokes) instead of :wq enter (4 keystrokes)
@s1na
Yes, this is different.
:retab converts tabs to spaces, or spaces to tabs
gg=G fixes indentation level
This is even shorter (you don't need to go to visual mode)
Not only under the cursor, it works on first occurence of the number in the current line from the cursor.
Add ".", ":", "|", "/", "\", "*" to text objects: http://codepad.org/TNVK7vO4