Skip to content

Commit

Permalink
add favorite as leader w
Browse files Browse the repository at this point in the history
  • Loading branch information
prontera committed Nov 17, 2019
1 parent 1b381ee commit 4e582ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build-idea-properties.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ -e $HOME/.zshrc ]]; then
echo "export IDEA_PROPERTIES=${idea_pros_path}" >> $HOME/.zshrc
touch ${idea_pros_path}
echo 'idea.config.path=${user.home}/Public/Nutstore/config/mac/IntelliJIdea2016.3/config' > ${idea_pros_path}
#echo 'idea.plugins.path=${user.home}/Public/Nutstore/config/mac/IntelliJIdea2016.3/plugins' >> ${idea_pros_path}
echo 'idea.plugins.path=${user.home}/Public/Nutstore/config/mac/IntelliJIdea2016.3/plugins' >> ${idea_pros_path}
fi
fi
if [[ -e $HOME/.bashrc ]];then
Expand All @@ -24,7 +24,7 @@ if [[ -e $HOME/.bashrc ]];then
echo "export IDEA_PROPERTIES=${idea_pros_path}" >> $HOME/.bashrc
touch ${idea_pros_path}
echo 'idea.config.path=${user.home}/Public/Nutstore/config/mac/IntelliJIdea2016.3/config' > ${idea_pros_path}
#echo 'idea.plugins.path=${user.home}/Public/Nutstore/config/mac/IntelliJIdea2016.3/plugins' >> ${idea_pros_path}
echo 'idea.plugins.path=${user.home}/Public/Nutstore/config/mac/IntelliJIdea2016.3/plugins' >> ${idea_pros_path}
fi
fi

Expand Down
9 changes: 6 additions & 3 deletions idea/idea.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ noremap <leader>` <ESC>:action SelectInProjectView<CR>
" Leader key relevant
" quit
noremap <leader>q :wq<CR>
" w
"noremap <leader>w <ESC>:action<CR>
" write to favorite
noremap <leader>w <ESC>:action AddToFavoritesPopup<CR>
" error description
noremap <leader>e <ESC>:action ShowErrorDescription<CR>
" return
Expand Down Expand Up @@ -150,7 +150,7 @@ noremap gi <ESC>:action ShowIntentionActions<CR>
noremap gp <ESC>:action ParameterInfo<CR>
" a
"noremap ga <ESC>:action emacsIDEAs.AceJump<CR>
"noremap ga <ESC>:action <CR>
" goto source
noremap gs <ESC>:action GotoImplementation<CR>
" goto declaration
Expand Down Expand Up @@ -189,6 +189,8 @@ noremap gm <ESC>:action GotoSymbol<CR>
"noremap \q <ESC>:action <CR>
" refresh
noremap \r <ESC>:source ~/.ideavimrc<CR>
" uml popup
noremap \u <ESC>:action ShowUmlDiagramPopup<CR>
" git flow
noremap \[ <ESC>:action Gitflow.OpenGitflowPopup<CR>
" Vcs
Expand All @@ -209,3 +211,4 @@ noremap ]] <ESC>:action MethodDown<CR>
" multiple cursors
map <A-M> <A-N>
set clipboard+=ideaput

0 comments on commit 4e582ff

Please sign in to comment.