add IdeaVim rc file
This commit is contained in:
parent
705a323820
commit
1e62d56219
1 changed files with 19 additions and 0 deletions
19
.ideavimrc
Normal file
19
.ideavimrc
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
set nocompatible
|
||||||
|
|
||||||
|
set number
|
||||||
|
set relativenumber
|
||||||
|
|
||||||
|
" Intelli
|
||||||
|
" https://github.com/JetBrains/ideavim/wiki/IdeaVim-Plugins
|
||||||
|
Plug 'tpope/vim-surround'
|
||||||
|
Plug 'tpope/vim-commentary'
|
||||||
|
|
||||||
|
let g:mapleader = ' '
|
||||||
|
|
||||||
|
nnoremap ; :
|
||||||
|
nnoremap q; q:
|
||||||
|
vnoremap ; :
|
||||||
|
vnoremap q; q:
|
||||||
|
|
||||||
|
nnoremap <leader>w <cmd>w<cr>
|
||||||
|
nnoremap <leader>q <cmd>q<cr>
|
Loading…
Reference in a new issue