GithubHelp home page GithubHelp logo

ecogest / vim-cppman Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beomjoongoh/vim-cppman

0.0 0.0 0.0 348 KB

Plugin for use of cppman ("C++ 98/11/14 manual pages for Linux/MacOS" ) from within Vim

Vim Script 100.00%

vim-cppman's Introduction

vim-cppman

Fork of BeomjoonGoh's vim-cppman which is based itself on gauteh's vim-cppman.

By default, :Cppman <pattern> opens result in a new buffer. The commands Cppmant Cppmans and Cppmanv respectively open the result in a tab, split, vertical split.

A plugin for using cppman from within Vim. cppman is used to lookup "C++ 98/11/14 manual pages for Linux/MacOS" through either cplusplus.com or cppreference.com.

Originally cppman uses Vim to page and syntax highlight the man page, but it is not set up to be used in buffer in an existing VIM instance. That is what this small plugin does.

This is heavily based on the existing cppman.vim which is used for the Vim pager.

Usage

The keywordprg and iskeywordsettings are automatically set for C++ and C files. Otherwise use the same keybindings as in cppman:

Move the cursor to the keyword and hit K to lookup the keyword in a new buffer.

You can also use e.g. :Cppman iostream to lookup a keyword.

Installation

1.) Install cppman

2.) Install this plugin using your favourite plugin manager.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.