Skip to content

Some utils to solve git conflicts with kakoune a lil bit easier.

Notifications You must be signed in to change notification settings

eko234/git-konflict.kak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

git-konflict

Suggested mappings

plug "eko234/git-konflict.kak" config %{
  declare-user-mode konflict
  map global user K ': enter-user-mode konflict<ret>'
  map global konflict s ': konflict-start<ret>'
  map global konflict j ': konflict-use-mine<ret>'
  map global konflict k ': konflict-use-yours<ret>'
  map global konflict J ': konflict-use-mine-then-yours<ret>'
  map global konflict K ': konflict-use-yours-then-mine<ret>'
  map global konflict d ': konflict-use-none<ret>'
}

Commands

The base commands for use-mine and use-yours were taken from the kakoune discuss forum, thanks krobelus!, I added some more functionalities, the command konflict-start will highlight all blocks with the pattern of a git conflict and then grep for lines that start with <<<<< so you can navigate conflicts with ease.

theme image

About

Some utils to solve git conflicts with kakoune a lil bit easier.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published