-
名前(任意)
- Shougo
-
Twitter or Facebookのアカウント or HN等
-
@ShougoMatsu
This file contains 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
" ---------------------------------------------------------------------------- | |
" vimawesome.com | |
" ---------------------------------------------------------------------------- | |
function! VimAwesomeComplete() abort | |
let prefix = matchstr(strpart(getline('.'), 0, col('.') - 1), '[.a-zA-Z0-9_/-]*$') | |
echohl WarningMsg | |
echo 'Downloading plugin list from VimAwesome' | |
echohl None | |
ruby << EOF | |
require 'json' |
This file contains 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
# Snake for Neovim! Adapted from https://gist.github.com/sanchitgangwar/2158084 | |
# To install, create a ~/.vim/rplugin/python/snake.py file with this | |
# code, then run `nvim -c 'UpdateRemotePlugins' -c 'q'` from a shell. | |
# | |
# Make sure you have read the internal help explaining how to setup python | |
# host for external plugins(:help nvim-python) | |
# | |
# To start a new game, use the `:SnakeStart` command on an empty buffer(uses 80 | |
# columns and 20 rows) | |
from threading import Thread, Lock |
This file contains 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 -r 7af530381fec src/eval.c | |
--- a/src/eval.c Sun Aug 17 17:24:07 2014 +0200 | |
+++ b/src/eval.c Tue Aug 19 03:23:32 2014 +0900 | |
@@ -365,6 +365,7 @@ | |
{VV_NAME("oldfiles", VAR_LIST), 0}, | |
{VV_NAME("windowid", VAR_NUMBER), VV_RO}, | |
{VV_NAME("progpath", VAR_STRING), VV_RO}, | |
+ {VV_NAME("command", VAR_STRING), VV_RO}, | |
}; | |
This file contains 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
if !exists('g:auplugin_disable') | |
let g:auplugin_disable = 0 | |
endif | |
command! -nargs=1 -complete=customlist,auplugin#_complete AuLoad call s:load_plugin(<q-args>) | |
function! auplugin#_complete(arglead, cmdline, cursorpos)"{{{ | |
let list = split(globpath(&runtimepath, 'auplugin/*'), '\n') | |
let list += split(globpath(&runtimepath, 'bundle/*'), '\n') | |
let rtp = map(split(&runtimepath, ','), 'expand(v:val)') |
This file contains 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
"============================================================================= | |
" FILE: everything.vim | |
" Last Modified: 28 Oct 2010 | |
" Description: everything のコマンドラインインタフェース(es.exe)を利用し、 | |
" NTFSボリュームの全てのファイルを瞬時にUniteから使うためのsource | |
" Requirement: everything.exe | |
" : es.exe in $PATH | |
"============================================================================= | |
function! unite#sources#everything#define()"{{{ |
This file contains 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
" Capture {{{ | |
command! | |
\ -nargs=+ -bang | |
\ -complete=command | |
\ Capture | |
\ call s:cmd_capture([<f-args>], <bang>0) | |
function! C(cmd) | |
redir => result | |
silent execute a:cmd |
This file contains 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
" You can use ambiguous command. | |
" Version: 0.2.0 | |
" Author : thinca <[email protected]> | |
" Shougo <Shougo.Matsu (at) gmail.com> | |
" License: Creative Commons Attribution 2.1 Japan License | |
" <http://creativecommons.org/licenses/by/2.1/jp/deed.en> | |
" Install: copy to autoload/ambicmd.vim | |
let s:save_cpo = &cpo | |
set cpo&vim |
This file contains 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
" Vim syntax file | |
" Include original syntax. | |
so $VIMRUNTIME/syntax/vim.vim | |
syntax match vimWrongFunctionCall /^\s*\zs\%(s:\)\?[[:alnum:]#]\+\s*(/ | |
highlight link vimWrongFunctionCall Error |
This file contains 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
──アタシの名前はショウゴ。心に傷を負ったビム使い。モテカワスリムで補完体質の愛されガール♪ | |
アタシがつるんでる友達は補完をやってるネコ、ビムにナイショで | |
非同期しているビムプロック。訳あって一から実装されたビムシェル。 | |
友達がいてもやっぱり学校はタイクツ。今日もネコとちょっとしたことで口喧嘩になった。 | |
ビム使い同士だとこんなこともあるからストレスが溜まるよね☆そんな時アタシは一人でギットハブを歩くことにしている。 | |
がんばった自分へのご褒美ってやつ?自分らしさの演出とも言うかな! | |
「あームカツク」・・。そんなことをつぶやきながらしつこいプラギンを軽くあしらう。 | |
「カノジョー、ちょっとsystem()させてくれない?」どいつもこいつも同じようなDOS窓付きのコードしかない。 | |
エマックスはカッコイイけどなんか薄っぺらくてキライだ。もっと等身大のアタシを見て欲しい。 | |
「すいません・・。」・・・またか、とセレブなアタシは思った。シカトするつもりだったけど、 |
NewerOlder