vim

vim

syntax on set tabstop=2 set shiftwidth=2 set expandtab set autoindent set smartindent set backspace=indent,eol,start set ignorecase set smartcase set magic set wrapscan set hlsearch set smartcase set nowrap set nolinebreak set textwidth=0 …

vim

" set visualbell syntax on set tabstop=2 set shiftwidth=2 set expandtab set autoindent set smartindent set backspace=indent,eol,start set ignorecase set smartcase set magic set wrapscan set hlsearch set smartcase set nowrap set nolinebreak…

plugin

vim

1. surround https://github.com/tpope/vim-surround S" -> "xxx"2. emacs commandline https://github.com/houtsnip/vim-emacscommandline c-a : 先頭 c-e : 末尾 c-k : カーソル前削除 c-u : カーソル後削除 c-z : 先頭の ! 切り替え esc, b : 単語戻る es…

vim

" set visualbell syntax on set tabstop=2 set shiftwidth=2 set expandtab set autoindent " set smartindent set backspace=indent,eol,start set ignorecase set smartcase set magic set wrapscan set hlsearch set smartcase set nowrap set nolinebre…

vim

" ファイルの改行コードを変更する :set ff={ファイルのフォーマット}" Windowsの形式を指定。 :set ff=dos " Macの形式を指定。 :set ff=mac " Unixの形式を指定。 :set ff=unix - http://nanasi.jp/articles/howto/file/save-with-format.html -

vim7.4

vim

wget ftp://ftp.jp.vim.org/pub/vim/unix/vim-7.4.tar.bz2 wget -r ftp://ftp.jp.vim.org/pub/vim/patches/7.4/ cp -rp vim7.4_patches vim74/. cd vim74/ cat 7.4_patches/7.4.0* | patch -p0cd src ./configure --prefix=/usr --enable-nls --with-feature…

vim

root権限で保存 :w !sudo tee %

vim

http://d.hatena.ne.jp/oovu70/20120324/p1set nocompatible filetype off set rtp+=~/.vim/vundle.git/ call vundle#rc() " Vundle 管理プラグイン Bundle 'gmarik/vundle' " vim-quickrun Bundle 'thinca/vim-quickrun.git' " jslint Bundle 'basyura/jsli…

http://eclipsecolorthemes.org/?view=theme&id=25 set background=dark hi clear if exists("syntax_on") syntax reset endiflet colors_name = "Havenjark"" Vim >= 7.0 specific colors if version >= 700 hi CursorLine guibg=#00001F hi CursorColumn g…

Done メモ

vim

http://blogs.yahoo.co.jp/m_okimotojp/50474436.htmlhttp://packages.ubuntu.com/ja/hardy-updates/xorg-dev http://packages.ubuntu.com/hardy/liblua5.1-0-dev sudo apt-get install liblua5.2 パッケージリストを読み込んでいます... 完了 依存関係ツリ…

ファイルを最後に編集した行で開く

vim

:au BufReadPost * if line("'\"") > 1 && line("'\"")

test

vim

:for i in range(2,6) | call append(line("$"),"7.2." .i . " " ) | endfor参考:http://nanasi.jp/articles/code/io/buffer-write.html - let t=input("text ") | let s=input("start:") | let e=input("end:") | for i in range(s,e) | call append(line(…

vim

syntax on set tabstop=8 set shiftwidth=2 " set fileencodings=iso-2022-jp-3,iso-2022-jp,euc-jisx0213,euc-jp,utf-8,usc-bom,ucs-2le,ucs-2,euc-jp,euc-jp-ms,cp932 " set fileencoding=euc-jp (export LANG=ja_JP.eucJP) " set fileencoding=utf-8 (exp…

vim

http://www.atmarkit.co.jp/flinux/rensai/vim09/09c.html !cscope -R -b :cscope add cscope.out

vim

[gVim] http://www.kaoriya.net/software/vim [vim 使い方] http://www15.ocn.ne.jp/~tusr/vim/vim_text2.html [vim] http://d.hatena.ne.jp/osyo-manga/20110206/1296988521 http://d.hatena.ne.jp/osyo-manga/searchdiary?word=%2A%5Bvim%5D