Vimにおける、基本操作のチートシート。だいぶ使えるようになってきたのでメモっておきます。 2009.05.29: 「単語移動」を追加しました。横スクロールめんどいよね。 2009.05.29: 「もちょっと発展的な+α」を追加。そこそこ貯まってきた。 2012.07.19: 「ヘルプ」を追加。gm、f[word]などを追加。 モード切替 i
If you are working on UNIX / Linux environment, you should become comfortable in the Vim editor. If you think the Vim editor is not user friendly, or intuitive to learn quickly and become an expert — you are not alone. This book contains 101 practical examples that will help both newbies and intermediate Vim users to become an expert. Each hack provided in this eBook is very crisp and easy to unde
1 " Vimrc file, http://phuzz.org 2 3 set nocompatible " use vim defaults 4 set ls=2 " allways show status line 5 set tabstop=4 " numbers of spaces of tab character 6 set shiftwidth=4 " numbers of spaces to (auto)indent 7 set scrolloff=3 " keep 3 lines when scrolling 8 set showcmd " display incomplete commands 9 set hlsearch " highlight searches 10 set incsearch " do incremental searching 11 set ru
HTML/CSS/JavaScriptを書くために行ったVimの設定やインストールしたスクリプト等をざっとまとめてみた。「VimでWeb開発を100倍効率的にする方法」といったような生産性を上げるための設定の類ではない。 HTMLファイルを:makeで文法チェック tidy.vimが用意されているので、HTML Tidyをインストールし、.vimrcに以下のように書くだけで良い。 autocmd FileType html :compiler tidy autocmd FileType html :setlocal makeprg=tidy\ -raw\ -quiet\ -errors\ --gnu-emacs\ yes\ \"%\" tidy.vimのmakeprgでは日本語が化けるので-rawを追加する。 HTMLファイルのインデントをやり直す gg=G ノーマルモードではggでファイ
Graphical vi-vim Cheat Sheet and Tutorial Learning vi or vim is not easy. But it doesn't have to be that difficult, either. It is, in any case, faster, more powerful, and more productive than editing with any other editor, so you would do very well in investing the time and effort to learn it. Being a vi lover myself, I came up with the idea of providing a graphical cheat sheet for those learning
Build Muscle Memory Become a shortcut ninja through interactive learning and repetition. With thousands of commands at your fingertips and interactive drills, the shortcuts quickly become ingrained so your fingers can fly. Retain Languages No more wasting time digging through docs. Discover and learn methods and syntax for languages such as Ruby strings, dates, strftime, arrays, hashes JavaScript
This article is part of the on-going Vi / Vim Tips and Tricks series. Vim is commonly mentioned as text editor, not text creator. Why ? Because we spend lot of time editing an existing text than creating new text. In the text editing, text/pattern substitutions becomes a vital part. In this article, let us review how to perform both basic and advanced text and pattern substitution features in Vi
Due to popular inexorability, I’m learning to use the “Vim” text editor(specifically MacVim). Having recently finished Pragmatic Thinking & Learning, I decided to follow one of the suggestions and mind map this new information. The mind map turned out pretty good. This one includes the basic commands, which I’ll update with the more advanced stuff as I learn it. I made a large version to hang next
Posted on September 6th, 2011. A while ago I wrote a post about switching back to Vim. Since then I've written two plugins for Vim, one of which has been officially "released". A couple of people have asked me if I'd write a guide to creating Vim plugins. I don't feel confident enough to write an official "guide", but I do have some advice for Vim plugin authors that might be useful. Other People
The following are the top 10 greatest problems that businesses encounter today. Doubtfulness about the Future – In a varying financial atmosphere, being able to forecast customer tendencies, trends in the market, and other factors is critical. Bringing in a specialist who is skilled at interpretation and forecasting trends can be the variance between a shining tomorrow and a gloomy one. Obstacles
Cursor movement h - move left j - move down k - move up l - move right w - jump by start of words (punctuation considered words) W - jump by words (spaces separate words) e - jump to end of words (punctuation considered words) E - jump to end of words (no punctuation) b - jump backward by words (punctuation considered words) B - jump backward by words (no punctuation) 0 - (zero) start of line ^ -
If you are transitioning from windows, then in order of preference you will probably want to use, evim, gvim, vim. evim makes gvim behave like windows editors (note Ctrl+L gets you to vim Normal mode). If one just wants the windows key mappings from evim mode in gvim for e.g. you can use the following command: source $VIMRUNTIME/mswin.vim. Other alternatives if you're transitioning from windows ar
Welcome to the Vim Tips Wiki This wiki is about Vim, an open-source, powerful and configurable text editor. We aim to exchange tips and tricks with other Vim users. Please help by improving or adding comments to any tip. If you are new to Vim, we have plenty of tips that will help you get started. We are currently editing over 1,649 articles. About this wiki New tips Policies and how to edit Discu
Vim で html5 書いてる時に html5 で追加されたタグが強調表示されないなーと思って html.vim を見たら案の定定義されてなかったので追加してやったというお話。 以下のファイルを編集します。パスは適当に置き換えましょう。自分はVim本体や設定ファイルやプラグインもろもろ全部まとめて Dropbox にぶちこんでます。まじ便利。 C:\My Dropbox\app\vim7\runtime\syntax\html.vim 以下の文を追加します。 " new html 5 tags syn keyword htmlTagName contained video section time rt ruby progress rp syn keyword htmlTagName contained output nav menu meter mark legend keygen s
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く