GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - chxuan/cpp-mode: :leaves:A C++ IDE for vim

BranchesTags
Open more actions menu

Latest commit

 

History

63 Commits
63 Commits

Folders and files

NameName
Last commit message
Last commit date
autoload/cppmode
autoload/cppmode
 
 
ftplugin
ftplugin
 
 
screenshots
screenshots
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

cpp-mode: A C++ IDE for vim

安装

  • vim-plug

    Plug 'chxuan/cpp-mode'

  • Vundle

    Plugin 'chxuan/cpp-mode'

使用

  • :CopyCode

    拷贝函数或变量,和:PasteCode结合使用

  • :PasteCode

    生成函数实现或变量定义,和:CopyCode结合使用

  • :GoToFunImpl

    转到函数实现,该功能可替代ycm提供的转到函数实现(因为ycm转到函数实现经常不成功)

  • :Switch

    c++头文件和实现文件切换

  • :FormatFunParam

    格式化函数参数,用于函数参数列表过多的情况

  • :GenTryCatch

    生成try-catch代码块

参考配置

请将以下配置加到 ~/.vimrc,如果不喜欢以下映射,可根据个人喜好更改。

nnoremap <leader>y :CopyCode<cr>
nnoremap <leader>p :PasteCode<cr>
nnoremap <leader>U :GoToFunImpl<cr>
nnoremap <silent> <leader>a :Switch<cr>
nnoremap <leader><leader>fp :FormatFunParam<cr>
nnoremap <leader><leader>if :FormatIf<cr>
nnoremap <leader><leader>t dd :GenTryCatch<cr>
xnoremap <leader><leader>t d :GenTryCatch<cr>

License

This software is licensed under the MIT license. © 2018 chxuan

About

🍃A C++ IDE for vim

github.com/chxuan/cpp-mode

Resources

Readme
MIT license
Activity

Stars

32 stars

Watchers

1 watching

Forks

6 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.