Skip to content
This repository has been archived by the owner on May 14, 2023. It is now read-only.
/ lazyvimp Public archive

(LazyvimP)resets. Personal LazyVim extras.

License

Notifications You must be signed in to change notification settings

2nthony/lazyvimp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

⚡ Archived

I am too lazy to maintain separate projects, now I've moved these code back to my neovim config extras, copy the source code if you need.


lazyvimp

LazyVim Presets, PERSONAL LazyVim extras, may change often, to avoid breaking, should always override the options or copy the source code to become your own one.

My purpose is make it more like vscode.

Usage

-- lua/config/lazy.lua, should under LazyVim and above your plugins
require('lazy').setup({
  spec = {
    { "LazyVim/LazyVim", import = "lazyvim.plugins" },
    { "2nthony/lazyvimp" },
    { import = "plugins" },
  }
})

cmp-supertab

{ import = "lazyvimp.cmp-supertab" }

Unlike lazyvim receipes supertab or nvim-cmp wiki supertab.
If in a snippet, tab jump to next, s-tab will jump back; if NOT in a snippet and cmp menu visible, tab will map to the enter; otherwise is just a tab.

cmp-esc-unlink-snippet

{ import = "lazyvimp.cmp-esc-unlink-snippet" }

When in a snippet, esc(back to normal mode) will unlink/break the snippet actions, means no more jump next action.

project

{ import = "lazyvimp.project" }

Unlike lazyvim.extras.util.project.
I use my forked project.nvim to make this like vscode, press the enter button will restore the sessions.

Copy lines action

{ import = "lazyvimp.copy-lines-action" }

Simliar to vscode Copy line up / down.
But map to s-a-j and s-a-k, support visual mode.

Credits

License

MIT