Skip to content

Instantly share code, notes, and snippets.

@citizenmatt
Created September 4, 2019 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save citizenmatt/5985f628b3d32172e90a977b33d47c1d to your computer and use it in GitHub Desktop.
Save citizenmatt/5985f628b3d32172e90a977b33d47c1d to your computer and use it in GitHub Desktop.
.ideavimrc file
" See runtime/defaults.vim
" vim 8.0+ adds runtime/defaults.vim that gets loaded if there is no .vimrc
set history=200
set scrolloff=5
set incsearch
set nrformats-=octal
" vim-sensible settings that work in IdeaVim
nnoremap <silent> <C-L> :nohlsearch<CR>
set sidescrolloff=5
" My stuff
set clipboard^=unnamedplus,unnamed
set hlsearch
set ignorecase
set smartcase
set visualbell
set showmode
set number relativenumber
" Emulate plugins
set surround
set multiple-cursors
set commentary
" <leader> is \
nnoremap <leader><space> :nohlsearch<CR>
set ideajoin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment