This link has been bookmarked by 457 people and liked by 1 people. It was first bookmarked on 02 Mar 2006, by Sérgio Carvalho.
-
04 Jun 17
-
02 May 16
-
15 Jul 15
-
11 Mar 15
-
01 Jul 14
-
05 Apr 14
-
26 Jul 13
-
15 Dec 12
-
21 Nov 12
-
28 Aug 12
-
16 Jun 12
-
22 Jan 12
-
08 Dec 11
-
08 Nov 11
-
02 Nov 11
Sangpil BYUN/.*fred&.*joe/ will search for fred AND joe, in any order. http://t.co/RuLujPuATQ
-
25 Oct 11
-
21 Oct 11
-
20 Oct 11
-
/joe/e : cursor set to End of match
-
3/joe/e+1 : find 3rd joe cursor set to End of match plus 1 *C*
-
/joe/s-2 : cursor set to Start of match minus 2
-
/begin\_.*end : search over possible multiple lines /fred\_s*joe/ : any whitespace including newline *C*
-
/\(fred\).*\(joe\).*\2.*\1
-
:bufdo /searchstr/ : use :rewind to recommence search
-
/\%>20l\%<30lgoat : Search for goat between lines 20 and 30 *N*
-
:%s/fred/joe/igc : general substitute command
-
:%s//joe/igc : Substitute what you last searched for *N* :%s/~/sue/igc : Substitute your last replacement string *N*
-
" non-greedy matching \{-} :%s/^.\{-}pdf/new.pdf/
-
:g/gladiolli/# : display with line numbers (YOU WANT THIS!)
-
. last edit (magic dot)
-
:& last substitute
-
:%& last substitute every line
-
@@ last recording
-
@: last command-mode command
-
:!! last :! command
-
-
19 Oct 11
-
13 Oct 11
-
24 Sep 11
Adam Turetzky:Sex will open a file explorer in a split window. I bet you'll remember that one. http://is.gd/4xZW
-
10 Sep 11
-
23 Aug 11
-
11 Jul 11
-
05 Jul 11
-
02 Jul 11
-
25 Jun 11
-
21 Jun 11
-
01 May 11
-
27 Apr 11
-
21 Apr 11
-
:helptags /vim/vim64/doc : rebuild all *.txt help files in /doc
-
-
12 Apr 11
Bertrand GAURIAT/< fred >/ will search for fred, but not alfred or frederick. http://is.gd/4xZW (spaces inserted to avoid HTML filtering).
-
11 Apr 11
-
02 Apr 11
-
01 Apr 11
-
24 Mar 11
Imke Gideonseallerlei commando's
in zeer cryptische vorm
vanalles en nogwat, weet wat je zoekt ;-) -
16 Mar 11
-
10 Mar 11
-
05 Mar 11
-
04 Mar 11
-
03 Mar 11
-
27 Feb 11
Leandro N. Camargoga will display the ASCII, hex, and octal value of the character under the cursor. http://is.gd/4xZW
-
23 Feb 11
-
14 Feb 11
Thomas ██████.@konfluenzpunkt @MacLemon The real good stuff: http://mosx.tv/dTxera My Markdown friendly version ;) http://mosx.tv/fnDaQR #vim
-
08 Feb 11
-
01 Feb 11
-
23 Jan 11
-
11 Jan 11
-
31 Dec 10
-
28 Dec 10
-
22 Dec 10
-
20 Dec 10
-
19 Dec 10
-
18 Dec 10
-
14 Dec 10
-
06 Dec 10
-
03 Dec 10
-
" Re-Formatting text gq} : Format a paragraph gqap : Format a paragraph ggVGgq : Reformat entire file Vgq : current line
-
-
02 Dec 10
-
`. : jump to exact spot in last modification line
-
-
Stephan PauknerCtrl-a, Ctrl-x will increment and decrement, respectively, the number under the cursor. http://is.gd/4xZW
-
01 Dec 10
-
24 Nov 10
-
18 Nov 10
-
15 Nov 10
-
12 Nov 10
-
10 Nov 10
-
14 Oct 10
-
06 Oct 10
-
05 Oct 10
-
26 Sep 10
-
24 Sep 10
-
23 Sep 10
-
21 Sep 10
-
13 Sep 10
-
08 Sep 10
-
04 Sep 10
-
03 Sep 10
-
27 Aug 10
-
21 Aug 10
-
16 Aug 10
-
<C-R>- : pull small register (also insert mode) <C-R>[0-9a-z] : pull named registers (also insert mode) <C-R>% : pull file name (also #) (also insert mode) <C-R>=somevar : pull contents of a variable (eg :let sray="ray[0-9]")
-
* # g* g# : find word under cursor (<cword>) (forwards/backwards) % : match brackets {}[]() . : repeat last modification @: : repeat last : command (then @@) matchit.vim : % now matches tags <tr><td><script> <?php etc <C-N><C-P> : word completion in insert mode <C-X><C-L> : Line complete SUPER USEFUL /<C-R><C-W> : Pull <cword> onto search/command line /<C-R><C-A> : Pull <CWORD> onto search/command line
-
gf : open file name under cursor (SUPER)
-
ga : display hex,ascii value of char under cursor
-
:bn : goto next buffer :bp : goto previous buffer :wn : save file and move to next (super) :wp : save file and move to previous :bd : remove file from buffer list (super)
-
<C-R><C-W> : pull word under the cursor into a command line or search <C-R><C-A> : pull WORD under the cursor into a command line or search
-
<C-R>- : pull small register (also insert mode) <C-R>[0-9a-z] : pull named registers (also insert mode) <C-R>% : pull file name (also #) (also insert mode) <C-R>=somevar : pull contents of a variable (eg :let sray="ray[0-9]")
-
-
06 Jun 10
-
02 Jun 10
-
11 May 10
-
07 May 10
-
04 May 10
-
12 Mar 10
-
20 Feb 10
-
19 Feb 10
-
14 Feb 10
-
09 Feb 10
Page Comments
1 search expressions
2 substitute expressions
3 global search expressions
4 and more
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.