Skip to content

Instantly share code, notes, and snippets.

@grammy-jiang
Last active November 19, 2023 04:54
Show Gist options
  • Save grammy-jiang/3d4f9bab3bc2a94dc676f69310ff56ea to your computer and use it in GitHub Desktop.
Save grammy-jiang/3d4f9bab3bc2a94dc676f69310ff56ea to your computer and use it in GitHub Desktop.
$HOME/.ideavimrc
" ============================================================================ "
" URL Original: https://gist.github.com/grammy-jiang/3d4f9bab3bc2a94dc676f69310ff56ea/raw
" URL Shorten: https://git.io/JcVKE
"
" Usage:
" wget --output-document=$HOME/.ideavimrc https://git.io/JcVKE
" ============================================================================ "
set showcmd " show (partial) command in the status bar
set number relativenumber
" 10 lines above/below cursor when scrolling
set scrolloff=10
" ======== Search ============================================================ "
set hlsearch " Highlight search results
set ignorecase " Case insensitive search
set incsearch " Incremental search
set smartcase " Non-case sensitive search
set showmatch " Show matching brackets
" ======== Plugins =========================================================== "
set commentary
set easymotion
set ideajoin
set multiple-cursors
set surround
" Replace the default search of Vim
map / <Plug>(easymotion-sn)
omap / <Plug>(easymotion-tn)
@grammy-jiang
Copy link
Author

Usage

wget --output-document=$HOME/.ideavimrc https://git.io/JfODO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment