Last active
July 19, 2017 01:02
-
-
Save roblogic/e7e6d1bf15176e2714af925166f31885 to your computer and use it in GitHub Desktop.
Revisions
-
roblogic revised this gist
Jun 7, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #### installer Self installing executable https://ftp.nluug.nl/pub/vim/pc/gvim80-586.exe Or, use one of the mirrors on the vim.org site. http://www.vim.org/mirrors.php -
roblogic revised this gist
Jun 6, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -28,7 +28,7 @@ save to d: drive then run it with command `:source d:\exb.vim` %s/----/-/g 'cut down the number of dashes %s/^\s\+// 'remove leading whitespace %s/ \s\+/ /g 'replace internal whitespace with 1 space char %s/\s\+$// 'remove trailing white space #### Delete a sequence of N spaces -
roblogic renamed this gist
May 8, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
roblogic revised this gist
May 8, 2017 . 1 changed file with 9 additions and 9 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,24 +1,24 @@ #### installer Self installing executable https://ftp.nluug.nl/pub/vim/pc/gvim80-069.exe Or, use one of the mirrors on the vim.org site. http://www.vim.org/mirrors.php Avoid the "cream" version on sourceforge as it uses a different installer that doesn't play so well with Windows. #### vimrc Some nice settings for gVim on Windows. Copy to "C:\Program Files\Vim\vimrc" https://gist.github.com/papesch/283bdb4adb90c9592520ba72615dd000 #### wombat color scheme Copy the file wombat.vim to "C:\Program Files\Vim\vim80\colors\" https://github.com/vim-scripts/Wombat/blob/master/colors/wombat.vim #### Tidy up excess whitespace and dashes vimscript -- handy for copying carina screenshots to ET @@ -31,25 +31,25 @@ save to d: drive then run it with command `:source d:\exb.vim` %s/\s\+$/ 'remove trailing white space #### Delete a sequence of N spaces Example, N=70 (tidies output from sql*plus) :%s/ \{70}//g #### Remove all the namespace guff from XML RQ or RS :%s/ xmlns:.\{-}>/>/g #### Replace annoying hex characters `<91> <92>` with straight single quote :%s/[\x91\x92]/'/g #### Replace curly double quotes :%s/[“”]/"/g #### Greedy vs Non Greedy Match Greedy Match: get _everything_ between `<FTI>` and `</FTI>` tags in a CAML Event Message -
roblogic created this gist
May 8, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,62 @@ ### installer Self installing executable https://ftp.nluug.nl/pub/vim/pc/gvim80-069.exe Or, use one of the mirrors on the vim.org site. http://www.vim.org/mirrors.php Avoid the "cream" version on sourceforge as it uses a different installer that doesn't play so well with Windows. ### vimrc Some nice settings for gVim on Windows. Copy to "C:\Program Files\Vim\vimrc" https://gist.github.com/papesch/283bdb4adb90c9592520ba72615dd000 ### wombat color scheme Copy the file wombat.vim to "C:\Program Files\Vim\vim80\colors\" https://github.com/vim-scripts/Wombat/blob/master/colors/wombat.vim ### Tidy up excess whitespace and dashes vimscript -- handy for copying carina screenshots to ET save to d: drive then run it with command `:source d:\exb.vim` exb.vim %s/----/-/g 'cut down the number of dashes %s/^\s\+// 'remove leading whitespace %s/ \s\+/ /g 'replace internal whitespace with 1 space char %s/\s\+$/ 'remove trailing white space ### Delete a sequence of N spaces Example, N=70 (tidies output from sql*plus) :%s/ \{70}//g ### Remove all the namespace guff from XML RQ or RS :%s/ xmlns:.\{-}>/>/g ### Replace annoying hex characters `<91> <92>` :%s/[\x91\x92]/'/g ### Replace curly double quotes :%s/[“”]/"/g ### Greedy vs Non Greedy Match Greedy Match: get _everything_ between `<FTI>` and `</FTI>` tags in a CAML Event Message /<FTI.*\/FTI> Non Greedy Match: find the first match for `<FTI>` and `</FTI>` tags then stop matching & restart the search /<FTI.\{-}\/FTI>