Last active
August 7, 2024 19:50
-
-
Save marty-Wallace/686f34fc3dc6e897ffa551463b96a556 to your computer and use it in GitHub Desktop.
Bare bones vimrc to make IdeaVim stop beeping + a few other essentials
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""README | |
"" This file should be called .ideavimrc on a linux/unix system or _ideavimrc on a windows system. | |
"" You will need to restart intellij once the file is added. | |
" Makes moving the cursor function as expected with wrapped lines | |
noremap j gj | |
noremap k gk | |
" This will keep the cursor at least 15 lines away from the top or bottom of the editor window | |
set scrolloff=15 | |
" These two lines will fully disable any visual or noisy bell | |
" on both windows and linux. >:) | |
set noerrorbells visualbell t_vb= | |
autocmd GUIEnter * set visualbell t_vb= | |
" Show matching braces/brackets | |
set showmatch | |
set showcmd | |
" Make indenting and unindenting in visual mode retain the selection so | |
" you don't have to re-select or type gv every time. | |
vnoremap > ><CR>gv | |
vnoremap < <<CR>gv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment