Suddenly, I am interested in Vim

Recently, I am so interested in Vim. Actually, UltraEdit and Notepad++ are enough to fulfil my daily works already, and I rarely have additional requirements. Even though, because of below reasons, I am going to have a try
    1. High performance. When UltraEdit is opening a large file (e.g. larger than 100MB), its painful to operate in the window
    2. "Grep" function which I was looking for for a long time
    3. Easy spell checking function
    4. All keyboard operations. Its cool
    5. Free for license
    6. Simplest interface and pretty color schemes

But the first thing, is to find the most easy way to comply with my current habits, though there are many other approaches.

    1. Copy, Cut and Paste like in Microsoft Windows
        Copy:    Ctrl + Insert
        Cut:    Shift + Delete
        Paste:    Shift + Insert

    2. Indent a block instead of line by line
        In VISUAL mode (v), Shift + >>

    3. Switch buffer window
        Ctrl + W

Others are being study and cannot be listed all. Its NOT a piece of cake to remember the commands. Fortunately I found the documentation in Chinese.

Append the settings I am using below

" Start – Basel’s settings
colo evening
set guifont=Consolas:h12
set spell spelllang=en_gb
set laststatus=2
set statusline=%<%f %h%m%r%=%{"[".(&fenc==""?&enc:&fenc).((exists("+bomb") && &bomb)?",B":"")."] "}%k %-14.(%l,%c%V%) %P
set encoding=utf-8
set fileencoding=utf-8
set wrap
set go=a

" Use CTRL-S for saving, also in Insert mode
noremap <C-S> :update<CR>
vnoremap <C-S> <C-C>:update<CR>
inoremap <C-S> <C-O>:update<CR>

" End – Basel’s settings

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据

Back to Top