我自己的idea vim配置,用熟悉了以后还真的挺方便的

比较常用的有

ManageRecentProjects,快速切换多个project,经常会遇到同时打开多个project,来回切换方便多了

HideAllWindows,隐藏所有窗口,即放大当前窗口,快速专注,更进一步,进入专注模式ToggleDistractionFreeMode,连菜单栏都隐藏

其他还有GotoFile, FindInPath, GotoImplementation, GotoDeclaration, RenameElement, SelectInProjectView 都是很常用的功能

""" Map leader to space ---------------------
let mapleader=" " """ set english in normal
let keep_input_source_in_normal="com.apple.keylayout.ABC"
set keep-english-in-normal """ Plugins --------------------------------
set easymotion
set NERDTree
""" Plugin settings ------------------------- """ Common settings -------------------------
set clipboard+=unnamed """ Idea specific settings ------------------
set ideajoin
set ideastatusicon=gray
set idearefactormode=keep """ Mappings --------------------------------
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)

最新文章

  1. [BZOJ3729]Gty的游戏
  2. Sprint1(第七天11.20)
  3. MySQL – 导出数据成csv
  4. hdu 1021
  5. MySQL数据库优化技术概述
  6. 在Eclipse中查看JDK类库的源代码
  7. SSH2中实例化不了Action的一个原因
  8. 访问nginx-php页面的时候 报access denied.
  9. Loadrunner--自动关联和手动关联
  10. php异步执行其他程序
  11. Nginx使用教程(一):下载并编译安装Nginx
  12. MD5+salt 工具类
  13. How to Pronounce the Days of the Week
  14. mybatis 之 parameterType=&quot;HashMap&quot;参数包含list
  15. 1044 Shopping in Mars (25 分)
  16. 深入理解Hystrix之文档翻译
  17. 【Linux】监控系统的状态
  18. python模块学习之warnings
  19. JT809 加密解密算法
  20. tabs(标签页的现成页面)原生js写法

热门文章

  1. spring boot 配置Bean
  2. 清理Linux系统无效的或者损坏的包
  3. git -----已经被跟踪文件如何在本地提交时忽略
  4. 虚拟机中 Linux 提示“设备上没有空间”,扩容磁盘
  5. 【Linux】docker学习
  6. 福音---Mysql数据库Schema快速生成
  7. crontal 计划任务
  8. web基础(7): JavaScript 简介/语法
  9. Mybatisplus-Generator代码生成器-简单示例
  10. CentOS 7.9 环境下构建 Python 3.9