Vim Common commands

Source: Internet
Author: User

When switching windows, vim Automatic command is <c-w><up>, <C-W><Down>,<C-W><Left>,<C-W><Right> Need to press two times keyboard

Exvim use of the shift+ arrow keys can only press once, it is more useful

"Map ctrl-tab to switch window
Nnoremap <S-Up> <C-W><Up>
Nnoremap <S-Down> <C-W><Down>
Nnoremap <S-Left> <C-W><Left>
Nnoremap <S-Right> <C-W><Right>

Windows version Exvim full package management plug-in, if there is no network connection,

The configuration file. This is what VIMRC wrote.

"Load. Vimrc.plugins &. Vimrc.plugins.local
if exists (' G:exvim_custom_path ')
Let vimrc_plugins_path = G:exvim_custom_path. ' /.vimrc.plugins '
Let Vimrc_plugins_local_path = G:exvim_custom_path. ' /.vimrc.plugins.local '
Else
Let Vimrc_plugins_path = ' ~/.vimrc.plugins '
Let Vimrc_plugins_local_path = ' ~/.vimrc.plugins.local '
endif

Loaded from. Vimrc.plugins, I add a few lines directly to the file.

Plugin ' Vim-airline '
Plugin ' A.vim '

After overloading the Exvim, it seems that these plugins can also load properly.

Vim Common commands

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.