dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit b59ef6512914b83d6ce7f77d2fc4d6da4761228b
parent 66fd0c76295ab2f9d99b810641a404ed96d9a3f4
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Sat, 16 Oct 2021 02:36:45 -0400

Add extra shortcuts to vimrc

Diffstat:
M.vim/vimrc | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.vim/vimrc b/.vim/vimrc @@ -21,6 +21,12 @@ set showmatch " Enable Filetype Plugins/Indentation filetype plugin indent on +" Disable shortcut for ex mode +nnoremap Q <Nop> + +" Convenient shortcut for :center +nnoremap cc :center<CR> + " Longer History set history=100 @@ -96,6 +102,7 @@ noremap <C-_> :call ToggleIndentStyle()<CR> set hlsearch set ignorecase set smartcase +nnoremap \\ :noh<CR> " }}} " Folding {{{