about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2023-04-02 10:52:59 -0500
committerStarfall <us@starfall.systems>2023-04-02 10:52:59 -0500
commit4ffb3997138400a6efe3827f5895b1295655ac36 (patch)
tree40059417a98213b2816119e745d2682ca17fa77f
parentaa6545e7bf59e93a0f36491bbf0e16f7625ced59 (diff)
vim: think about but don't add directory creation alias
-rw-r--r--.vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vim/vimrc b/.vim/vimrc
index e93f96e..869188a 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -70,6 +70,9 @@ nnoremap =j :%!python -m json.tool<CR>
 " sudo write with w!! <https://stackoverflow.com/a/48237738>
 cnoremap w!! execute 'silent! write !sudo /usr/bin/tee % >/dev/null' <bar> edit!
 
+" write directory
+" nnoremap <leader>d :!mkdir -p %:h<CR>
+
 " windows settings
 if has('win64') || has('win32unix')
 	" yank to system clipboard