vim这玩意用了真鸡儿上头,一用其他IDE就寻思能不能装这个插件,发现JB家有ideavimrc这个大宝贝,嘿嘿嘿.
装完ideavim之后输入:actionlist会进入一个界面,上面显示了IDE能做的一些操作,用vim可以进行映射然后…嘿嘿嘿.
下面是我的配置:
希望你们也能爱上vim~~~
set showmode
set clipborad=unamed
set number
" set relativenumber
set history=2000
set nocompatible
syntax enable
syntax on
set incsearch
set hlsearch
set ignorecase
set smartcase
" vim自身命令行模式智能补全
set laststatus=2
set ruler
set cursorline
"set cursorcolumn
let mapleader=";"
" built in search looks better
nnoremap / :action Find<CR>
nnoremap <Leader>cc :action CommentByLineComment<CR>
nnoremap <Leader>bb :action ToggleLineBreakpoint<CR>
nnoremap <Leader>br :action ViewBreakpoints<CR>
nnoremap <Leader>cv :action ChangeView<CR>
nnoremap <Leader>cd :action ChooseDebugConfiguration<CR>
nnoremap ga :action GotoAction<CR>
nnoremap gc :action GotoClass<CR>
nn