summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2021-09-21 15:11:55 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2021-09-21 15:11:55 -0500
commit1b80e549d1b1931b7a2e87f62f4693b7aab2245e (patch)
tree9934eb1dbcb61cdd930303f187cc74ea36036b2e /nvim
parent7cc70e33261d49722b41c6090ec77e8334ec1d82 (diff)
downloaddotconfig-1b80e549d1b1931b7a2e87f62f4693b7aab2245e.tar.xz
dotconfig-1b80e549d1b1931b7a2e87f62f4693b7aab2245e.zip
change sudo to doas
Diffstat (limited to 'nvim')
-rwxr-xr-xnvim/init.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 45f157b..73fea05 100755
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -108,7 +108,7 @@ autocmd BufWritePre * call DelWS()
" Perform dot commands over visual blocks:
vnoremap . :normal .<CR>
" Save file as sudo on files that require root permission
- cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' <bar> edit!
+ cnoremap w!! execute 'silent! write !doas tee % >/dev/null' <bar> edit!
" Plugin options
" closetag