Mercurial > dotfiles
changeset 469:c983b1061bab
Add open in neovim
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 29 Sep 2021 11:47:31 +0200 |
parents | 5c1146abe8e7 |
children | e4937efdf43e |
files | .chezmoiignore dot_config/kitty/kitty.conf.tmpl dot_local/.keep dot_local/share/.keep dot_local/share/private_applications/.keep dot_local/share/private_applications/defaults.list dot_local/share/private_applications/nvim.desktop.tmpl |
diffstat | 4 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.chezmoiignore Sat Sep 25 16:56:22 2021 +0200 +++ b/.chezmoiignore Wed Sep 29 11:47:31 2021 +0200 @@ -22,3 +22,7 @@ bin/* .zsh/* {{ end }} + +{{ if ne .chezmoi.os "linux" }} +.local/share/applications/* +{{ end }}
--- a/dot_config/kitty/kitty.conf.tmpl Sat Sep 25 16:56:22 2021 +0200 +++ b/dot_config/kitty/kitty.conf.tmpl Wed Sep 29 11:47:31 2021 +0200 @@ -54,3 +54,5 @@ linux_display_server x11 editor nvim + +map ctrl+g kitten hints --type=linenum nvim +{line} {path}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dot_local/share/private_applications/defaults.list Wed Sep 29 11:47:31 2021 +0200 @@ -0,0 +1,2 @@ +[Default Applications] +text/plain=nvim.desktop
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dot_local/share/private_applications/nvim.desktop.tmpl Wed Sep 29 11:47:31 2021 +0200 @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=Neovim +Type=Application +Terminal=false +Exec={{ .chezmoi.homeDir }}/.local/kitty.app/bin/kitty sh -c '/home/linuxbrew/.linuxbrew/bin/nvim %F' +MimeType=text/plain +X-Desktop-File-Install-Version=0.26