summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-08-15 08:15:01 -0400
committerLuke Smith <luke@lukesmith.xyz>2022-08-15 08:15:01 -0400
commit03bcbdb2efa8dbe0a0f7f198d58d3e3896618eb0 (patch)
treec3b38f2f89a3df95f9ca98e51cef0973ea90c5b6 /.config/nvim
parenta68f80e4f8e0dc780c7d3c75b7df09ebe4da3ac5 (diff)
parentf9b5666a5768408dbb75df0cca242cae4505c9fb (diff)
downloadeibhear-03bcbdb2efa8dbe0a0f7f198d58d3e3896618eb0.tar.gz
eibhear-03bcbdb2efa8dbe0a0f7f198d58d3e3896618eb0.tar.zst
eibhear-03bcbdb2efa8dbe0a0f7f198d58d3e3896618eb0.zip
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 73e09fc..3945dcc 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -85,10 +85,10 @@ set noshowcmd
nnoremap S :%s//g<Left><Left>
" Compile document, be it groff/LaTeX/markdown/etc.
- map <leader>c :w! \| !compiler "<c-r>%"<CR>
+ map <leader>c :w! \| !compiler %:p<CR>
" Open corresponding .pdf/.html or preview
- map <leader>p :!opout <c-r>%<CR><CR>
+ map <leader>p :!opout %:p<CR>
" Runs a script that cleans out tex build files whenever I close out of a .tex file.
autocmd VimLeave *.tex !texclear %