Launch.nvim icon indicating copy to clipboard operation
Launch.nvim copied to clipboard

Feature request: Add these lines to nvim\lua\user\keymaps.lua

Open Pinaki82 opened this issue 3 years ago • 1 comments

I don't want to create a pull request right now, so I thought I should create an issue and request the developers add a handy shortcut. It's too generic. Nothing will be hurt. Please include this.

nvim\lua\user\keymaps.lua

After line number 24,

-- Put less stress on your fingers while writing 'colon'
--   Instead of typing   SHIFT + ;   type    ;
keymap("n", ";", ":")

Also, tell users to create a file compile_flags.txt beside the C/C++ files if they do not want to generate a compile-command.json for simple single-file C/C++ source codes.

Example: compile_flags.txt for MSYS2-Mingw-w64 with 'Clangd' as the server:

-Wall
-Wextra
-Wmain
-Wunreachable-code
-Wstrict-prototypes
-Wmissing-prototypes
-Wmissing-declarations
-Wformat-y2k
-Wconversion
-Weverything

-target
x86_64-pc-windows-gnu

-isystem C:\msys64\mingw64\x86_64-w64-mingw32\include
-isystem C:\msys64\mingw64\include
-isystem C:\msys64\mingw64\include\c++\11.2.0

-IC:\xtralibs
-IC:\xtralibs\my_custom_library

Everything else is working fine. I really appreciate any help you can provide.

Pinaki82 avatar Aug 07 '22 16:08 Pinaki82

this is a basic ide and what it does is give you a starting point, what we give here are the necessary stuff and then people can modify or add the stuff they like

Rishabh672003 avatar Oct 12 '22 10:10 Rishabh672003

so clone the repo and do all the things you want with it, here only the essential stuff will be added

Rishabh672003 avatar Oct 18 '22 08:10 Rishabh672003