vim.mappings
/{buffer}.mappings
:- Mapping-like object mapping mode constants to vim.modemappings objects
below. Unlike vim.buffers iteration is being done for keys. Mode constants
are described below in
vim.current.mode
object description, but for convenience additional constants are defined:
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
" == Naming convention. == {{{1 | |
" Command name | |
" - CamelCase | |
" Global function name | |
" - CamelCase | |
" Local function name | |
" - s:split_by_underbar | |
" Group name for autocmd | |
" - split-by-dash | |
" In vimrc, start with "vimrc" |
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
" == Naming convention. == {{{1 | |
" Command name | |
" - CamelCase | |
" Global function name | |
" - CamelCase | |
" Local function name | |
" - s:split_by_underbar | |
" Group name for autocmd | |
" - split-by-dash | |
" In vimrc, start with "vimrc" |
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
namespace Sazare.Samples | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.IO.Compression; | |
using System.Linq; | |
using System.Text; | |
using Sazare.Common; |
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
function worker() { | |
setInterval(function() { | |
postMessage({foo: "bar"}); | |
}, 1000); | |
} | |
var code = worker.toString(); | |
code = code.substring(code.indexOf("{")+1, code.lastIndexOf("}")); | |
var blob = new Blob([code], {type: "application/javascript"}); |
Vim Advent Calendar 2012 の230日目の記事です。昨日の記事は@manga_osyoさんで、明日の記事はvital.vimコミッタの@rbtnnさんです。
今回は意表をついてVim scriptの入門記事です。
Vim script初級者レベルを10段階に分割すると、そのうち簡単な方から3つは、以下のようになります。
ここでは、Lingr Bot APIについての情報を取り扱わず、Lingr APIについてのみ扱う。
- Lingr API · lingr/lingr Wiki https://github.com/lingr/lingr/wiki/Lingr-API
- APIメモ · tsukkee/lingr-vim Wiki https://github.com/tsukkee/lingr-vim/wiki/API%E3%83%A1%E3%83%A2
- lingr-vim/lingr.py at master · tsukkee/lingr-vim https://github.com/tsukkee/lingr-vim/blob/master/autoload/lingr.py
- pyLingr/pylingr.py at master · yoshiori/pyLingr https://github.com/yoshiori/pyLingr/blob/master/pylingr.py
- API - lingr - Lingr API documentation - Lingr API - Google Project Hosting https://code.google.com/p/lingr/wiki/API
- とても古く、現在の仕様と合致しない点が多い
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
" This is a port of CC500 | |
" http://homepage.ntlworld.com/edmund.grimley-evans/cc500/ | |
" | |
"------------------------------------------------------------------------------- | |
" ORIGINAL HEADER | |
"------------------------------------------------------------------------------- | |
" Copyright (C) 2006 Edmund GRIMLEY EVANS <[email protected]> | |
" | |
" This program is free software; you can redistribute it and/or modify | |
" it under the terms of the GNU General Public License as published by |
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
46 : Shougo/unite.vim | |
42 : Shougo/vimproc | |
40 : thinca/vim-quickrun | |
38 : tpope/vim-fugitive | |
33 : thinca/vim-ref | |
32 : mattn/webapi-vim | |
31 : tpope/vim-surround | |
29 : Shougo/neocomplcache | |
27 : tyru/open-browser.vim | |
26 : Shougo/vimshell |
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
a[ppend] | |
ab[breviate] | |
abc[lear] | |
abo[veleft] | |
al[l] | |
am[enu] | |
an[oremenu] | |
ar[gs] | |
arga[dd] | |
argd[elete] |
OlderNewer