You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Macã®Vimã§Homebrewã使ã£ã¦ã¯ãªãããã¼ãé£æºãæå¹ã«ããã®ç¶ãã§ãã ååã®è¨å®ã§Vimããã¯ãªãããã¼ãã使ããããã«ãªãã¾ãããtmuxãç«ã¡ä¸ãã¦ããã³ãã¼ãã¼ã¹ããããã¨ããã¨E353: Nothing in register *ãåºãããã«ãªã£ã¦ãã¾ãã¾ããã 以ä¸ã®æé ã§è§£æ±ºã§ãã¾ãã $ brew install reattach-to-user-namespace $ echo 'set-option -g default-command "reattach-to-user-namespace -l bash"' >> ~/.tmux.conf
If you are not redirected automatically, please click here.
ã¨ãããã®ã¯ :help vimfiler-key-mappings 辺ããè¦ãã°ï¼ããã㯠vimfiler ä¸ã§ ?ï¼æ¸ãã¦ããã®ã§ãããã¾ã¨ã¾ã£ã¦ããã»ããåããããã+ç¥ããªããããã³ã°ããã£ãã®ã§ä¸è¦§ã«ãã¦ã¿ã¾ããã [注æ] 2012/03/29 ã® vimfiler ã® help ãåç §ãã¦ä½æãã¾ããã ä»å¾ãå¤æ´ã»è¿½å ãããå¯è½æ§ãããã®ã§ãæå ã® help ã¨åããã¦åç §ãã¦ä¸ããã [normal mode] ã㼠対象 æ©è½ åè - å¥ã¦ã£ã³ãã¦ãéã j - ã«ã¼ã½ã«ãä¸ã¸ç§»å k - ã«ã¼ã½ã«ãä¸ã¸ç§»å gg - ã«ã¼ã½ã«ãä¸çªä¸ã¸ç§»å - ç»é¢ã®åæç» ã«ã¼ã½ã«ä¸ ãã¼ã¯ ã«ã¼ã½ã«ä¸ ãã¼ã¯ãã¦ã«ã¼ã½ã«ã1ã¤ä¸ã¸ç§»å * - å ¨ã¦ã®è¡ããã¼ã¯ æ¢ã«ãã¼ã¯æ¸ã¿ã®è¡ã¯ãã¼ã¯ãå¤ããã U - å ¨ã¦ã®ãã¼ã¯ãå¤ã c ãã¼ã¯ ã³ãã¼ cc ã§ã«ã¼ã½ã«ä¸ã®ãã¡ã¤ã«ã
ä¸è¨ã®è¨äºã§msysãã¤ã³ã¹ãã¼ã«ããæ¹æ³ãç´¹ä»ãã¦ãã¾ããmsysã«ã¯ls,cp,mvã¨ãã£ãlinuxã³ãã³ããå ¥ã£ã¦ãããWindowsã§vimfilerãvimshellãåä½ãããããã«å¿ è¦ã§ãã Macã®å ´å äºåã«XCodeãã¤ã³ã¹ãã¼ã«ãã¦ããã¾ããXCodeã«gccãå«ã¾ãã¦ãã¾ãã ä¸è¨ã³ãã³ãã§ã³ã³ãã¤ã«ãã¾ãã cd ~/.vim/bundle/vimproc/ make -f make_mac.mak vimproc/autoload/vimproc_mac.so ãä½æããã¦ããã°ã³ã³ãã¤ã«ã¯æåã§ãã Linuxã®å ´å gccãã¤ã³ã¹ãã¼ã«ãã¾ããã»ã¨ãã©ã®Linuxã§ã¯ããã©ã«ãã§å ¥ã£ã¦ããã®ã§ã¯ãªãã§ããããã ä¸è¨ã³ãã³ãã§ã³ã³ãã¤ã«ãã¾ãã cd ~/.vim/bundle/vimproc/ make -f make_unix.mak vimproc/
GVim ã®ãçµäºæã«ã¦ã£ã³ãã¦ãµã¤ãºãä¿åã次åèµ·åæã«å¾©å ããæ¹æ³ããæ¢ãã¦ãããã次ã®è¨äºãçºè¦ã Vim-users.jp - Hack #120: gVim ã§ã¦ã£ã³ãã¦ã®ä½ç½®ã¨ãµã¤ãºãè¨æ¶ãã .gvimrc ã«è¨è¿°ããå 容ãå¼ç¨ã let g:save_window_file = expand('~/.vimwinpos') augroup SaveWindow autocmd! autocmd VimLeavePre * call s:save_window() function! s:save_window() let options = [ \ 'set columns=' . &columns, \ 'set lines=' . &lines, \ 'winpos ' . getwinposx() . ' ' . getwinposy(), \ ] call writ
vimã使ãæã¯ãã¤ã :set list ãã¦ãæ¹è¡æåã¨ãã¿ãæåã表示ãã¦ããã§ããããã¼ãã¿ããã^Iãã«ãªã£ã¦è¦ã¥ãããèªåã§ã³ã¼ãæ¸ãæã¯ãã¼ãã¿ãã¨ã使ããªããããããã©ã人ã®ã³ã¼ããèªãã®ã« :set nolist ãã¦èªãã¨ããã¦ã¾ããã ããããid:kazukichopã :set lcs ã§ãkã¨æãã¦ããã¾ãããã 'listchars' - VimWiki set lcs=tab:>.,eol:$,trail:_,extends:\èªåã®.vimrcã«ã¯ãããªé¢¨ã«æ¸ãã¦ã¿ãã ãå ¨è§ã¹ãã¼ã¹ã表示ããããã¨è¨ã£ããã¾ãæãã¦ãããã highlight JpSpace cterm=underline ctermfg=Blue guifg=Blue au BufRead,BufNew * match JpSpace /ã/ãã§ã.vimrcã«ãããªã®ãä»ãå ããã
Vimã®Uniteãã©ã°ã¤ã³ã§ããã¡ã¤ã«ããããã¡ãã¬ã¸ã¹ã¿ãããã¯ãã¼ã¯ã管çããæ¹æ³ãç´¹ä»ãã¾ãã ãã®è¨äºãèªãã§ãã§ããããã«ãªãã㨠vimä¸ã§ãã£ã¬ã¯ããªã移åãããã¡ã¤ã«ãéããã¨ãã§ãããæè¿ä½¿ç¨ãããã¡ã¤ã«ä¸è¦§ããããã¡ã¤ã«ãéããã¨ãã§ãããç¾å¨éãã¦ãããããã¡ãä¸è¦§è¡¨ç¤ºãããããã¡ãéããããåé¤ãããã¨ãã§ãããã¬ã¸ã¹ã¿ã®æ å ±ãä¸è¦§ããé¸æããè²¼ãä»ãããã¨ãã§ããããã¡ã¤ã«ããã©ã«ãããæ°ã«å ¥ãç»é²ãããæ°ã«å ¥ãããç®çã®ãã¡ã¤ã«ãéããã¨ãã§ããã ç®æ¬¡ ç°å¢ uniteã¨ã¯ uniteã®ã¤ã³ã¹ãã¼ã« vimrcã®è¨å® uniteã®æä½æ¹æ³ ç¾å¨éãã¦ãããã¡ã¤ã«ã®ãã£ã¬ã¯ããªä¸ã®ãã¡ã¤ã«ä¸è¦§ã表示 æè¿ä½¿ç¨ãããã¡ã¤ã«ä¸è¦§ã表示 ãããã¡ä¸è¦§ã表示 ã¬ã¸ã¹ã¿ä¸è¦§ã表示 ããã¯ãã¼ã¯ä¸è¦§ã表示 ç°å¢ æ¤è¨¼ããç°å¢ã¯ä¸è¨ã®éãã§ãããMacãLinuxã§ãåãè¨
ãã®è¨äºã¯ Vim Advent Calendar 2012 97æ¥ç®ã®è¨äºã«ãªãã¾ãã è¨å¿µãã¹ã 100æ¥ç®ã¾ã§ãã¨ãããï¼ï¼ã£ã¦äºã§ä»å㯠unite.vim ã«ã¤ãã¦æ¸ãã¦ã¿ã¾ããã unite.vim ã¨ã¯ãªãããã ã¨ãã人ã¯çµæ§ããã¨æãã®ã§ä¸»è¦³ããªããªã§ãã unite.vim ã«ã¤ãã¦èª¬æãã¦ã¿ããã¨æãã¾ãã ã¾ã untie.vim ã«é¢ãã¦ã¯ 92æ¥ç®ã« syui ãããè¨äºãæ¸ãã¦ããã®ã§ãã¡ããåããã¦èªãã§ã¿ãã¨ããã¨æãã¾ãã unite.vimã®ä½¿ãæ¹ã¾ã¨ã - MBA-HACK [unite.vim ã¨ã¯] unite.vim ã¨ã¯ Shougo æ°ãä½æããã Vim ãã©ã°ã¤ã³ã§ãã ãããã ãunite.vim ã¨ã¯ãªããããã¨ãã話ã§ãããä¸è¨ã§è¨ã£ã¦ãã¾ãã° ãVim ä¸ã§ä½¿ç¨åºæ¥ãçµ±åã¦ã¼ã¶ã¤ã³ã¿ã¼ãã§ã¼ã¹ã ã«ãªãã¾ãã ãã£ã¨åã¿ç ãã¦
Vim Advent Calendar 2012 136æ¥ç® ãã¦ã便å©ã§ã«ãã³ããpowerlineããã使ãæãæ¥ãããã ï¼ ãã®è¨äºãèªãã§ã«ãã³ããVimã«ãããï¼ ãã®è¨äºã§åãããã¨ã ã»ææ°ã®powerlineå ã»TabLineãpowerlineå ã»powerlineã使ã人ã®Tmux powerlineã¨ã¯ãªããï¼ ãCUIã£ã¦ããµãããã¼ãã©ãã«ãããããã¼ãã ãVimã£ã¦ããµãããã¼ãã ã¯ããpowerlineã£ã¨ã ã..ãããã...ãµãã¡ã(â»1 ç¥ã®é«ãã) ææ°ã®powerlineå tmux, zsh, vimã®powerlineãå ã ããã¾ããããæè¿ã²ã¨ã¤ã«çµ±åããã¾ããã å¤ãã®äººãvim-powerlineã使ã£ã¦ãã¾ãããå人çã«ã¯æ°ããpowerlineã®æ¹ãããããã§ãã ãã¨ããã®åéãã§ããtablineãpowerlineååºæ¥
æä½æ¹æ³ã®ã¡ã¢ åºæ¬æä½ : ã¨å ¥åããå¾ Ctrl-p, Ctrl-n ã§éå»ã«å ¥åããã³ãã³ããè¦ããã /, ? ã¨å ¥åããå¾ Ctrl-p, Ctrl-n ã§æ¤ç´¢å±¥æ´ãè¦ããã ã«ã¼ã½ã«ç§»å ãã¼ æä½ åè
Macã®åæè¨å®ã®ãã³ã«æ··ä¹±ãã¦ãã®ã§åæ´çãã¦ããã¾ãã Mac Terminal tmux vim ã§éçºããã人åãã§ãã ã¾ãã¯MacVim KaoriYa Macã§Vimã使ããªãã²ã¨ã¾ã MacVim KaoriYa ã¯å¤ãã¾ããã æ¥æ¬èªãæ±ãä¸ã§ä¾¿å©ãªè¨å®ãããã©ã«ãã§å ¥ã£ã¦ã¾ãã å½ç¶ãTerminalã§ã Macvim KaoriYa ã使ãããã®ã§ã .zshenv ãªã©ã«ä»¥ä¸ã®aliasãè¨å®ãã¦CUI㧠vi ã vim ãå©ããã¨ãã«ã MacVim KaoriYa ã使ãããããã«ãã¾ãã if [ -f /Applications/MacVim.app/Contents/MacOS/Vim ]; then alias vi='env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim "$
Command Lineã§ä½¿ç¨ãã¦ãããã¼ã«ãç°¡åã«ã§ã¯ããã¾ãã、ã¾ã¨ãã¦ã¿ããã¨æãã¾ã。ç§ãç¥ããªã便å©ãã¼ã«ã¯ã¾ã ã¾ã ããããããã¾ãã®ã§ï½¤ããã«æ²è¼ããã¦ãããã®ä»¥å¤ã§ä¾¿å©ãªãã®ãããã°ï½¤ãã²æãã¦ãã ãã。 ãã®è¨äºã«è²¼ãä»ãã¦ãããªã³ã¯ã¯ï½¤ãã¼ã¯ã¼ãã«é¢é£ããé©åãªå ´æã¸ã¨èªå°ãã¦ããã¾ã。é常ã«æå¹ãªã®ã§ï½¤ãã²åç §ãã¦ã¿ã¦ãã ãã。 ã¾ã、ç§ã¯åºæ¬çã«ãã½ã³ã³ã®ãã¨ã¯ä½ãããã£ã¦ããªãã®ã§ï½¤è¨äºå ã«ã¯èª¤ããå«ãå¯è½æ§ãããã¾ã。ãã£ã¦ï½¤ã§ããéãèªåã®ç°å¢ãææ¡ããä¸ã§ï½¤é©æèªã¿æãã¦ããããã°ã¨æãã¾ã。ç¹ã«ï½¤è¨å®ãã¡ã¤ã«ã®å ´æã«ã¤ãã¦ã¯æ°ãã¤ãã¦ãã ãã。ã¾ã、GitãHomebrew、MacPortã®å°å ¥èª¬æãªã©ã¯çç¥ãã¦ãã¾ãã®ã§ï½¤æ³¨æãå¿ è¦ã§ã。 #zsh Shellã§ããzshãæ¡å¼µããè¨å®ã®æ°ã ãç´¹ä»ãã¦ããããã¨æãã¾ã。簡æã«ã§ã¯ããã¾ãã、ãã£ã¨è¯ãè¨å®
ä»ã¾ã§ããã使ãããªãã¦ãªãã£ããªãã¦ãä»ã¾ã§ã®äººçããªãã£ããã¨ã«ãããã¦ã¤ããã»ã»ã» vimã§neocomplecacheã使ç¨ãã¦ãã¦ãã¹ããããã®åè£ãæ¥ãæã«Ctrl-kã¨æã¤ã¨ã¹ãããããå±éããããã¨ã¯ç¥ã£ã¦ãã¾ãããããã¾ãã¡æèãã¦ä½¿ãã¦ããªãç¶æ ãç¶ãã¦ãã¾ããã ã¨ããããã¹ãããã使ã£ã¦ã¿ã è¿½è¨ ä¸å¿ä¸ã®ããã«ãã©ã°ã¤ã³ãå ¥ã£ã¦ããåæã§ãã NeoBundle 'Shougo/neocomplcache' NeoBundle 'Shougo/neosnippet' 追è¨çµãã 追è¨ã2013/01/19 ç¾æç¹ã§ã®ããããè¨å®ãæ¸ãã¦ããã®ã§ãã¡ããåç § ä»ãã¦ããneocomplcache + neosnippetã®è¨å®ã®èªåçãããã - åã®è»è¼ªã®åçºæ 追è¨çµãã ä¾ãã°ãPerlã¨Vimãã§è¨ãã¨ããã®è¨äºãããªãã®è¯è¨äºã«ãªã£ã¦ãã¦ãããã§ãã¹ããã
[Aï¼B]ã¯åæã«æ¼ä¸ã [Aã»B]ã¯Aã«ç¶ãã¦Bãæ¼ä¸ã ãã®ä¾ã¯ãCTRLã¨wãåæã«æ¼ä¸ãCTRL-wãé¢ãã¦jãæ¼ä¸ã (ä½ãCTRL+wã»jã¯ãjããCTRLãæ¼ããã¾ã¾ã§ãOKãªããã )
ã»æ®æ®µVimã使ã£ã¦ãã¦ãç°ãªãã»ãã·ã§ã³ã§èµ·åãã¦ããVimå士ã§ã³ãããããæ ã»Vimãããã©ããå¥ã®ã¦ã£ã³ãã¦ã«ã³ãããããæ 対å¿çã¨ãã¦ã æ¯åã³ãã³ãã§é å¼µã ãã©ã°ã¤ã³ãå ¥ãã vimrcã«è¨å®ãã ãããã¾ãã Hack #126: ã¯ãªãããã¼ããå©ç¨ãã(http://vim-users.jp/2010/02/hack126/) vimã¨ãã£ã¿ããã¯ãªãããã¼ããå©ç¨ãã(http://nanasi.jp/articles/howto/editing/clipboard.html) ãµã¤ãã®ããã¹ãã¨ãã£ã¿ã§ããã° ã¯ãªãããã¼ãã«ããããã¹ãããã¼ã¹ãããã ã³ãã¼ããããã¹ãã¯ã¯ãªãããã¼ãã«ä¿åããã¾ãã ãããVimã§ã¯ã³ãã¼/ãã¼ã¹ããããããã¹ã㯠ã¬ã¸ã¹ã¿ã¨å¼ã°ããVimå é¨ã®é åããèªã¿æ¸ããããããã ãã®ããã«ã¯ãªã£ã¦ãã¾ããã 1.æ¯åã³ãã³ãã§
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}