commit e5ee58a717143ba40f5e2f6945759eba78a698fc
parent 5c246e2ca6d4dbba2846023c2f6faa99573a717b
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date: Sun, 30 Jan 2022 18:57:14 +0100
Add vim shortcut for bash shebang
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
@@ -195,6 +195,7 @@ set laststatus=2 " activate status line
nnoremap <Leader>ts :-1read $XDG_CONFIG_HOME/nvim/templates/shebang.sh<CR>:w<CR>:e<CR>
nnoremap <Leader>tp :-1read $XDG_CONFIG_HOME/nvim/templates/shebang.py<CR>:w<CR>:e<CR>
+nnoremap <Leader>tb :-1read $XDG_CONFIG_HOME/nvim/templates/shebang.bash<CR>:w<CR>:e<CR>
nnoremap <Leader>tw :lua telescope_vimwiki_categories_picker()<CR>
" /templates }}}
diff --git a/.config/nvim/templates/shebang.bash b/.config/nvim/templates/shebang.bash
@@ -0,0 +1 @@
+#!/usr/bin/env bash