Tag : Vim
1 - 7 of 7
Started using Vim(6): Scheme "XCode-Like"

I've talked about vim scheme in the last entry and I haven't satisfied with original scheme and other schemes available around the vim community, so I've started to create my own.
I want a scheme that fits with XCode or on OS X, which means so-called "Mac-like interface", so I decided to create a "XCode like" scheme.
And...Here it is.
DOWNLOAD : Downloads : Vim Color Scheme: "XCode Like"
Related URI
Started using Vim(5): Scheme

I'm currently using "desert" as my default color scheme for vim, on both OS X and Ubuntu because I feel it's the most easy on the eye scheme available from the default schemes.
Yes, It's OK enough, but since I've been a user of OS X, I've been using a typical OS X like text editors on OS X platform such as XCode, SubEthaEdit, Smaltron, CotEditor, KEdit for Mac OS X, and so on, and I've got used to their syntax coloring which is easy on my eyes.
So, I started looking for another replacements. I've found some and they are pretty nice.
There's some colors don't fit my tastes so maybe I will create my own someday. I've been pretty busy and have no time to do it.
Started using Vim(4): Copy a block of code

- press Esc to change into command mode
- put cursor on the beginning of textblock you want to copy (Shift^ for example)
- press v (vim will enter VISUAL mode)
- move cursor to the end of textblock
- press y to copy (or x for cut operation)
- move cursor to the place you want to paste the text, then press p
Started using Vim(3): Jumping Around

- Move to the top: gg
- Move to the bottom: G
- Move to the first character: ^
- Move to the last character: $
- Move to the 50th line: 50G
It will take a little bit effort to get used to press ^ and $ maybe, but I have to get used to it 'cause I use these key bindings a lot.
Started using Vim(2): Folding

I've noticed that lot of Vim users use something like "{{{" in their codes, I had no idea what is that meant for a long time, but since I started using vim, I finally understand. This is a "folding" command, which enables "fold" the long code with user-special foldmarkers. This is one of the cool and convenient features of vim.
Here is good tutorial site about folding:
Started using Vim

I've never been a fun of Vi/Vim or E-Macs, but I think there's some reason to use and understand the long-run standards, and I need some kind of default editing environment which is OS-independent 'cause I'm a multi-OS user (OS X, Ubuntu, Win XP), so I've just started using Vim.
Since I'm a newbie I'm gonna clip some tips here in this blog.
Current version of my .vimrc
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | set foldmarker={{{,}}} set autoindent smartindent set shiftwidth=4 softtabstop=4 set expandtab set guifont=DejaVu\\Sans\\Mono:h13 set showtabline=2 //set transparency=5 set showmatch set showcmd set number set wrap set list set listchars=tab:>. |



You MUST install this vim plugin if you program.
How to use
in visual mode, type:
, + c + SPACE