Skip to content

Instantly share code, notes, and snippets.

@Leaking
Created May 17, 2022 13:41
Show Gist options
  • Save Leaking/2dba67fa725f7bdd508627cf765f9223 to your computer and use it in GitHub Desktop.
Save Leaking/2dba67fa725f7bdd508627cf765f9223 to your computer and use it in GitHub Desktop.
set keep-english-in-normal
set keep-english-in-normal-and-restore-in-insert
set showmode
set showcmd
set number " line numbers
set hlsearch " highlight search occurrences
set ignorecase " ignore case in search patterns
set smartcase " no ignore case when pattern is uppercase
set incsearch " show search results while typing
set wrapscan " searches wrap around the end of the file
set gdefault " substitute all occurrences in line per default
set history=10000 " keep x lines of command line history
set scrolloff=5 sidescrolloff=10 " keep some lines before and after the cursor visible
set clipboard=unnamedplus,unnamed,ideaput " integrate with system clipboard
" set multiple-cursors
set commentary
set surround " emulate vim-surround plugin
let mapleader = " "
nnoremap <Leader>o :<C-u>action RecentProjectListGroup<CR>
nnoremap <leader>vv :e ~/.ideavimrc<CR>
nnoremap <leader>vr :source ~/.ideavimrc<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment