summaryrefslogtreecommitdiff
path: root/.config/nvim/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/config')
-rw-r--r--.config/nvim/config/config.vim8
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()