Created
December 8, 2021 15:09
-
-
Save Amwam/4088a4e98f39eb9684311886ceef78c2 to your computer and use it in GitHub Desktop.
Idea vim rc file
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
set ignorecase " Ignore case in search patters | |
set smartcase " Case sensitive when capital in search | |
set incsearch " Highlight as you search | |
set smartjoin " join via IDE | |
set number | |
set relativenumber | |
set visualbell | |
set gdefault | |
let mapleader = " " | |
"Show message on status line, for current mode | |
set showmode | |
" Highlight variables with * | |
nnoremap * yiw:let @/=@"<CR>:set hls<CR>zz | |
" Turn of highlighting by double tapping \\ | |
nnoremap <leader><leader> :set hls!<CR> | |
" Use system clipboard | |
set clipboard=unnamed | |
" Vim-surround | |
set surround | |
set ideajoin | |
set easymotion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment