Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
この記事は、im_control.vimプラグインのGVimで日本語入力固定モードを使用して、日本語入力を快適に行うための方法が書かれています。 2012年10月26日追記 Linuxの記事がやや古いです。Linuxについては下記の記事をご確認ください。 この記事を読んで、できるようになること 挿入モードからノーマルモードに移行した時に、自動的に日本語入力をOffにする。Ctrl-j キーで日本語入力固定モードに移行する。 日本語入力固定モードの間は、ノーマルモードから挿入モードに移行したときに日本語入力が自動的にOnになる。Ctrl-j キーで日本語入力固定モードを解除する。 通常モードの間は、ノーマルモードから挿入モードに移行したときに日本語入力がOffのままとなる。Windows,Mac,Linuxで同じ操作・挙動を実現する。 GVimで動作確認しています。一部のターミナル版Vimで
ばよえ〜ん(訳:Vim Advent Calendar 2012への16回目の投稿です) この記事はVim Advent Calendar 2012の150日目の埋め合わせ記事になります。 149日目は@manga_osyoさんでneobundle.vim で github の C++ ライブラリを管理するでした。 履歴 FAQ Q3のコードを修正。(guioptionsを手動でいじる場合、FocusGainedイベント時に常にguioptionsがリセットされてしまう) id:thincaさんにコメント欄にてsingleton.vimをそっと差し出されたので追記。 序文 Vimはテキストエディタです。 ですから基本的には自己主張せず、他のエディタのようにテキストを表示したり編集したり出来てほしいですよね。 例えば、GUIのエクスプローラにあるファイルを開く時、いちいちVimから:edit
Unite.vim What is this? If you’ve never heard of this Vim plugin, then this post is for you. This is one of those hidden gems in the Vim plugin world that is truly life changing. I think this plugin is so awesome that I’ve decided to write a post dedicated to it so that more people know about it. The plugin is written by Shougo Matsushita. He has written a lot of other popular plugins, notably neo
[A+B]は同時に押下。 [A・B]はAに続いてBを押下。 この例は、CTRLとwを同時に押下、CTRL-wを離してjを押下。 (但しCTRL+w・jは「j」をCTRLを押したままでもOKなようだ)
Summary Statistics Overview Files Scraped
pythonの補完は、vimが標準で配布している物で事足りるかなーとか思ってたけど浅墓すぎた。 今日見つけた jedi-vim は良い。 davidhalter/jedi-vim - GitHub Using the jedi autocompletion library for VIM. https://github.com/davidhalter/jedi-vim 何が良いって精度が良い。そして標準配布の pythoncomplete がモジュールとそのモジュール内関数しか補完出来ないのに比べ、jedi は評価値を補完出来る。 そしてスゴイのが構文を仮実行しているのではなく、パースしている点。jedi というモジュールを使って、構文解析している。 davidhalter/jedi - GitHub Awesome autocompletion library for python. I
This is a simple plugin that helps to end certain structures automatically. In Ruby, this means adding end after if, do, def and several other keywords. In Vimscript, this amounts to appropriately adding endfunction, endif, etc. There's also Bourne shell, Z shell, VB (don't ask), C/C++ preprocessor, Lua, Elixir, Haskell, Objective-C, Matlab, Crystal, Make, Verilog and Jinja templates support. A pr
vim-smartinput も vim-endwise もどちらもすごく良いプラグインなのですが、2 つ一緒に使ってると smartinput の C 系の中括弧入力がうまくはたらかなくなってしまいました。 ↓正常時 if (hoge) { # } ↓vim-endwise と競合時 if (hoge) { #} 原因 vim-smartinput も vim-endwise もどちらもインサートモードの <CR> をマッピングしているのでそれが競合したようです。 対処法 vim-endwise が対応する filetype のみでバッファローカルなマップを定義します。 let g:endwise_no_mappings = 1 autocmd CohamaAutoCmd FileType lua,ruby,sh,zsh,vb,vbnet,aspvbs,vim imap <buffer>
V(1) User Commands V(1) NAME v - z for vim SYNOPSIS v [-a] [-c] [-l] [-[0-9]] [--debug] [--help] [regex1 regex2 ... regexn] AVAILABILITY bash, vim INSTALLATION Put v somewhere in $PATH (e.g. /usr/local/bin/). For the manual page, put v.1 somewhere in $MANPATH (e.g. /usr/local/man/man1/). DESCRIPTION v uses viminfo's list of recently edited files to open one quickly no matter where you are in the f
This is an extended and updated version of the original Freya color scheme by Georg Dahn. The original can be found here: http://www.vim.org/scripts/script.php?script_id=1651 This color scheme fully supports HTML, CSS, TagList, CtrlP and NERDTree This color scheme is for GUI only but will work with 256 color terminals with the CSApprox plugin. Screenshot: http://i.imgur.com/ncwZ9.png Just put it i
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く