diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-10-12 19:05:42 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | 1d4cc9308fe066a29e8951b0dee496375e9ef5da (patch) | |
tree | 2f41896c0cd8b0461959f934f840599f44482a88 /.config/nvim | |
parent | e3f7819e043a77c17b8e1d7d5ca475128450a668 (diff) |
[nvim] add libreoffice opener
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/config/config.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/config/config.vim b/.config/nvim/config/config.vim index cd814c3..2c1b895 100644 --- a/.config/nvim/config/config.vim +++ b/.config/nvim/config/config.vim @@ -31,3 +31,11 @@ endif " pdf autocmd BufWinEnter *.pdf split | exe expandcmd("terminal firefox '<afile>:p'") | quit + +" libreoffice +function LOOpen() + split + exe expandcmd("terminal libreoffice %") + quit +endfunction +command! LOOpen call LOOpen() |