Some ideavimrc tweaks
This commit is contained in:
parent
3557f56449
commit
4f2cd94b35
|
@ -1,5 +1,7 @@
|
|||
set nocompatible " be iMproved, required
|
||||
filetype off " required
|
||||
set visualbell
|
||||
set noerrorbells
|
||||
|
||||
" set the runtime path to include Vundle and initialize
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
|
@ -53,9 +55,15 @@ nnoremap <C-K> <C-W><C-K>
|
|||
nnoremap <C-L> <C-W><C-L>
|
||||
nnoremap <C-H> <C-W><C-H>
|
||||
|
||||
nnoremap dK <Esc>kdd
|
||||
nnoremap dJ <Esc>jdd
|
||||
|
||||
nnoremap >f viwc<C-O>:set ri<CR><C-R>"<Esc>:set nori<CR>
|
||||
vnoremap \f c<C-O>:set ri<CR><C-R>"<Esc>:set nori<CR>
|
||||
|
||||
let mapleader = " "
|
||||
map <leader>bs :action BuildWholeSolutionAction<CR>
|
||||
|
||||
autocmd BufWinLeave *.* mkview
|
||||
autocmd BufWinEnter *.* silent loadview
|
||||
set viewoptions-=options
|
||||
|
@ -63,3 +71,4 @@ set nohlsearch
|
|||
|
||||
" Save with sudo
|
||||
cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
|
||||
set ideajoin
|
Loading…
Reference in New Issue