commit eab6f78b9771e437322b2c20de6b1a13b0eaf0f6
parent b2d46c4a3db4b73daa5958f3c2f5590cfdb60be3
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date:   Wed,  2 Feb 2022 21:17:59 +0100

Fix vim config errors introduced by <cmd> maps

Diffstat:
M.config/nvim/ftplugin/vimwiki.vim | 2+-
M.config/nvim/init.vim | 2+-
M.config/zsh/aliases | 1+
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.config/nvim/ftplugin/vimwiki.vim b/.config/nvim/ftplugin/vimwiki.vim @@ -2,5 +2,5 @@ nnoremap <buffer> <Leader>wha <Cmd>VimwikiAll2HTML<CR> augroup ftplugin_vimwiki autocmd! - autocmd BufWritePost <buffer> silent <Cmd>Vimwiki2HTML + autocmd BufWritePost <buffer> silent :Vimwiki2HTML augroup END diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -103,7 +103,7 @@ noremap <silent> <C-Right> <Cmd>vertical resize -3<CR> nnoremap U <C-r> " search and replace all -nnoremap S <Cmd>%s//g<Left><Left> +nnoremap S :%s//g<Left><Left> " edit/reload config file nnoremap <silent> <Leader>v <Cmd>e $MYVIMRC<CR> diff --git a/.config/zsh/aliases b/.config/zsh/aliases @@ -53,6 +53,7 @@ alias cfh="$EDITOR $XDG_CONFIG_HOME/zsh/host-$(hostname -s)" alias db="cd $HOME/.local/bin && ls" alias dc="cd $HOME/Documents && ls" alias ds="cd $HOME/.local/src && ls" +alias dv="cd $XDG_CONFIG_HOME/nvim && ls" alias dw="cd $HOME/Downloads && ls" # dotfiles' repository metafiles