dotfiles/fake_home/.ideavimrc

33 lines
799 B
Plaintext
Raw Normal View History

2020-02-09 12:29:17 -05:00
set nocompatible " be iMproved, required
filetype off " required
2023-09-27 12:21:12 -04:00
set visualbell
set noerrorbells
2020-02-09 12:29:17 -05:00
set relativenumber
set number
set autoindent
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
inoremap jj <Esc>
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
2023-09-27 12:21:12 -04:00
nnoremap dK <Esc>kdd
nnoremap dJ <Esc>jdd
2020-02-09 12:29:17 -05:00
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>
2023-09-27 12:21:12 -04:00
let mapleader = " "
map <leader>bs :action BuildWholeSolutionAction<CR>
2020-02-09 12:29:17 -05:00
autocmd BufWinLeave *.* mkview
autocmd BufWinEnter *.* silent loadview
set viewoptions-=options
set nohlsearch
" Save with sudo
cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
2024-01-21 02:17:26 -05:00
set ideajoin