Revert "fish/git: Manually set file type to git when calling nvim"
This reverts commit 2102b9983b
.
Guess this got fixed in upstream commit 927d4d2.
This commit is contained in:
parent
7921bcc7d2
commit
ca2d092166
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ function gl --description 'Git browse commits'
|
|||
git log --color=always --format='%C(auto)%h%d %s %C(green)%C(bold)%cr% C(blue)%an' $argv | fzf --exact --no-sort --reverse --tiebreak=index --no-multi --ansi \
|
||||
--preview="$view_commit" \
|
||||
--header="ENTER to view, CTRL-Y to copy hash, CTRL-O to open on GitHub, CTRL-X to checkout, CTRL-C to exit, CTRL-S to cherry-pick" \
|
||||
--bind "enter:execute:$view_commit_nvim | nvim -R -c 'setf git'" \
|
||||
--bind "enter:execute:$view_commit_nvim | nvim -R -" \
|
||||
--bind "ctrl-y:execute:$copy_commit_hash" \
|
||||
--bind "ctrl-x:execute:$git_checkout" \
|
||||
--bind "ctrl-o:execute:$github_open" \
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
email = sanchayan@sanchayanmaity.net
|
||||
login = sanchayanmaity
|
||||
[core]
|
||||
editor = nvim -c 'setf git'
|
||||
editor = nvim
|
||||
excludesfile = ~/.config/git/ignore
|
||||
[color]
|
||||
ui = true
|
||||
|
|
Loading…
Reference in a new issue