首页 > 其他分享 >ideavimrc 示例

ideavimrc 示例

时间:2022-11-09 15:56:31浏览次数:69  
标签:-------------------------------- map set settings 示例 ideavimrc

""" Map leader to space ---------------------
let mapleader=" "
""" mac设置normal模式,为英文输入
let keep_input_source_in_normal="com.apple.keylayout.ABC"

""" Plugins  --------------------------------
set easymotion
set NERDTree
""" Plugin settings -------------------------

""" Common settings -------------------------
""" 保证剪贴板和vin公用
set clipboard+=unnamed

""" Idea specific settings ------------------
set ideajoin
set ideastatusicon=gray
set idearefactormode=keep

""" Mappings --------------------------------
""" 保证剪贴板的内容可以一直p一直粘贴
xnoremap p pgvy

""" Action is not suitable for noremap, only map
map <leader>i <Action>(GotoImplementation)
map <leader>h <Action>(FindInPath)
map <leader>d <Action>(GotoDeclaration)
map <leader>g <Action>(Generate)
map <leader>r <Action>(RenameElement)
map <leader>a <Action>(ShowIntentionActions)
map <leader>o <Action>(FileStructurePopup)
map <leader>s <Action>(Switcher)
map <leader>c <Action>(GotoFile)
map <leader>m <Action>(HideAllWindows)
map <leader>M <Action>(ToggleDistractionFreeMode)
map <leader>u <Action>(ShowUmlDiagram)
map <leader>e <Action>(GotoNextError)
map <leader>p <Action>(SelectInProjectView)
map <leader>t <Action>(ActivateTerminalToolWindow)
map <leader>w <Action>(CopyReference)
map <leader>j <Action>(CloseAllEditorsButActive)
map <leader>l <Action>(SplitVertically)
""" map <leader>j <Action>(CloseAllEditors)
map <leader>n <Action>(ManageRecentProjects)
map <leader>b <Action>(EditorCompleteStatement)
map <leader>v <Action>(ExtractMethod)

标签:--------------------------------,map,set,settings,示例,ideavimrc
From: https://www.cnblogs.com/IC1101/p/16486909.html

相关文章