See related links to what you are looking for.
See related links to what you are looking for.
01. vimã¹ã¯ãªããã§Hello World â ä½è : å°è¦ æ â æçµå¤æ´ 2012å¹´01æ09æ¥ 03æ35å 02. vimã¹ã¯ãªããã®åºæ¬ â ä½è : å°è¦ æ â æçµå¤æ´ 2012å¹´01æ09æ¥ 04æ08å 03. å¤æ° â ä½è : å°è¦ æ â æçµå¤æ´ 2012å¹´01æ09æ¥ 04æ08å 04. å¤æ°ã®æä½ â ä½è : å°è¦ æ â æçµå¤æ´ 2012å¹´01æ09æ¥ 04æ08å 05. å¤ã®æ¯è¼ â ä½è : å°è¦ æ â æçµå¤æ´ 2012å¹´01æ09æ¥ 04æ08å 06. å¶å¾¡æ§é â ä½è : å°è¦ æ â æçµå¤æ´ 2012å¹´01æ09æ¥ 04æ08å 07. ã¨ã©ã¼å¦ç â ä½è : å°è¦ æ â æçµå¤æ´ 2012å¹´01æ09æ¥ 04æ08å 08. å¦çã®å¼åº â ä½è : å°è¦ æ â æçµå¤æ´ 2012å¹´01æ09æ¥ 04æ08å 09. æååæ
ããã§é¢æ°ãªãã¡ã¬ã³ã¹ã®ã¿æ ¼ç´å ã®å¤æ°ã®å é ã大æåã«ãªã£ã¦ãã¾ãããããã¯Vim scriptç¹æã®å¶éã«ãªãã¾ãã æ°å¤ã¯ä¸è¬çãªè¨èªã¨åãæ§ã«ååæ¼ç®ã§ãã¾ããæååã«ã¤ãã¦ã¯.ãç¨ãã¦é£çµãã¾ãã ã¾ãæååã¯æ·»ãåã«ããã¢ã¯ã»ã¹ãå¯è½ã§ãpythonã®æ§ã« echo "hello"[1:3] ã¨ããè¨è¿°ãåºæ¥ã¾ãããã®ä»æååæä½é¢æ°ã«ã¤ãã¦ã¯:help evalã«è©³ããè¨è¿°ããã¦ãã¾ãã ã¾ãåå士ã®æ¯è¼ã«ã¤ãã¦ã¯thincaããã®è¨äºãå½¹ç«ã¡ã¾ãã Vimã¹ã¯ãªããåºç¤ææ³æéãã¹ã¿ã¼ - æ°¸é ã«æªå®æ Vimã¹ã¯ãªããåºç¤ææ³æéãã¹ã¿ã¼ vim æµè¡ã£ã¦ãã¿ãããªã®ã§é ãã°ããªãã便ä¹ãéè¦?ä½ããããããã®? Perlåºç¤ææ³æéãã¹ã¿ã¼ - ãµã³ãã«ã³ã¼ãã«ããPerlå ¥é Route 477... http://d.hatena.ne.jp/thinca/20100
æµè¡ã£ã¦ãã¿ãããªã®ã§é ãã°ããªãã便ä¹ãéè¦?ä½ããããããã®? Perlåºç¤ææ³æéãã¹ã¿ã¼ - ãµã³ãã«ã³ã¼ãã«ããPerlå ¥é - Perlããã°ã©ãã³ã°ã®åºç¤ããå¿ç¨ã¾ã§ Route 477(2010-01-25) PHPåºç¤ææ³æéãã¹ã¿ã¼ - Shin x blog Pythonåºç¤ææ³æéãã¹ã¿ã¼ - LazyLife@Diary VBAåºç¤ææ³æéãã¹ã¿ã¼ - ãããã解ææ¥è¨ Javaåºç¤ææ³æéãã¹ã¿ã¼ - ãããã解ææ¥è¨ Bashåºç¤ææ³æéãã¹ã¿ã¼ - ãããã解ææ¥è¨ Haskellåºç¤ææ³æéãã¹ã¿ã¼ - think and error Brainf*ckåºç¤ææ³æéãã¹ã¿ã¼ - ãã®ããã°ã¯è¨¼æã§ããªãã VBScript åºç¤ææ³æéãã¹ã¿ã¼ - CX's VBScript Diary - VBScript ã°ã«ã¼ã JavaScriptåºç¤ææ³æéãã¹
åå¿çãªVimãã©ã°ã¤ã³å ¥éã æè¿ãã£ã¨Vim scriptãæ¸ãå§ãã¦ããã©ã°ã¤ã³ã®å½¢ã§ãã£ã¦Githubã«ã¦å ¬éã¨ããã¨ããã¾ã§è¾¿ãçãã¾ããã ããããã¨è¶³ããªãé¨åã¯å¤ããã§ãããããã§ãåã®ãã©ã°ã¤ã³ã§ããåã®ãªã¼ãã³ã½ã¼ã¹ã§ãã ã§ããããããåãã¦ãã®é ã®æè¦ãæé ã£ã¦ãå¾ã ã«ãªãã¨è¦ãã¦ããªãã£ããããã®ã§ã¾ã¨ãã¦ããã¾ãã ãã©ã°ã¤ã³ã®ãã«ãã¯ã¾ã æ¸ãã¦ãªãããããåºæ¥ä¸ãã£ã¦ãã¯ããªããã§ããã©ãã äºåæºå æ¥æ¬èªçã®ãã«ããæã«å ¥ãã¾ãããã ãã«ãã¯å¿ é ã§ããããããªããã°å§ã¾ãã¾ããã è±èªãèªãã人ã¯è±èªã§ãããã¨æãã¾ãããã¼ãã¯ããããèªããªãã®ã§æ¥æ¬èªçãå ¥ãã¦ãã¾ãã ã©ããã§ãæ¥æ¬èªãã«ãã許ãããã®ã¯åå¿è ã¾ã§ãã¨ããã®ãè¦ãæ°ããã¾ãããã¼ãã¯ã¾ã åå¿è ãªã®ã§åé¡ããã¾ããã ã¤ã³ã¹ãã¼ã«ã«ããã£ã¦ã¯ãä»ã ã¨ãããææ°æ å ±ãªã®ããªï¼ HowTo
æåã³ã¼ããæå®ãã¦ãã¡ã¤ã«ãéãç´ãã :e ++enc=sjis æåã³ã¼ããæå®ãã¦ãã¡ã¤ã«ãéãã $ vim "+e ++enc=sjis ãã¡ã¤ã«å" $ vim "+e ++enc=euc-jp ãã¡ã¤ã«å" $ vim "+e ++enc=utf-8 ãã¡ã¤ã«å" $ vim "+e ++enc=cp932 ãã¡ã¤ã«å" $ vim "+e ++enc=iso-2022-jp ãã¡ã¤ã«å" æåã³ã¼ããå¤æ´ããã :set fileencoding=æåã³ã¼ã :set fenc=æåã³ã¼ãï¼çç¸®ç³»ï¼ :set fenc=euc-jp :set fenc=shift_jis :set fenc=utf-8 æ¹è¡ã³ã¼ãï¼ãã¡ã¤ã«ãã©ã¼ãããã®ç¨®é¡ï¼ãå¤æ´ããã :set fileformat=ãã¡ã¤ã«ãã©ã¼ãããã®ç¨®é¡ :set ff=ãã¡ã¤ã«ãã©ã¼ãããã®ç¨®é¡ï¼çç¸®ç³»ï¼ :
vimã§ã¡ã¼ã«ãè¦ãããã®ãã©ã°ã¤ã³ã¨ãã¦ã¯ããVMailãã¨ãããã®ãããã¾ãã ç§ã使ã£ã¦ã¿ããã£ãã®ã§ãããç¾æç¹ã§ã¯Windowsã§ã¯åããªãããã§ãï¼ç¾å¨å¯¾å¿ä¸ï¼ï¼ ããã¨ãã®VMailã¯Rubyãããªã«ããããããä¾åãã¦ããã©ã¤ãã©ãªãããããã§ãã ã§ãæè¿åºä¼ã£ãvimprocã¨opensslã使ãã°vimã®gmailã¯ã©ã¤ã¢ã³ããä½ããã®ã§ã¯ã¨æãã ä½ã£ã¦ã¿ã¾ããã ãããªãã«åãã¦ãã¾ãã "Done is better than perfect."ã¨ããè¨èãããã¾ãã®ã§ã å®ç§ã§ã¯ãªãã¨æãã¾ãããã¨ããããå ¬éãã¦ã¿ã¾ãã https://github.com/yuratomo/gmail.vim åä½ã¤ã¡ã¼ã¸ã¯æ¬¡ã®ãããªæãã§ãã æä½ã¯ããã£ã¦ã·ã³ãã«ã§ãã ã»æºå gmailã§imapã使ããããã«è¨å®ãã¦ããã¦ãã ããã ã»è¨å® "ã¦ã¼ã¶ã¼å let
ä»ã¾ã§ããã使ãããªãã¦ãªãã£ããªãã¦ãä»ã¾ã§ã®äººçããªãã£ããã¨ã«ãããã¦ã¤ããã»ã»ã» vimã§neocomplecacheã使ç¨ãã¦ãã¦ãã¹ããããã®åè£ãæ¥ãæã«Ctrl-kã¨æã¤ã¨ã¹ãããããå±éããããã¨ã¯ç¥ã£ã¦ãã¾ãããããã¾ãã¡æèãã¦ä½¿ãã¦ããªãç¶æ ãç¶ãã¦ãã¾ããã ã¨ããããã¹ãããã使ã£ã¦ã¿ã è¿½è¨ ä¸å¿ä¸ã®ããã«ãã©ã°ã¤ã³ãå ¥ã£ã¦ããåæã§ãã NeoBundle 'Shougo/neocomplcache' NeoBundle 'Shougo/neosnippet' 追è¨çµãã 追è¨ã2013/01/19 ç¾æç¹ã§ã®ããããè¨å®ãæ¸ãã¦ããã®ã§ãã¡ããåç § ä»ãã¦ããneocomplcache + neosnippetã®è¨å®ã®èªåçãããã - åã®è»è¼ªã®åçºæ 追è¨çµãã ä¾ãã°ãPerlã¨Vimãã§è¨ãã¨ããã®è¨äºãããªãã®è¯è¨äºã«ãªã£ã¦ãã¦ãããã§ãã¹ããã
æè¿ããªãã»ã©ã¨æã£ãvimã®ä½¿ãæ¹ãç´¹ä»ããã vimã§æ¬¡ã®ã³ãã³ããå®è¡ããã¨ã :%s/./&/g ç·¨éä¸ã®ããã¹ãã®æåæ°ãã«ã¦ã³ãããäºãåºæ¥ãã ãã®ã³ãã³ãã«ãããã.ãã¯ãæ£è¦è¡¨ç¾ã§è¨ãã¨ããã®ãã(æ¹è¡æå以å¤ã®)ä»»æã®ä¸æåã«ããããã§ãããã&ãã¯ããããããæååããæå³ããã®ã§ãçµå±ä¸è¨ã®ã³ãã³ãã¯ããåæåãããã®æåèªèº«ã§ç½®æãããã¨ãããã¨ãªãããã®éç¨ã§ãä½ç®æã«ããããããã表示ãããã®ã§ãçµæãããã¹ãã®ä¸èº«ãå¤ããã«æåæ°ã®ã«ã¦ã³ããåºæ¥ããã¨ãã訳ã ã ã%ãã®ä»£ããã«ã :10,15s/./&/g ã®ããã«ããã°ãç¹å®ã®è¡éã§ã«ã¦ã³ããããã¨ãå¯è½ãç½®æã«ãããç¯å²æå®ã®ããæ¹ãè¦ãã¦ããã°ããã®ã¾ã¾å¿ç¨ã§ããã ãã¡ããæ¥æ¬èªã¨ã¢ã«ãã¡ããããæ··å¨ãã¦ããããã¹ãã§ãã¡ããã¨åä½ããã
« git ã§ãã¤ããªãæ°è»½ã«æ±ãããgit-largefile ã® dropbox çãä½ã£ãã | Main | gcc ã¯å¯ä½ç¨ã®ããé¢æ°å¼ã³åºããå«ãå¼è©ä¾¡é åºãæé©åããã » vimã«èµ·åãããã¡ã¤ã©ãå®è£ ãããã Patch 7.2.269 Patch 7.2.269 Problem:    Many people struggle to find out why Vim startup is slow. Solution:  Add the --startuptime command line flag. Files:      runtime/doc/starting.txt, src/globals.h, src/feature.h, src/main.c, src/macros.h http://groups.google.co.jp/group/vim_dev/b
template.vim ã¨è¨ãè»è¼ªãåçºæããããããvim ã§ã¯ãããã¡ãªãæ°ãããã¡ã¤ã«ãç·¨éããéã«ãã³ãã¬ã¼ããèªã¿è¾¼ãããã©ã°ã¤ã³ãååãé©å½ãããã®ã¯ä»æ§ã æå¤ãªäºã«ãå ¨ãååã®ã¹ã¯ãªããã www.vim.org ã«è¦å½ãããªãã£ãã®ã§ãã®ååã«ããããã¡ããèããã®ãé¢åã ã£ãã®ã1çªã®çç±ããã®ãããä¼¼ãååãªããã£ããã©æ°ã«ãã¦ã¯ãããªãã ãã³ãã¬ã¼ãã¨ã³ã¸ã³ã£ã¦ã®ã¯ç¸å½ãªç¨®é¡åºåã£ã¦ãã¦ãçãã®ã«ãªã㨠1 è¡ã§æ¸ãã*1ãã§ã¯ãªãã§ä»æ´ä½ã£ãã®ãã¨è¨ãã¨ããã£ã¨è¦æ¸¡ãã¦ã¿ã¦èªå好ã¿ã®ãã®ãè¦å½ãããªãã£ããããããã ãã§ãã ãã³ãã¬ã¼ãã¨ã³ã¸ã³ã®èªä½ã¯ vim ã¦ã¼ã¶ãå¿ ãä¸åº¦ã¯éãéã ããï¼ GitHub - thinca/vim-template: Simple and flexible template engine. å®ã¯æ¸ããã®ã¯çµæ§åãªãã ãã©ã
æ¨æ¥ããHHKBã使ãå§ããã¤ãã§ã«ããã¼è¨å®ãè²ã å ¥ãæ¿ããããKeyRemap4MacBookã¨ããã¢ããªã使ãå§ãã¾ããããVimã§æ¿å ¥ã¢ã¼ãããæããæã«è±æ°å ¥åã«åãæ¿ãããã¨ããã®ãåããããããã¦ãKaoriYaããã®MacVimã ã¨ããããè¨å®ãvimrcã§åºæ¥ããã§ãããCUIã®vimã§ã¯IMãæä½ããè¯ãæ¹æ³ãåãããã«è¨å®ã§ãã¦ãã¾ããã§ããããã®ã¢ããªã§ç¡çããå®ç¾åºæ¥ãã®ã§å¿«é©ã§ãã è¨å®æ¹æ³ KeyRemap4MacBookã¯ç¬èªã§XMLãæ¸ãã¦ããããã¼ãç¹å®ã®ãã¼ã¨çµã³ä»ãããã¨ãåºæ¥ã¾ããã¾ããã®è¨å®ãæå¹ã«ãªãã¢ããªãé¸æã§ãã¾ããä»åã®å ´åã¯ãTerminalä¸ã§Escãã¼ãEscãã¼+è±æ°ãã¼ã¨ããè¨å®ã«ããã°OKã§ãããCtrl+Cã使ãã®ã§åæã«è¨å®ãã¦ããã¾ãã ã¾ãKeyRemap4MacBook Preference Paneããpriva
調åã«ä¹ã£ã¦ vimrc ãæ¸ãã®ã«ç¹åããå 容ã®ãã®ãæ¸ãã¦ã¿ããåãä¸ããå 容ã¯å®å ¨ã«ç¬æã¨åè¦ã§ãã é¢é£è¨äº: Vimã¹ã¯ãªããåºç¤ææ³æéãã¹ã¿ã¼ - æ°¸é ã«æªå®æ ãã®è¨äºã§ã¯ vimrc ãæ¸ãã«ããã£ã¦ç¥ã£ã¦ããã¹ãæ¦å¿µãæ©è½ã解説ãã¾ããVim èªä½ã®æä½æ¹æ³ã«é¢ãã¦ã¯è§¦ãã¾ããã åºç¤ ãããã¡ ãããã¡ã¯ããã¡ã¤ã«ãç·¨éããããã®è«ççãªé åã§ããVim ã§æ°ãããã¡ã¤ã«ãéãã¨ãæ°ãããããã¡ãä½æããã¦ããã«ãã¡ã¤ã«ã®å 容ãèªã¿è¾¼ã¾ãã¾ãã ã¦ã£ã³ã㦠ã¦ã£ã³ãã¦ã¯ãããã¡ãç»é¢ã«è¡¨ç¤ºããããã®ç©ççãªé åã§ããåå²ãããã¨ãã§ãã1ã¤ã®ç»é¢ã«è¤æ°ã®ã¦ã£ã³ãã¦ã表示ã§ãã¾ãã ã¿ããã¼ã¸ ã¿ããã¼ã¸ã使ããã¨ã§ã¦ã£ã³ãã¦ã®é ç½®ãä¿æããã¾ã¾è¤æ°ã®ç»é¢ãåãæ¿ãããã¨ãã§ãã¾ãã ã¿ãæåã¨åºå¥ããããããã¿ããã¼ã¸ã¨å¼ã°ãã¦ãã¾ãã ã¢ã¼ã Vim ã®ä¸ã§ãç¥ã£ã¦
C以å¤ã§ä½¿ãâ ä¸ç«¯vimãéããã¨æãç³ã¿ã®æ å ±ãæ¶ãã¦ãã¾ããsessionãªã©ã§æãç³ã¿ã®æ å ±ãä¿åãã¦ãããã¨ãã§ããããæ¯åsoããã®ãããã©ãããããã¡ãã£ã¨å¿ãã¦ãã¡ã¤ã«ãæ¸ãæããã¨æãããã¿ã®æ å ±ãç¡è¶è¦è¶ã«ãªã£ã¦ãã¾ãã ãã®ãããªå ´åãæãç³ã¿ã®æ å ±ãã³ã¡ã³ãã¨ãã¦åãè¾¼ããã¨ã§å¯¾å¿ãããã¨ãã§ããããã ããããã©ã«ãã®ã¾ã¾ã§ã¯åãè¾¼ã¾ãããã¼ã«ã¼ã¯/*{{{*/ã¨ã/*}}}*/ã¿ãããªCã«å¯¾å¿ãããã®ã ããªã®ã§ãC風ã®ã³ã¡ã³ãã使ããªãè¨èªã®å ´åã¯å°ã工夫ãå¿ è¦ã ä¾ãã°Tclã®å ´åã set commentstring=;#%s ã®ããã«ãã¦ãã¼ã«ã¼ã«ä½¿ãã³ã¡ã³ããå¤æ´ãããã¨ãã§ãããTclã§ã¯#ãã³ã¡ã³ãè¡ã¨ãã¦ä½¿ãããããæ®éã®æã®å¾ãã«ã³ã¡ã³ããä»ããã¨ãã¯ã;ãå¿ è¦ã«ãªãã ãã¡ã¤ã«ã®é ã®æ¹ã«ã¢ã¼ãã©ã¤ã³ã§ # vim: set fdm=marker
http://www.vim.org/scripts/script.php?script_id=1697 vim7 ãã追å ããã text-object ã¯å¤§å¤ä¾¿å©ã§ãä»ãææ¾ããªããªã£ã¦ãã¾ãããã® text-object ããã便å©ã«ä½¿ãããã©ã°ã¤ã³ãsurround.vim ã便å©ãããã®ã§ç´¹ä»ãã¾ãã ãã¾ã¾ã§ãtext-object ã§ã¯ (以ä¸ã§ã¯ãã³ã¼ãã®ã*ãã®ä½ç½®ã«ç¾å¨ã«ã¼ã½ã«ãããã¨èãã¦ãã ããã) foo 'b*ar' bazã®ä½ç½®ã«ã«ã¼ã½ã«ãããã¨ããi' ã§ã·ã³ã°ã«ã¯ãªã¼ãã¼ã·ã§ã³ã®ä¸èº«ãé¸æã§ããããa' ã§ã·ã³ã°ã«ã¯ãªã¼ãå«ãé¨åãé¸æã§ãã¾ããããããã'ããã®ãã®ãåé¤ããããç½®æãããã¯ã§ããªããã¡ãã£ã¨ä¸ä¾¿ã§ãããããããsurround.vim ã§ã¯ ds cs ys vs ããããã«ã³ãã³ããå²ãå½ã¦ã¦ãæ§ã ãªãã¨ãã§ããããã«ãªã£ã¦ã¾ãããã¨
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}