Gvimã®ãã©ã³ãè¨å®ã«é¢ããã¾ã¨ã
ãã¾ã«æ°ããç°å¢ãä½ãã¨ãããã¤ãå¿ãã¦ã°ã°ããã¡ã«ãªãã®ã§ã¡ã¢ã ãã¡ãã¡ã«ãããã©ãããããã æ¢ã«è¯è³ªã®è§£èª¬ãããããããã®ã§ãURLãè²¼ã£ã¦ã¾ã¨ãã¦ãããã
ãã©ã³ãã®è¨å®ã®æé
Gvimãç«ã¡ããã¦ãã³ãã³ãã¢ã¼ãã§
set guifont=*
ãã¦ãã©ã³ããæ¯ã¹ãã ããã®ãè¦ã¤ãã£ãã set guifont ã§è¨å®ããã°ãããã ãã©ã ãã®ã¸ãããããããã
set guifont ã®ãªãã·ã§ã³å½¢å¼ãWindowsã¨Unixç³»ã§ç°ãªãåé¡
" Windows set guifont=Font\ Family:h12 set guifontwide=Font\ Family:h12 " Linux set guifont=Font\ Family\ 12 set guifontwide=Font\ Family\ 12
åè:
- ç¶ããã·ã³æ¯ã«å¥ã ã®ãã©ã³ããµã¤ãºãæå®ãã .gvimrcAdd Star
- Linux(X11)ç°å¢ã§ã®gvimã®ãã©ã³ãè¨å®ãWindowsã®ãã®ã¨ããããéã£ãã®ã§ããã£ã
Windowsã®ãã©ã³ãè¨å®ã«ã¤ãã¦ããã¾ã¨ã¾ã£ã¦ãããµã¤ã:
ãã©ã³ããµã¤ãºã®åé¡
- Linux : 1.5 ã®åæ°ã®ãã©ã³ããµã¤ãº
- Mac OSX: å¶æ°ã®ãã©ã³ããµã¤ãº
- Windows: ä½ã§ããã
ã¨ããã°ãããããã
Linuxã§ã¢ã³ãã¼ã¹ã³ã¢ã表示ãããªãåé¡
Debianç³»OSã®aptã§å
¥ãGvim (Vim-gtk) ã®ããã©ã«ãã®è¨å®ã§ã¯
ã¢ã³ãã¼ãã¼(ã¢ã³ãã¼ã¹ã³ã¢)ã® _
ã表示ãããã空ç½ã¨è¦åããã¤ããªãã
Ubuntuã¨Mintã®å ´åã.gvimrcã§
set guifont=DejaVu\ Sans\ Mono\ 13
ã¨ããã°ãã¢ã³ãã¼ãã¼ãè¯ãæãã«è¡¨ç¤ºãããã ãããã«ãã¤ãã³ãå°ãæ°æã¡æªããªãã
åè:
- (g)vimå°å ¥ã¨åæã»ããã¢ãã
- vim-gnomeã§ã¢ã³ãã¼ãã¼ã表示ãããªãã®ãä½ã¨ãããã
ç¾å¨ã®è¨å®
ãã©ã³ãé¸ã¶ã ãã§ä¸è¦å´ã§ããªãã ã¨ããããç¾å¨ä½¿ç¨ãã¦ããè¨å®ã¯
" Windows set guifont=MS_Gothic:h13 " Linux set guifont=DejaVu\ Sans\ Mono\ 13