Skip to content

Instantly share code, notes, and snippets.

@mohitt
Created December 17, 2019 20: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 mohitt/254cc01e94a458a0c47e45326b9a1cba to your computer and use it in GitHub Desktop.
Save mohitt/254cc01e94a458a0c47e45326b9a1cba to your computer and use it in GitHub Desktop.
ideavim
let mapleader=" "
nnoremap <Leader>ve :e c:\users\mohit.thakral\.ideavimrc<CR>
nnoremap <Leader>vl :source c:\users\mohit.thakral\.ideavimrc<CR>
set clipboard=unnamedplus,unnamed
set nu
set rnu
set is
"
nmap <Leader>f :action GotoFile<CR>
nmap <Leader>s :action FileStructurePopup<CR>
nmap <Leader>F :action FindInPath<CR>
nmap <Leader>a :action GotoAction<CR>
nmap <Leader>e :action SearchEverywhere<CR>
nmap <Leader>j :action PreviousTab<CR>
nmap <Leader>k :action NextTab<CR>
nmap <Leader>r :action RecentFiles<CR>
nmap <Leader>p :action ReformatWithPrettierAction<CR>
nmap <Leader>d :action CloseEditor<CR>
nmap <Leader>zl :action SelectInProjectView<CR>
nmap <Leader>zt :action CloseAllEditorsButActive<CR>
nmap <Leader>za :action HideAllWindows<CR>
nmap gu :action ShowUsages<CR>
nmap gi :action GotoImplementation<CR>
@mohitt
Copy link
Author

mohitt commented Dec 18, 2019

let mapleader=" "
nnoremap <Leader>ve :e c:\users\mohit.thakral\.ideavimrc<CR>
nnoremap <Leader>vl :source c:\users\mohit.thakral\.ideavimrc<CR>
set clipboard=unnamedplus,unnamed
set nu
set rnu
set is
nmap <Leader>f  :action GotoFile<CR>
nmap <Leader>s  :action FileStructurePopup<CR>
nmap <Leader>F  :action FindInPath<CR>
nmap <Leader>a  :action GotoAction<CR>
nmap <Leader>e  :action SearchEverywhere<CR>
nmap <Leader>j  :action PreviousTab<CR>
nmap <Leader>k  :action NextTab<CR>
nmap <Leader>r  :action RecentFiles<CR>
nmap <Leader>p  :action ReformatWithPrettierAction<CR>
nmap <Leader>d  :action CloseEditor<CR>

nmap <Leader>zl :action SelectInProjectView<CR>
nmap <Leader>zt :action CloseAllEditorsButActive<CR>
nmap <Leader>za :action HideAllWindows<CR>

nmap gu  :action ShowUsages<CR>

nmap gi :action GotoImplementation<CR> 
set commentary
set surround

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