[過去ログ]
くだらねえ質問はここに書き込め!Part 249 (1002レス)
くだらねえ質問はここに書き込め!Part 249 http://mao.5ch.io/test/read.cgi/linux/1659407092/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
レス栞
あぼーん
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
612: login:Penguin [sage] 2022/09/22(木) 21:11:59.55 ID:O2twtYrW □勝利の計画 1,Vim-tiny を残しすべてのvim 関連を消す 2,こんかいgedit , plumaのすべてのプラグインを試したが「全ていらない」と判断。 リーフパッドのみとする!! おれが求めに求めぬいていた機能は「字が書けること」と気づいた!! >何も触っていないプレーンなUbuntuのターミナルでviと打つと、Vim-tinyが起動してくるのだ。 このVim-tinyは、シンタックスの色付けをしてくれない、カーソルキーをサポートしていないなど、お世辞にも使い勝手が良いとは言えないが、Vim-tinyは本当に初期段階の学習でのみ使うならその効果という点から見ると、打ち捨てられるようなものでもない。 >MacVim と VimR 以外の GUI では、常に端に奇妙な動作が見られます。 $ sudo apt update vim新構成2タグ付きスナップショット '2022-09-22_21-05-29': ondemand □ぜんかいgvimのインストール $ sudo apt-get install vim-gtk 以下のパッケージが新たにインストールされます: libtcl8.6 vim-gtk vim-gtk3 vim-gui-common vim-runtime この操作後に追加で 41.8 MB のディスク容量が消費されます。 だから $ sudo apt-get purge libtcl8.6 vim-gtk vim-gtk3 vim-gui-common vim-runtime この操作後に 41.8 MB のディスク容量が解放されます。 http://mao.5ch.io/test/read.cgi/linux/1659407092/612
613: login:Penguin [sage] 2022/09/22(木) 21:26:26.81 ID:O2twtYrW $ vi --version Small version without GUI. <==あれえ?タイニーじゃないなー とにかく、くだらねえスレにすべて記録してある、関連して入れたブツもぜんぶ手動で戻していく □gvim がおれの怒りを買った理由を述べておく プロポーショナルフォントが使えないこと。これに尽きる。醜きゴシック体の等幅フォントは絶対に拒否する!! これを可能とするgui neovim の情報を複数ゲットしたが、これ以上時間をかける気がない。 >>494 http://mao.5ch.io/test/read.cgi/linux/1659407092/613
614: login:Penguin [sage] 2022/09/22(木) 21:29:15.53 ID:O2twtYrW gvimは とうに開発が放擲され、そのようなソフトを使うべきでない。また開発が盛んに継続されている neovim系のgui も課題山積みで、苦労に苦労しまくることとなる。バカである。 おれが求めに求めぬいていた機能は「字が書けること」ゆえに! http://mao.5ch.io/test/read.cgi/linux/1659407092/614
617: login:Penguin [sage] 2022/09/22(木) 22:43:18.45 ID:O2twtYrW gVimでは等幅日本語フォントが必要。やむなく Noto Sans Mono CJK JP を admin:///usr/share/fonts で処置 $ fc-cache -fv これを消す ok http://mao.5ch.io/test/read.cgi/linux/1659407092/617
618: login:Penguin [sage] 2022/09/22(木) 22:54:56.65 ID:O2twtYrW $ vi Error detected while processing /home/i/.vimrc: line 2: E319: Sorry, the command is not available in this version: let g:input_toggle = 1 line 3: E319: Sorry, the command is not available in this version: function! Fcitx2en() <== line 4: E319: Sorry, the command is not available in this version: let s:input_status = system("fcitx-remote") line 9: E319: Sorry, the command is not available in this version: endfunction line 11: E319: Sorry, the command is not available in this version: function! Fcitx2zh() line 12: E319: Sorry, the command is not available in this version: let s:input_status = system("fcitx-remote") line 17: E319: Sorry, the command is not available in this version: endfunction line 28: E185: Cannot find color scheme 'darkblue' げんざいの.vimrcだが、アーチwikiでひろったやつ以外 gvim用ということで、いったん削除したい。 だが上のメッセージでは $ vi --version Small version without GUI. においては E319: Sorry, the command is not available in this version: function! Fcitx2en() <== もできないのか? とにかく"【インターフェース設定】以下を削除 http://mao.5ch.io/test/read.cgi/linux/1659407092/618
619: login:Penguin [sage] 2022/09/22(木) 22:56:16.66 ID:O2twtYrW $ cat .vimrc "##### auto fcitx ########### let g:input_toggle = 1 function! Fcitx2en() let s:input_status = system("fcitx-remote") if s:input_status == 2 let g:input_toggle = 1 let l:a = system("fcitx-remote -c") endif endfunction function! Fcitx2zh() let s:input_status = system("fcitx-remote") if s:input_status != 2 && g:input_toggle == 1 let l:a = system("fcitx-remote -o") let g:input_toggle = 0 endif endfunction set ttimeoutlen=150 "Exit insert mode autocmd InsertLeave * call Fcitx2en() "Enter insert mode autocmd InsertEnter * call Fcitx2zh() "##### auto fcitx end ###### http://mao.5ch.io/test/read.cgi/linux/1659407092/619
620: login:Penguin [sage] 2022/09/22(木) 22:56:21.01 ID:O2twtYrW "【インターフェース設定】 " カラースキーム colorscheme darkblue " 行数を表示させる set number " ルーラーを表示させる(カーソルが何行目の何列目に置かれているか) set ruler " ウインドウのタイトルバーにファイルのパス情報等を表示させる set title " 入力中のコマンドを表示させる set showcmd " 不可視文字を表示させる set list " 対応する括弧等を表示させる set showmatch " メッセージ表示欄を2行確保する set cmdheight=2 "【テキスト設定】 " UTF-8にする set encoding=utf-8 " フォント set guifont=FiraCode\ 20 以下長大のため略す http://mao.5ch.io/test/read.cgi/linux/1659407092/620
621: login:Penguin [sage] 2022/09/22(木) 23:00:01.20 ID:O2twtYrW " フォント set guifont=FiraCode\ 20 だけ記録しとく。素晴らしいっ ビジュアルモードで選択しインラインモードで削除した。最低限の viの作法は身についている http://mao.5ch.io/test/read.cgi/linux/1659407092/621
622: login:Penguin [sage] 2022/09/22(木) 23:02:21.82 ID:O2twtYrW $ vi Error detected while processing /home/i/.vimrc: line 2: E319: Sorry, the command is not available in this version: let g:input_toggle = 1 line 3: E319: Sorry, the command is not available in this version: function! Fcitx2en() line 4: E319: Sorry, the command is not available in this version: let s:input_status = system("fcitx-remote") line 9: E319: Sorry, the command is not available in this version: endfunction line 11: E319: Sorry, the command is not available in this version: function! Fcitx2zh() line 12: E319: Sorry, the command is not available in this version: let s:input_status = system("fcitx-remote") line 17: E319: Sorry, the command is not available in this version: endfunction Press ENTER or type command to continue ダメだ... http://mao.5ch.io/test/read.cgi/linux/1659407092/622
623: login:Penguin [sage] 2022/09/22(木) 23:23:59.44 ID:O2twtYrW >>613 > $ vi --version > Small version without GUI. <==あれえ?タイニーじゃないなー ググってわかった。 「Small version」の表示がまさに「vim-tiny」と呼ばれるものであり、非常に低機能な状態のVIMなのです。 だから元に戻った、デフォなのである。そんで詳しいことはわからんけど、下のようなことはできないのである E319: Sorry, the command is not available in this version: function! Fcitx2en() ということは、 >改めて、高機能なVimをインストールします。 >別に、現在インストールされている vim を削除する操作は必要なく、「$ sudo apt-get install vim」を実行するだけです Huge version without GUI にする。最低限しかいらないという「ポリシーに反するが」日本語メインの 我には必要な妥協なのである... $ sudo apt install vim 以下のパッケージが新たにインストールされます: vim vim-runtime 7,720 kB 中 0 B のアーカイブを取得する必要があります。 この操作後に追加で 36.3 MB のディスク容量が消費されます。 http://mao.5ch.io/test/read.cgi/linux/1659407092/623
624: login:Penguin [sage] 2022/09/22(木) 23:25:24.89 ID:O2twtYrW >>615 > エディタでプロポーショナルフォントwww >>616 > 一週間費やしてその結論って頭が悪すぎるよねw コメントありがとうございます! http://mao.5ch.io/test/read.cgi/linux/1659407092/624
625: login:Penguin [sage] 2022/09/22(木) 23:28:31.78 ID:O2twtYrW Huge 版 without GUI. 機能の一覧 有効(+)/無効(-) おれは天才なのではあるまいかっ 無事 核心機能が復活した。 http://mao.5ch.io/test/read.cgi/linux/1659407092/625
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.947s*