add wezterm to start vim

This commit is contained in:
Simon Rieger 2023-05-05 13:35:43 +02:00
parent 10dbd8ea20
commit 85c027334b
7 changed files with 33 additions and 16 deletions

View file

@ -102,9 +102,9 @@ MountRemovable=true
AlwaysShowTabs=true AlwaysShowTabs=true
FixedHeight=480 FixedHeight=480
FixedWidth=640 FixedWidth=640
LastWindowHeight=789 LastWindowHeight=600
LastWindowMaximized=false LastWindowMaximized=false
LastWindowWidth=960 LastWindowWidth=1000
PathBarButtons=true PathBarButtons=true
RememberWindowSize=true RememberWindowSize=true
ReopenLastTabs=false ReopenLastTabs=false

View file

@ -12,8 +12,8 @@ x-content/win32-software=pcmanfm
[ui] [ui]
always_show_tabs=0 always_show_tabs=0
max_tab_chars=32 max_tab_chars=32
win_width=640 win_width=1160
win_height=480 win_height=820
maximized=1 maximized=1
splitter_pos=150 splitter_pos=150
media_in_new_tab=0 media_in_new_tab=0

View file

@ -1,5 +1,5 @@
[Added Associations] [Added Associations]
application/json=code-oss.desktop;vim.desktop; application/json=code-oss.desktop;userapp-wezterm-vim-LS2K41.desktop;
application/pdf=org.gnome.Evince.desktop;com.github.xournalpp.xournalpp.desktop; application/pdf=org.gnome.Evince.desktop;com.github.xournalpp.xournalpp.desktop;
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop; application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
application/x-extension-htm=firefox.desktop; application/x-extension-htm=firefox.desktop;
@ -9,20 +9,20 @@ application/x-extension-xht=firefox.desktop;
application/x-extension-xhtml=firefox.desktop; application/x-extension-xhtml=firefox.desktop;
application/x-ms-dos-executable=wine.desktop; application/x-ms-dos-executable=wine.desktop;
application/x-raw-disk-image-xz-compressed=org.gnome.FileRoller.desktop; application/x-raw-disk-image-xz-compressed=org.gnome.FileRoller.desktop;
application/x-shellscript=vim.desktop; application/x-shellscript=userapp-wezterm-vim-LS2K41.desktop;
application/x-xz-compressed-tar=engrampa.desktop; application/x-xz-compressed-tar=engrampa.desktop;
application/x-yaml=vim.desktop; application/x-yaml=userapp-wezterm-vim-LS2K41.desktop;
application/xhtml+xml=firefox.desktop; application/xhtml+xml=firefox.desktop;
application/xml=vim.desktop; application/xml=userapp-wezterm-vim-LS2K41.desktop;
audio/flac=vlc.desktop; audio/flac=vlc.desktop;
audio/mpeg=vlc.desktop; audio/mpeg=vlc.desktop;
audio/x-opus+ogg=vlc.desktop; audio/x-opus+ogg=vlc.desktop;
audio/x-vorbis+ogg=vlc.desktop; audio/x-vorbis+ogg=vlc.desktop;
image/png=lximage-qt.desktop;org.xfce.ristretto.desktop;imv.desktop;feh.desktop;org.gnome.eog.desktop; image/png=lximage-qt.desktop;org.xfce.ristretto.desktop;imv.desktop;feh.desktop;org.gnome.eog.desktop;
inode/directory=xfce4-file-manager.desktop;pcmanfm.desktop;pcmanfm-qt.desktop; inode/directory=xfce4-file-manager.desktop;pcmanfm.desktop;pcmanfm-qt.desktop;
text/csv=vim.desktop; text/csv=userapp-wezterm-vim-LS2K41.desktop;
text/html=firefox.desktop; text/html=firefox.desktop;
text/plain=vim.desktop; text/plain=userapp-wezterm-vim-LS2K41.desktop;
video/mp4=vlc.desktop; video/mp4=vlc.desktop;
video/x-matroska=vlc.desktop; video/x-matroska=vlc.desktop;
x-scheme-handler/chrome=firefox.desktop; x-scheme-handler/chrome=firefox.desktop;
@ -41,7 +41,7 @@ image/gif=lximage-qt.desktop;
image/bmp=lximage-qt.desktop; image/bmp=lximage-qt.desktop;
application/vnd.rar=xarchiver.desktop;org.gnome.FileRoller.desktop; application/vnd.rar=xarchiver.desktop;org.gnome.FileRoller.desktop;
video/quicktime=vlc.desktop; video/quicktime=vlc.desktop;
text/x-log=vim.desktop;code-oss.desktop; text/x-log=userapp-wezterm-vim-LS2K41.desktop;code-oss.desktop;
x-scheme-handler/mid=userapp-Thunderbird-Y331Y1.desktop; x-scheme-handler/mid=userapp-Thunderbird-Y331Y1.desktop;
x-scheme-handler/news=userapp-Thunderbird-7E70Y1.desktop; x-scheme-handler/news=userapp-Thunderbird-7E70Y1.desktop;
x-scheme-handler/snews=userapp-Thunderbird-7E70Y1.desktop; x-scheme-handler/snews=userapp-Thunderbird-7E70Y1.desktop;
@ -53,7 +53,7 @@ x-scheme-handler/webcal=userapp-Thunderbird-IT7VY1.desktop;
x-scheme-handler/webcals=userapp-Thunderbird-IT7VY1.desktop; x-scheme-handler/webcals=userapp-Thunderbird-IT7VY1.desktop;
[Default Applications] [Default Applications]
application/json=vim.desktop application/json=userapp-wezterm-vim-LS2K41.desktop
application/pcx=lximage-qt.desktop application/pcx=lximage-qt.desktop
application/pdf=org.gnome.Evince.desktop application/pdf=org.gnome.Evince.desktop
application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop
@ -62,9 +62,9 @@ application/x-extension-html=firefox.desktop
application/x-extension-shtml=firefox.desktop application/x-extension-shtml=firefox.desktop
application/x-extension-xht=firefox.desktop application/x-extension-xht=firefox.desktop
application/x-extension-xhtml=firefox.desktop application/x-extension-xhtml=firefox.desktop
application/x-shellscript=vim.desktop application/x-shellscript=userapp-wezterm-vim-LS2K41.desktop
application/x-xz-compressed-tar=engrampa.desktop application/x-xz-compressed-tar=engrampa.desktop
application/x-yaml=vim.desktop application/x-yaml=userapp-wezterm-vim-LS2K41.desktop
application/xhtml+xml=firefox.desktop application/xhtml+xml=firefox.desktop
audio/flac=vlc.desktop audio/flac=vlc.desktop
audio/x-opus+ogg=vlc.desktop audio/x-opus+ogg=vlc.desktop
@ -86,7 +86,7 @@ image/x-targa=lximage-qt.desktop
image/x-tga=lximage-qt.desktop image/x-tga=lximage-qt.desktop
inode/directory=pcmanfm.desktop inode/directory=pcmanfm.desktop
text/html=firefox.desktop text/html=firefox.desktop
text/plain=vim.desktop text/plain=userapp-wezterm-vim-LS2K41.desktop
video/mp4=vlc.desktop video/mp4=vlc.desktop
video/x-matroska=vlc.desktop video/x-matroska=vlc.desktop
x-scheme-handler/chrome=firefox.desktop x-scheme-handler/chrome=firefox.desktop

View file

@ -1,5 +1,5 @@
[Default Applications] [Default Applications]
inode/directory=pcmanfm-qt.desktop inode/directory=pcmanfm-qt.desktop
text/x-log=vim.desktop text/x-log=userapp-wezterm-vim-LS2K41.desktop
image/png=lximage-qt.desktop image/png=lximage-qt.desktop
application/pdf=org.gnome.Evince.desktop application/pdf=org.gnome.Evince.desktop

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
Name=Start Vim in Wezterm
Exec=wezterm start vim %f
Categories=Other;
NoDisplay=false
Terminal=false
Icon=gvim
Categories=Utility;TextEditor;
StartupNotify=false
MimeType=text/x-log;text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;

View file

@ -44,6 +44,9 @@ if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
export PATH="$PATH:~/go/bin/" export PATH="$PATH:~/go/bin/"
export PATH="$PATH:~/.local/share/flatpak/exports/bin/" export PATH="$PATH:~/.local/share/flatpak/exports/bin/"
export TERMINAL=wezterm
export EDITOR=vim
#export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:~/.local/lib/ #export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:~/.local/lib/
exec sway exec sway

View file

@ -111,6 +111,9 @@ export PATH="$PATH:$HOME/.local/share/JetBrains/Toolbox/scripts"
export PNPM_HOME="$HOME/.local/share/pnpm" export PNPM_HOME="$HOME/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH" export PATH="$PNPM_HOME:$PATH"
export TERMINAL=wezterm
export EDITOR=vim
source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/key-bindings.zsh