Skip to content

Instantly share code, notes, and snippets.

@nshermione
Last active February 9, 2023 03:06
Show Gist options
  • Save nshermione/de55b87e8cff71cd95a0367f4e4cde5d to your computer and use it in GitHub Desktop.
Save nshermione/de55b87e8cff71cd95a0367f4e4cde5d to your computer and use it in GitHub Desktop.
ideavimrc
let mapleader=" "
set surround
set so=5
set commentary
sethandler <C-D> a:vim
sethandler <C-G> a:ide
sethandler <C-H> a:ide
sethandler <C-L> a:vim
sethandler <C-V> a:ide
sethandler <C-W> a:vim
sethandler <C-[> a:ide
sethandler <C-C> a:ide
sethandler <C-]> a:ide
sethandler <C-P> a:ide
sethandler <C-K> a:ide
sethandler <C-F> a:ide
sethandler <C-Y> a:vim
sethandler <C-O> a:ide
sethandler <C-I> a:ide
sethandler <C-A> a:ide
nnoremap <Tab> >>_
nnoremap <S-Tab> <<_
inoremap <S-Tab> <C-D>
vnoremap <Tab> >gv
vnoremap <S-Tab> <gv
map <leader>r <Action>(RenameElement)
map <leader>b <Action>(ToggleLineBreakpoint)
map <leader>d <Action>(Debug)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment