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 characters
function! s:switch_cmdline(trigger) | |
if empty(getcmdline()) && getcmdtype() == a:trigger | |
call feedkeys("\<ESC>q".a:trigger, 'n') | |
else | |
return a:trigger | |
endif | |
endfunction | |
cmap <expr> ; <SID>switch_cmdline(';') | |
cmap <expr> / <SID>switch_cmdline('/') |
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 characters
Visual Studio のHTMLヘルプを表示する度にセキュリティ警告が表示される不具合の解決方法 | |
差出人: "Microsoft e-Support Japan" | |
件名 : SRX1159808338ID - Microsoft Office 2007 のお問い合わせについての回答 (マイクロソフトサポート) | |
日時 : 2011年8月15日 18:56 | |
このたびはマイクロソフト 電子メール サポートをご利用いただき誠にありがとうございます。 | |
Office 担当 千葉 と申します。よろしくお願いいたします。 |
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 characters
mkdir -p simplified | |
for d in bundle/* ; do | |
for p in $d/* ; do | |
if [ -d $p ]; then | |
cp -ulr $p simplified | |
fi | |
done | |
done |
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 characters
Opera Preferences version 2.1 | |
; Do not edit this file while Opera is running | |
; This file is stored in UTF-8 encoding | |
[Version] | |
File Version=1 | |
[Info] | |
Description=Opera Standard Keyboard setup | |
Author=Opera Software ASA |
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 characters
" taskodne.com API sample | |
let s:user_id = 1 | |
let s:api_key = 'See http://taskodone.com/user/account' | |
let s:number = type(0) | |
let s:string = type('') | |
function! s:validate_params(params, types) | |
if len(a:params) != len(a:types) |
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 characters
diff --git a/autoload/googlesuggest.vim b/autoload/googlesuggest.vim | |
index eb3ae37..3f652ab 100644 | |
--- a/autoload/googlesuggest.vim | |
+++ b/autoload/googlesuggest.vim | |
@@ -68,12 +68,11 @@ function! googlesuggest#Complete(findstart, base) | |
else | |
" find months matching with "a:base" | |
let ret = [] | |
- let res = webapi#http#get('http://suggestqueries.google.com/complete/search', {"client" : "youtube", "q" : a:base, "hjson" : "t", "hl" : g:googlesuggest_language, "ie" : "UTF8", "oe" : "UTF8" }) | |
+ let res = webapi#http#get('http://suggestqueries.google.com/complete/search', {"client" : "youtube", "q" : &filetype . ' ' . a:base, "hjson" : "t", "hl" : g:googlesuggest_language, "ie" : "UTF8", "oe" : "UTF8" }) |
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 characters
let g:acp_behaviorUserDefinedFunction = 'googlesuggest#Complete' | |
let g:acp_behaviorUserDefinedMeets = 'acp#meetsForKeyword' |
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 characters
fu! PyGlob(path) | |
let path = escape(a:path, '\') | |
python << EOF | |
import vim | |
import re, os, os.path, fnmatch | |
custom_ignore = vim.eval('g:ctrlp_custom_ignore') | |
if custom_ignore['dir'][:2] == '\\v': | |
custom_ignore['dir'] = custom_ignore['dir'][2 :] | |
if custom_ignore['file'][:2] == '\\v': |
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 characters
#!/usr/bin/env python | |
# | |
# Copyright (C) 2013 Stanislav Golovanov <[email protected]> | |
# Strahinja Val Markovic <[email protected]> | |
# | |
# This file is part of YouCompleteMe. | |
# | |
# YouCompleteMe is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |