Enabled proper vim system clipboard support

This was possible with vimx pkg as per https://vim.fandom.com/wiki/Accessing_the_system_clipboard
This commit is contained in:
fedora 2019-05-23 22:33:48 +02:00
parent 63939ac72a
commit f94d3bb924
Signed by: wanderer
GPG Key ID: 7B28D8DC28BD2388
3 changed files with 5 additions and 4 deletions

View File

@ -68,7 +68,7 @@
</item>
<item label="vim">
<action name="Execute">
<command>gnome-terminal -- vim</command>
<command>gnome-terminal -- vimx</command>
</action>
</item>
@ -150,12 +150,12 @@
<menu id="conky" label="conky">
<item label="edit conky.lua">
<action name="Execute">
<command>gnome-terminal -- vim ~/.conky/conky.lua</command>
<command>gnome-terminal -- vimx ~/.conky/conky.lua</command>
</action>
</item>
<item label="edit conkyrc">
<action name="Execute">
<command>gnome-terminal -- vim ~/.conky/conkyrc</command>
<command>gnome-terminal -- vimx ~/.conky/conkyrc</command>
</action>
</item>

View File

@ -407,7 +407,7 @@
<!-- vim -->
<keybind key="W-e">
<action name="Execute">
<command>gnome-terminal -- vim</command>
<command>gnome-terminal -- vimx</command>
</action>
</keybind>
<!-- xed -->

View File

@ -122,6 +122,7 @@
alias ads='/home/fedora/MEGAsync/utb/2semester/ADS/'
alias spt='/home/fedora/MEGAsync/utb/2semester/SPT/'
alias wget='wget -c' # allows to restore progress after interruption
if [[ -x "$(command -v vimx)" ]]; then alias vim='vimx'; fi # proper clipboard support
alias v='vim' # life's too short to type "vim" every time in full
alias vimrc='vim ~/.vim/vimrc'
alias alltheconfigs='~/alltheconfigs.sh'