Some ideavimrc tweaks

This commit is contained in:
Sage Vaillancourt 2023-12-13 12:17:24 -05:00
parent 3557f56449
commit 4f2cd94b35
1 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,7 @@
set nocompatible " be iMproved, required set nocompatible " be iMproved, required
filetype off " required filetype off " required
set visualbell
set noerrorbells
" set the runtime path to include Vundle and initialize " set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim 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-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H> 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> 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> 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 BufWinLeave *.* mkview
autocmd BufWinEnter *.* silent loadview autocmd BufWinEnter *.* silent loadview
set viewoptions-=options set viewoptions-=options
@ -63,3 +71,4 @@ set nohlsearch
" Save with sudo " Save with sudo
cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit! cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
set ideajoin