Skip to content

Instantly share code, notes, and snippets.

@netodevel
Created April 3, 2023 18:40
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 netodevel/5bd0b1747830eff401cefdde1e2848fc to your computer and use it in GitHub Desktop.
Save netodevel/5bd0b1747830eff401cefdde1e2848fc to your computer and use it in GitHub Desktop.
my ideavim rc
let mapleader=" "
set hlsearch
set scrolloff=3
set ignorecase smartcase
set showmode
set history=1000
set clipboard+=unnamed
set relativenumber
" emulate plugins
set NERDTree
map <leader>n :NERDTree<CR>
"gcap
"gc
set commentary
Plug 'easymotion/vim-easymotion'
map <leader>F <Plug>(easymotion-s)
map <leader>f <Plug>(easymotion-f)
"cs”’
"ds”
"ysiw<b>
Plug 'tpope/vim-surround'
nnoremap <leader>Q :action ReopenClosedTab<cr>
nnoremap <leader>q :action CloseContent<cr>
nnoremap <leader>d :action ToggleLineBreakpoint<cr>
nnoremap <c-d> :action Debug<cr>
nnoremap <c-l> <c-w>l
nnoremap <c-j> <c-w>j
nnoremap <c-h> <c-w>h
nnoremap <c-k> <c-w>k
nnoremap <s-tab> gT
nnoremap <leader>g :action FindUsages<cr>
nnoremap <s-q> gt
nnoremap <leader>r :action Rename<cr>
nnoremap <leader>s :action Find<cr>
nnoremap <leader>tm :action ActivateTerminalToolWindow<cr>
nnoremap nd :action NewFolder<cr>
nnoremap <leader>tt :action GotoTest<cr>
nnoremap <leader>r :action RunClass<cr>
nnoremap <leader>ss :action Stop<cr>
nnoremap <leader>sb :nohlsearch<cr>
nnoremap <space>rr :action RenameElement<cr>
nnoremap <leader>ff :action SelectInProjectView<cr>
nmap <leader>- :vsplit<cr>
nnoremap <space>m :action FileStructurePopup<cr>
nnoremap <space>k :action HighlightUsagesInFile<cr>
nnoremap <s-Up> :action MethodUp<cr>
nnoremap <s-Down> :action MethodDown<cr>
nnoremap <C-n> :action NewClass <cr>
inoremap jj <Esc>
nnoremap <c-z> :action ToggleDistractionFreeMode<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment