Skip to content

shankeleven/init.lua

 
 

Repository files navigation

this is a fork from the famous rc - ThePrimeagen's init.lua , but ofc this one is BETTER!

This is modified for my personal use but feel free to use it , it has following modifications

  • clipboard and yank in sync(solved the buffer sync during explorer)

alt text

  • ctrl C , ctlr X ,ctrl V , ctrl A work as usual in insert mode(copy, cut , paste , select all respectively)
  • alt + arrow keys to move lines up and down (to recreate VS code vibes)
  • markdown preview [:MarkdownPreview]
  • added support for ClaudeCode [:ClaudeCode] (Prerequisite : bun install -g @anthropic-ai/[email protected])

image

  • easy nested files and folders navigation and creation with - using oil

  • removed the extras like caleb , cockpit and streamer from the original one

  • removed the extras like caleb , cockpit and streamer from the original one

  • treesitter parses files upto 1mb large

  • works well with go and cpp , just run :TSInstall go cpp

  • added debug adapter

  • comments out the line with ctrl + / in normal and visual mode

  • supports copilot auto completion(solved problem of psuedo lsp attachement conflict to the buffer)

  • horizontal scroll with ctrl+l(right) and ctrl+h(left) in normal mode

  • :e for nested files creation

  • different cursors for Normal , Insert and Relpace modes

  • improved fuzzyfinder with preview parsing

alt text

  • Harpoon file addition and removal made more intuitive , using ctrl with Q W E R T Y to add at 1,2,3,4,5 respectively

image

Link to harpoon-2(side branch) as Harpoon(master branch) has some functions that misbehave , I'd upload the corrected version someday.

Useful commands:

  • :TSInstall - to install treesitter parsers
  • :TSUpdate - to update treesitter parsers
  • :TSUninstall <language> - to uninstall treesitter parsers
  • :Mason - to install packages
  • :Lazy sync - to install plugins
  • :Lazy update - to update plugins
  • :Copilot disable - to update plugins

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%