Skip to content

Commit

Permalink
update ideavim
Browse files Browse the repository at this point in the history
  • Loading branch information
chris committed May 4, 2020
1 parent 1b381ee commit d5074a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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
5 changes: 4 additions & 1 deletion idea/idea.vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ set incsearch
set showmode
" 共享系统粘贴板
set clipboard=unnamed
set clipboard+=ideaput
" 搜索时智能匹配大小写
set ignorecase smartcase

Expand Down Expand Up @@ -150,7 +151,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 +190,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 Down

0 comments on commit d5074a0

Please sign in to comment.