dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 2b9836e545a266b5666cbedb7ac1c9c672d1d97e (patch)
parent ded5b0effc48bca33a36905e44a9d58b6976cb51
Author: Alexander Karle <akarle@umass.edu>
Date:   Tue, 17 Jul 2018 22:40:36 -0400

Add 2/4 space toggle function map to vim

Diffstat:
Mvim/vimrc | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -244,4 +244,8 @@ nnoremap <C-w>t :tabnext<CR> " call fzf! nnoremap <leader>f :FZF<CR> + +" 2 space / 4 space toggle +nnoremap <leader>2 :setlocal softtabstop=2 shiftwidth=2<CR> +nnoremap <leader>4 :setlocal softtabstop=4 shiftwidth=4<CR> " }}}