diff --git a/vimplugins b/vimplugins index 2bcfad8..d119fcc 100644 --- a/vimplugins +++ b/vimplugins @@ -15,6 +15,7 @@ Plug 'junegunn/vim-easy-align' Plug 'mhinz/vim-signify' Plug 'nvie/vim-togglemouse' Plug 'tpope/vim-fugitive' +Plug 'tpope/vim-sleuth' Plug 'vimwiki/vimwiki' " IDE liek, per filetype diff --git a/vimrc b/vimrc index c90db71..d499e5c 100644 --- a/vimrc +++ b/vimrc @@ -1,6 +1,6 @@ " various settings set nobackup number nomodeline cursorline backspace=indent,eol,start -set foldmethod=marker ttymouse=xterm2 mouse= +set formatoptions+=j foldmethod=marker ttymouse=xterm2 mouse= " hidden characters set list listchars=tab:\|_,nbsp:x,trail:* " search @@ -59,8 +59,8 @@ nmap P "+P vmap p "+p vmap P "+P "move macro somewhere I won't accidentally use it -nnoremap Q q -nnoremap q +noremap Q q +noremap q "quit / save nnoremap qq :q nnoremap qf :q!