commit de879985c9f87510f5d2b062ad4fcae7d72c9320 parent e4ba4392af16e607bbfdee67c15fe0f10b1398e0 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 7 May 2019 12:14:09 -0700 Change sent binding to F5, add back strip-whitespace bind Diffstat:
M | .vim/plugin/keybinds.vim | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.vim/plugin/keybinds.vim b/.vim/plugin/keybinds.vim @@ -39,7 +39,7 @@ nnoremap <leader>i :Ilist<space> nnoremap <leader>j :tjump / nnoremap <leader>m :make<cr> "" strip trailing whitespace -"nnoremap <leader>s :call StripTrailingWhitespace()<cr> +nnoremap <leader>s :call StripTrailingWhitespace()<cr> "" go to last used buffer nnoremap <leader><tab> :b#<cr> @@ -131,8 +131,8 @@ nnoremap <silent> [c :cprevious<cr> " <C-x>s: spelling suggestions " show as presentation in sent -nnoremap <leader>S :w!<cr>:!sent <c-r>%<cr><cr> +nnoremap <silent><F5> :w!<cr>:!sent <c-r>%<cr><cr> " save current session " (open with `vim -S <sessionname>.vim` or :source <sessionname> -nnoremap <leader>s :mksession! <c-r>%.session.vim +nnoremap <leader>S :mksession! <c-r>%.session.vim