<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>仙人の心得 &#187; vim</title>
	<atom:link href="http://blog.mktime.com/archive/category/vim/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mktime.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 31 Aug 2010 12:04:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://blog.mktime.com/archive/category/vim/feed" />
		<item>
		<title>Ubuntu:vim-gnomeをインストールする</title>
		<link>http://blog.mktime.com/archive/258.html</link>
		<comments>http://blog.mktime.com/archive/258.html#comments</comments>
		<pubDate>Sun, 24 Jan 2010 02:08:40 +0000</pubDate>
		<dc:creator>nak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.mktime.com/?p=258</guid>
		<description><![CDATA[
Ubuntuに初期インストールされているvimはフルーヴァージョンでは無いので以下のような問題がある。
・矢印キーの動きが変（UとかDが改行とともに入力される）
・syntax on などのコマンドが使えない
これらは [...]]]></description>
			<content:encoded><![CDATA[<p>
Ubuntuに初期インストールされているvimはフルーヴァージョンでは無いので以下のような問題がある。<br />
・矢印キーの動きが変（UとかDが改行とともに入力される）<br />
・syntax on などのコマンドが使えない<br />
これらはvim-fullをインストールすれば直るらしい。<br />
<br />
<br />
けれどもUbuntuのレポジトリにvim-fullという候補は無い。<br />
vim-gnomeというパッケージを使うとのこと。<br />
<br />
<div class="console">
sudo apt-get install vim-gnome<br />
</div>
</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mktime.com/archive/258.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://blog.mktime.com/archive/258.html" />
	</item>
		<item>
		<title>linux：GUIのvimをソースからインストール</title>
		<link>http://blog.mktime.com/archive/146.html</link>
		<comments>http://blog.mktime.com/archive/146.html#comments</comments>
		<pubDate>Sat, 16 May 2009 09:19:45 +0000</pubDate>
		<dc:creator>nak</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.mktime.com/?p=146</guid>
		<description><![CDATA[
vim7.2が使いたいのでソースからインストールした。


cd ~/local/src
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2
wget ftp://f [...]]]></description>
			<content:encoded><![CDATA[<p>
vim7.2が使いたいのでソースからインストールした。<br />
<br />
<div class="console">
cd ~/local/src<br />
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.2.tar.bz2<br />
wget ftp://ftp.vim.org/pub/vim/extra/vim-7.2-http://blog.mktime.com/wp-admin/post-new.phpextra.tar.gz<br />
wget ftp://ftp.vim.org/pub/vim/extra/vim-7.2-lang.tar.gz<br />
tar jxfv vim-7.2.tar.bz2<br />
tar jxzv vim-7.2-extra.tar.gz<br />
tar jxzv vim-7.2-lang.tar.gz<br />
cd vim72/<br />
mkdir patch<br />
cd patch<br />
wget ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.*<br />
cd ..<br />
cat patch/7.2.* | patch -p0<br />
</div>
GUIで使いたいので、GUIを有効にするconfigureオプションを指定する。<br />
<div class="console">
 ./configure \<br />
 &#45;&#45;enable-multibyte \<br />
 &#45;&#45;enable-xim \<br />
 &#45;&#45;with-x \<br />
 &#45;&#45;with-features=big \<br />
 &#45;&#45;enable-perlinterp \<br />
 &#45;&#45;enable-pythoninterp \<br />
 &#45;&#45;enable-rubyinterp \<br />
 &#45;&#45;enable-gui=gnome2<br />
<br />
make<br />
</div>
<br />
makeでエラーが出る。<br />
<h4>
os_unix.c:2641: error: ‘security_context_t’ undeclared (first use in this function)<br />
</h4>
<br />
selinux要るの？<br />
<div class="console">
yum install libselinux-devel<br />
</div>
<br />
これでmake ,makeinstallまでいけたけど、vim -g で起動したらエラーが。<br />
<h4>
E25: GUIは使用不可能です: コンパイル時に無効にされています<br />
</h4>
<br />
configureログを確認すると確かに無効になっている。<br />
<div class="file">
checking &#45;&#45;enable-gui argument&#8220; GNOME 2.x GUI support<br />
checking whether or not to look for GTK&#8220; yes<br />
checking &#45;&#45;with-gtk-prefix argument&#8220; no<br />
checking &#45;&#45;with-gtk-exec-prefix argument&#8220; no<br />
checking &#45;&#45;disable-gtktest argument&#8220; gtk test enabled<br />
checking for gtk-config&#8220; (cached) no<br />
checking for gtk12-config&#8220; (cached) no<br />
checking for pkg-config&#8220; (cached) /usr/bin/pkg-config<br />
checking for GTKxn--version >= 2.2.0&#8220; no<br />
checking for GTKxn--version >= 1.1.16&#8220; no<br />
checking for X11/SM/SMlib.h&#8220; (cached) yes<br />
checking for X11/xpm.h&#8220; (cached) yes<br />
checking for X11/Sunkeysym.h&#8220; (cached) yes<br />
checking for XIMText in X11/Xlib.h&#8220; yes<br />
no GUI selected; xim has been disabled<br />
</div>
<br />
gtk2が必要か。<br />
<br />
<div class="console">
sudo yum install gtk2-devel<br />
</div>
<br />
gtk2をインストールしたあと、もう一度<br />
<div class="console">
./configure \<br />
&#45;&#45;enable-multibyte \<br />
&#45;&#45;enable-xim \<br />
&#45;&#45;enable-x \<br />
&#45;&#45;with-features=big \<br />
&#45;&#45;enable-perlinterp \<br />
&#45;&#45;enable-pythoninterp \<br />
&#45;&#45;enable-rubyinterp \<br />
&#45;&#45;enable-gui=gnome2<br />
<br />
make<br />
sudo make install<br />
</div>
<br />
よし。完璧です。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mktime.com/archive/146.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://blog.mktime.com/archive/146.html" />
	</item>
		<item>
		<title>gvimの設定</title>
		<link>http://blog.mktime.com/archive/50.html</link>
		<comments>http://blog.mktime.com/archive/50.html#comments</comments>
		<pubDate>Tue, 05 Aug 2008 11:31:03 +0000</pubDate>
		<dc:creator>nak</dc:creator>
				<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://blog.mktime.com/?p=50</guid>
		<description><![CDATA[
gvimの設定ファイルは_gvimrc。
_gvimrc

"カラースキーム
:colorscheme LightYellow
"フォント設定
:set guifont=MS_Gothic:h9:cSHIFTJIS
" [...]]]></description>
			<content:encoded><![CDATA[<p>
gvimの設定ファイルは_gvimrc。<br />
<div class="caption">_gvimrc</div>
<pre class="file">
"カラースキーム
:colorscheme LightYellow
"フォント設定
:set guifont=MS_Gothic:h9:cSHIFTJIS
"表示する行数
:set lines=90
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mktime.com/archive/50.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://blog.mktime.com/archive/50.html" />
	</item>
	</channel>
</rss>
